# MathJax

MathJax is a JavaScript display engine for TeX, LaTeX, AsciiMath and MathMl notation which allows mathematics and science equations to be displayed in Mahara pages.

MathJax allows the display of equations throughout your Mahara installation.

## MathJax URL

The default configuration uses the latest stable version on the MathJax Content Distribution Network (CDN). http and https protocols may be used as appropriate.

Alternatively, $cfg->mathjaxpath may use a local server installation of MathJax. See the documentation for more information.

The default includes a commonly used configuration allowing input of MathML, AsciiMath, TeX or LaTeX and processing to MathML or HTML-CSS.

## Additional configuration of MathJax

Additional MathJax configuration can be added to $cfg->mathjaxconfig. The default MathJax configuration should be appropriate for most people, but MathJax is highly configurable and any of the standard MathJax configuration options can be added here.

By default, the mhchem extension which adds the \ce macro for chemical formulae is included. See the documentation for more information.