# MathJax Tutorial

MathJax is a JavaScript library that allows you to use basic $\LaTeX$ syntax. The formulas can be used in all text fields. To do this, the expression must be marked with dollar signs ($\$$Expression$\$$).

## Fractons

A fraction is generated by the expression \frac{numerator}{denominator}. Instead of numbers, terms can also be used here.

- $\$$\frac{1}{2}$\$$ becomes $\frac{1}{2}$.
- $\$$\frac{1 + 1}{2} = \frac{2}{2} = 1$\$$ becomes $\frac{1 + 1}{2} = \frac{2}{2} = 1$.

## Greek Letters

All letters of the Greek alphabet can be used.

- $\$$\alpha$\$$ becomes $\alpha$.
- $\$$\pi$\$$ becomes $ \pi$.

You can also use the capital letter (for example, \Pi becomes $\Pi$).

## Terms and Operators

The usual arithmetic operators $ + $, $ – $, $ \cdot $, $: $ can be used as usual. The exception is $\cdot$ (\cdot).

## Roots and Exponents

A root expression can be generated by \sqrt{number}.

- $\$$\sqrt{2}$\$$ becomes $\sqrt{2}$

To specify an exponent you can use {base}^{exponent}. Base and exponent can also be fractions or any other terms.

- $\$${2}^{5} = 32$\$$ becomes ${2}^{5} = 32$.

A further listing of latex symbols can be found here.