Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This refers to Moodle 4.3 from August 2024 onwards.

Excerpt
hiddentrue

If you need to display complex equations in an activity or elsewhere in your module use the equation editor to help you. Here's how to use it using basic MathJax syntax.

Training_Page_Footer
Include Page
Training_Page_Header
Training_Page_Header
Include Page
How to write complex questions using MathJax (pure)How to write complex questions using MathJax (pure)
Include Page
Training_Page_Footer
 

How to: Write scientific equations using MathJax and LaTeX

There is an equation editor in the expanded formatting toolbar in every description, summary related text-box e.g. Labels, Quiz questions, Page etc.  To use the editor you need to be able to write code using either MathJax (preferable) or LaTeX.  there are lots of websites out there to help you, especially with complex equations.  Here is a basic guide to getting started with the equation editor using MathJax.

Accessing the equation editor

1. Navigate to your course and click on the 'Edit mode' slider to enable editing.

Edit mode slider with edit enabledImage Added

2. In the section where you want to create your web page click on the Add an activity or resource hyperlink. 

Image Added

3. Select the activity or resource type that you want to add an equation to e.g. a 'Page'.

4. Once you have selected an activity or resource a new page will open where you can fill in the settings, However in the text box you want to add the equation, expand the text editor toolbar by clicking on the 'Show more buttons' icon.

'Show more buttons' iconImage Added

5. Click on the 'Equation editor' icon.

Equation editor buttonImage Added

6. The 'Equation editor' window will open. Type in your equation and use the characters in the window. When you are done, select 'Save equation'

Equation Editor pop up windowImage Added

7. Click on the 'Save and return to module' or 'Save and display' buttons to view the page you have created.

Image Added

8. When you have finished, click on the 'Edit mode' slider which is on the top-right corner of your Moodle page to disable editing.