If you're studying or teaching math, you will probably need to enter mathematics expressions in chats and the lesson space. To make this easier, we support LaTeX, a way of writing mathematics terms and equations with ordinary text.

## Using LaTeX in the lesson space (text editor):

Click the 'LaTeX' button and enter the text (no need for double-dollars signs):

## Using LaTeX in chat:

In a chat with a tutor/student, put the symbols and equations you want to use between two sets of double-dollar signs, like this:

## $$ x + y = z $$

#### Greek letters and other special characters are written with "commands" (a word preceded with a backslash):

$$ \alpha, \beta, \gamma, \omega, \pi $$

#### Functions are written similarly:

$$ \log(n), \cos(x), \tan(y) $$

#### Powers and indices are written with caret and underscore, with the value in braces:

$$ n^{2}, n_{4} $$

#### Fractions are written with a the "frac" command and the numerator and denominator in braces:

$$ \frac{x}{y + 1} $$

#### Roots are written similarly:

$$ \sqrt{x + y} $$

#### Some examples with the above notation used in combination:

$$ \cos(2\omega) = \cos^{2}\omega - \sin^{2}\omega $$

$$ \sum_{i=1}^{10} t_i $$

$$ \int_0^\infty \mathrm{e}^{-x},\mathrm{d}x $$

#### More Resources:

LaTeX/Mathematics on Wikibooks

Online LaTeX editor

LaTeX Reference PDF