Help and Support (Staff)

This is one of many help and support pages that are available about the University of Nottingham's Moodle online learning environment. If you have any questions or queries concerning Moodle then contact information is at the bottom of this one-page sheet. Please browse or use the SEARCH box below.

Go to Moodle

Skip to end of metadata
Go to start of metadata


Making use of MathJax in Moodle

MathJax is an open-source Javascript display engine for LaTeX and other formats that can represent mathematical notation. The University of Nottingham currently has the MaxJax filter installed in our Moodle VLE to enable mathematical notation to be displayed within module pages.  

MathJax can be used to display mathematical notation within Moodle by using the text editor. This is particularly useful for:

  • Adding mathematical notation to Moodle quiz question;
  • Adding mathematical notation in a Moodle label;
  • Adding mathematical notation in a Moodle book resource.

How to use MathJax in Moodle

The following example will show how to add an equation in a Moodle label. However, the principle remains the same for quizzes and other resources. If you are able to use the text editor within Moodle then you will be able to add mathematical notation via the equation editor.  

1)    Within your Moodle site click on the Filters link which can be found within the Administration block on the left hand side.


2)    A new page will load, ensure that the Active? Column for MathJax is set to Default (On). Then press either Save changes or Back to Module.

You will only need to do steps 1 and 2 once for each module. If the MathJax filter is turned on then it will display mathematical notation. 

3)    You will be sent back to your Moodle page. Press the Turn editing on button.

Then press the Add an activity or resource link in the area you wish to add your content. 

4)    You will be taken into the settings of a label. Within the text editor you can write some text but when you come to write a mathematical equation click on the top-left button to reveal a second row of buttons. Within the second row click on the equation editor button. 

5)    The equation editor will launch. This editor is split into 3 sections. 

The top section provides you with a list of characters separated by tabs to assist in writing mathematical notation. 

The middle section is where you can build your equation by entering TeX syntax. For example:

More information about basic TeX commands can be found here by clicking this link. Below are some simple examples: 

Capital Greek letter e.g.\Delta = Δ 

Lower case Greek letter e.g. \alpha = α

Superscript (on keyboard as Shift/6) is ^ e.g. x^2 gives x2

Subscript (on keyboard as Shift/-) is _ e.g. x_7 gives x7

Fraction is \frac e.g. \frac {1} {2} will give a half


The final section is the Equation preview. If you have written your equation correctly then you will see it displayed how it will look like in Moodle. If it looks incorrect then the equation will not display correctly and you will need to amend it. 

It is important to use the equation editor when composing your equations instead of writing directly into the text editor itself. This is because the text editor enables any rendering problems to be highlighted in the preview window. 


6)    If you are happy with how your equation looks press Save equation. You will be taken back to the text editor and will see your Tex notation. 

If you wanted to you could then add another equation within the same text box using the same previous steps. 

Once you are happy with your equation press Save and return to module you will see your equation displayed in mathematical notation within Moodle. 

Finally you should see your equation displayed in Moodle.