This refers to Moodle 4.3 from August 2024 onwards.
Moodle Help & Support
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.
2. In the section where you want to create your web page click on the Add an activity or resource hyperlink.
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.
5. Click on the 'Equation editor' icon.
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'
7. Click on the 'Save and return to module' or 'Save and display' buttons to view the page you have created.
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.