How to Add Math Equations in MasterStudy?

MasterStudy LMS has built-in support to add math equations, formulas using LaTeX system.

What is LaTeX?

LaTeX is a document preparation system used for the communication and publication of scientific documents. It is widely used in academia for the communication and publication of scientific documents and technical note-taking in many fields, owing partially to its support for complex mathematical notation. It also has a prominent role in the preparation and publication of books and articles that contain complex multilingual materials, such as Arabic and Greek. LaTeX uses the TeX typesetting program for formatting its output, and is itself written in the TeX macro language.

Source: https://en.wikipedia.org/wiki/LaTeX

To use the functionality, a free MathJax-Latex plugin should be installed and configured accordingly.

Install and Configure MathJax-Latex

1

Search for the MathJax-Latex by following WP Dashboard > Plugins > Add New and Activate it:

2

After the plugin activation, follow WP Dashboard > Settings > MathJax-Latex and check the Force Load option, and Save Changes:

Example Usage in Course Builder

LaTeX written math equations and formulas can be used in the Lesson contents, and both the Question and Answers part of the Quizzes. There is only one rule to follow:

Before and after the LaTeX syntax code, $$ symbols should be added in the Course Builder.

Correct LaTeX Syntax for Course Builder
Display on the Course Player

$$[ x^n + y^n = z^n]$$

[xn+yn=zn][ x^n + y^n = z^n ]

$$\lim_{a \rightarrow b} \frac{x}{y}$$

limabxy\lim_{a \rightarrow b} \frac{x}{y}

Here is the example usage in the Quiz:

Last updated

Was this helpful?