It's possible to write mathematics in several ways:

TeX

MathML

ASCIIMathML

We will go over them one-by-one.

**Are you not familiar with any of these languages? **Don't worry, you can use our formula editor to input mathematics using our on-screen keyboard, and it will give you the code to input in a theory page automatically. To find our formula editor, click on the x² icon when editing a theory page, then select* formula editor*.

## TeX

The most common way to input mathematics is using LaTeX. For example, inputting

#\frac{9}{6}+\frac{1}{2}#

gives:

Remember to put your code in between #'s for formatting purposes.

For a guide to writing mathematics with LaTeX, click here.

**MathML**

MathML is inputted in the source code of a theory page. You can access the source code by clicking on the </> button in the toolbar above.

For example, inputting

<math xmlns="http://www.w3.org/1998/Math/MathML">

<mstyle displaystyle="true" scriptlevel="0">

<mrow>

<mfrac>

<mn>9</mn>

<mn>6</mn>

</mfrac>

<mo>+</mo>

<mfrac>

<mn>1</mn>

<mn>2</mn>

</mfrac>

</mrow>

</mstyle>

</math>

gives:

For a guide to writing mathematics with MathML, click here.

**ASCIIMathML**

MathML is inputted in the source code of a theory page. You can access the source code by clicking on the </> button in the toolbar above.

For example, inputting

@(9/6) + (1/2)@

gives:

For a guide to writing mathematics with MathML, click here.