Extension:SimpleMathJax

The SimpleMathJax extension enables MathJax, a Javascript library, for typesetting TeX formula in MediaWiki inside math environments.

This extension will load resources from mathjax.org on all wiki pages. Since April 30, 2017, cdn.mathjax.org is shutting down proposing alternatives like cdnjs.cloudflare.com for loading resources with a fixed version (see external links). Please change version number accordingly in Configuration settings.


 * Advantages
 * Simple
 * Lightweight
 * UTF-8 Support
 * Mobile View OK
 * Setting Font Size
 * chem tag support for chemistry
 * additional inlineMath symbols pairs support
 * MediaWiki Style! Look at the samples.

Installation
Or you can git clone.

If you want to use not CDN but local mathjax scripts, you can use git clone recursive. ( MathJax is pretty heavy. )

SimpleMathJax is meant to be used as an alternative to the Math extension.

If the Math extension is installed it may take precedence and cause SimpleMathJax to not work.

The SimpleMathJax extension is the only thing you need to start rendering equations.

Configuration settings
The following variables can be defined in LocalSettings.php after calling. Note that for a simple site adding  might be all you need to make it Just Work™.

If you want to change font size, set $wgSimpleMathJaxSize like below.

If you want to use local module, set $wgSimpleMathJaxUseCDN like below.

If you want to enable some additional inlineMath symbol pairs, set $wgSimpleMathJaxInlineMath like below. For the latest version (0.6.1) use the following code instead:

Samples

 * Comparison
 * en:user:Jmkim dot com/TeX Samples (rendering with wikipedia math engines, English)
 * ko:user:Jmkim dot com/TeX 샘플 (rendering with wikipedia math engines, Korean)
 * http://zetawiki.com/wiki/TeX_샘플 (rendering with SimpleMathJax)


 * More examples
 * http://zetawiki.com/wiki/TeX_문법 (Grammar)
 * http://zetawiki.com/wiki/TeX_행렬 (Matrix)
 * http://zetawiki.com/wiki/TeX_특수문자 (Special Characters)
 * http://zetawiki.com/wiki/Mhchem_테스트 (chem tags)