Skip to main content

📐Writing mathematical formulas in MLS

This is how it works with the TeX editor!

Carsten Rhinow avatar
Written by Carsten Rhinow
Updated over 2 months ago

If you want to insert mathematical formulae into MLS - e.g. fractions, roots or equations - then you need TeX. But don't worry: this sounds more complicated than it is. MLS provides you with a TeX editor for this purpose. You can use it to easily insert and display formulas.

✍️ How it works in MLS

  • Open the TeX editor:

    If you want to insert a mathematical formula in a learning content, click on the formula symbol (f (x)). This will open the TeX input editor.

  • Enter formula:

    Enter your formula in TeX code. For example:

  • Fraction: \frac{a}{b}

  • Root: \sqrt{2}

  • Superscripts: x^2

  • Low numbers: H_2O

  • Equation: E = mc^2

    Via the link f(x) KaTex Synthax you will find all possible input options. A new tab will open in your browser:

  • Paste:

    Enter the text formula and confirm with the green tick ✔️

    And it will be displayed in the content!

    💡 Extra tip for you!

    If you want to create formulas even more easily, use this free online tool:

    There you can create your TeX code directly and then copy it into the text editor!

📚 Still some useful TeX examples:

What you need

TeX-Code

result

Fraction

\frac{3}{4}

¾

Root

\sqrt{16}

√16

Superscript

x^3

Subscript index

CO_2

CO₂

Equation with =

a^2 + b^2 = c^2

a² + b² = c²

Did this answer your question?