Tex notation allows you to represent mathematical symbols using either the Tex or MathJax filters in Totara Learn.
Using TeX notation
Below are some of the basic functions you may wish to use when entering equations.
Notation | Function | Notes | Example |
---|---|---|---|
$$ | Using $$ at the start and end will identify a TeX sequence that will appear centred on it's own line. | You can add backslashes (\) to add spaces (see example). | $$ 4\ \times \ 4 \ = \ 16 $$ |
\[ | With LaTeX you can use \[ to open and \] to close a sequence that will appear centred on it's own line. | This is better at checking for errors than just using $$. | \[ 4\ \times \ 4 \ = \ 16 \] |
\( | With LaTeX you can use \( to open and \) to close a sequence that will appear inline with text. | - | A simple equation could be, \( 4\ \times \ 4 \ = \ 16 \) for example. |
^ | Using a caret allows you to insert a superscript character. | - | \[ 6^2 \times \ 7^4 \ = \ 336 \] |
_ | An underscore allows you to insert a subscript character. | - | \[ 5x_3 \times \ 3x_2 \] |
\sqrt{number} | It is possible to insert a square root notation using the sequence \sqrt{number}. | - | \[ \sqrt{36}\] |
\frac{numerator}{denominator} | You can represent a fraction by using \frac{numerator}{denominator}. | - | \[ \frac{5}{10} \times \frac{7}{9}\] |
{ | Curly brackets can also be used to nest other functions within an equation. | - | \[ \frac{4^{3}}{20} \] |
\ldots | Ellipsis can be entered using \ldots. | - | \[ x_1, x_2,\ldots \ x_5 \] |
Symbols
Notation | Symbol |
---|---|
\amalg | |
\ast | |
\bigcirc | |
\bigtriangledown | |
\bigtriangleup | |
\circ | |
\leq | |
\succ | |
\succeq | |
\gg | |
\supset | |
\neq | |
\vdash | |
\cup | |
\dagger | |
\ddagger | |
\diamond | |
\div | |
\wedge | |
\geq | |
\sim | |
\simeq | |
\asymp | |
\subseteq | |
\ni | |
\dashv | |
\oplus | |
\oslash | |
\otimes | |
\pm | |
\ominus | |
\vee | |
\equiv | |
\perp | |
\mid | |
\parallel | |
\supseteq | |
\notin | |
\bullet | |
\times | |
\triangleleft | |
\triangleright | |
\odot | |
\wr | |
\sqcup | |
\prec | |
\preceq | |
\ll | |
\subset | |
\approx | |
\in | |
\cdot |
Arrows
Notation | Arrow |
---|---|
\leftarrow | |
\longleftarrow | |
\Leftarrow | |
\Longleftarrow | |
\rightarrow | |
\longrightarrow | |
\Rightarrow | |
\Longrightarrow | |
\uparrow | |
\Uparrow | |
\downarrow | |
\Downarrow | |
\leftrightarrow | |
\longleftrightarrow | |
\updownarrow | |
\Updownarrow | |
\Leftrightarrow | |
\Longleftrightarrow | |
\leftrightharpoons | |
\Im | |
\nearrow | |
\nwarrow | |
\swarrow | |
\searrow |
Constructs and delimiters
Notation | Delimiter/construct |
---|---|
\{x | |
\} | |
\rangle | |
\langle | |
\angle | |
\= | |
\sqrt{ab} | |
\sqrt[n]{ab} | |
\frac{ab}{cd} | |
\backslash | |
\widehat{ab} | |
\$ | |
\overline{ab} | |
\underline{ab} | |
\therefore | |
\ddots | |
\% | |
\# | |
\vdots | |
\emptyset |
Greek letters
It is currently not possible to render the capital letters for Alpha, Beta, Zeta, Eta, Tau, Chi, Mu, Iota, Kappa, or Epsilon. However these can be rendered using \mathrm{ }. For example to render a capital Alpha you would enter \mathrm{A} which would render . Therefore you can still render what looks like the capitals .
Notation | Greek letter |
---|---|
\alpha | |
\beta | |
\gamma | |
\Gamma | |
\delta | |
\Delta | |
\epsilon | |
\zeta | |
\eta | |
\theta | |
\Theta | |
\vartheta | |
\iota | |
\kappa | |
\lambda | |
\Lambda | |
\mu | |
\xi | |
\Xi | |
/omicron | |
\pi | |
\Pi | |
\rho | |
\varrho | |
\sigma | |
\Sigma | |
\varsigma | |
\tau | |
\upsilon | |
\Upsilon | |
\phi | |
\Phi | |
\varphi | |
\chi | |
\psi | |
\Psi | |
\omega | |
\Omega |
Font
Front | Notation | Example |
---|---|---|
Calligraphic | $$ \mathcal{ }$$ | $$ \mathcal{Calligraphic: ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$ is presented as |
Blackboard (Castellar) | $$ \mathbb{ }$$ | $$ \mathbb{Blackboard: ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$ is presented as |
Fraktur (Old English style) | $$ \mathfrak{ }$$ | $$ \mathfrak{Fraktur: ABCDEFGHIJKLMNOPQRSTUVWXYZ}$$ is presented as |
Italic | $$ \mathit{ } $$ | $$ \mathit{Italic: ABCDEFGHIJKLMNOPQRSTUVWXYZ} $$ is presented as |
Roman | $$ \mathrm{ } $$ | $$ \mathrm{Roman: ABCDEFGHIJKLMNOPQRSTUVWXYZ} $$ is presented as |
Bold-face | $$ \mathbf{ } $$ | $$ \mathbf{Bold-faced: ABCDEFGHIJKLMNOPQRSTUVWXYZ} $$ is presented as |