# MathJax Support

I’ve enabled support for something called MathJax, “a JavaScript display engine for mathematics that works in all browsers.”

On the previous version of the forums, there were times when science-minded members would try to share or explain formulae, but that’s not the easiest thing to do in a text editor. Now, all your mathematical dreams can become reality.

To use this, wrap your TeX or LaTeX formatted math in $(for inline use) or $$(for multi-line use). For example, this: When a \ne 0, there are two solutions to $$ax^2 + bx + c = 0$$ and they are:$$ x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$\$


Will result in this:

When a \ne 0, there are two solutions to (ax^2 + bx + c = 0) and they are:

x = {-b \pm \sqrt{b^2-4ac} \over 2a}.

If you’re unfamiliar with the TeX format and would like to use this feature, take a look at Moodle’s documentation here:
https://docs.moodle.org/311/en/Using_TeX_Notation

1 Like