Description
Mathjax enables enables rendering of embedded latex or mathml in HTML pages. This plugin adds this functionality to wordpress. The mathjax javascript is inject ondemand only to those pages which require it. This ensures that mathjax is not loaded for all pages, which will otherwise slow loading down.
The MathJax javascript can be delivered from your own server, or you can use the [CloudFlare Content Distribution Network (CDN)] (https://www.mathjax.org/cdnshuttingdown/), which is the preferred mechanism as it offers increased speed and stability over hosting the Javascript and configuring the library yourself.
You may embed latex using a variety of different syntaxes. The shortcode (https://codex.wordpress.org/Shortcode_API) syntax is preferred. So [latex]E=mc^2[/latex] will work out of the box. This also forces loading of mathjax.
Additionally, you can use native mathjax syntax — $$E=mc^2$$ or (E=mc^2). However, if this is the only syntax used, the plugin must be explicitly told to load mathjax for the current page. This can be achieved by adding a [mathjax] shortcode anywhere in the post. For posts with both [latex]x[/latex] and $$x$$ syntaxes this is unnecessary.
You can use wplatex syntax, $latex E=mc^2$. Parameters can be specified as with wplatex but will be ignored. This means that mathjaxlatex should be a drop in replacement for wplatex. Because this conflicts with wplatex, this behaviour is blocked when wplatex is present, and must be explicitly enabled in the settings.
You can also specify [nomathjax] — this will block mathjax on the current page, regardless of other tags.
MathJaxLaTeX is developed on GitHub.
Copyright
This plugin is copyright Phillip Lord, Newcastle University and is licensed under GPLv2.
Installation
 Unzip the downloaded .zip archive to the
/wpcontent/plugins/
directory  Activate the plugin through the ‘Plugins’ menu in WordPress
FAQ
 Installation Instructions

 Unzip the downloaded .zip archive to the
/wpcontent/plugins/
directory  Activate the plugin through the ‘Plugins’ menu in WordPress
 Unzip the downloaded .zip archive to the
Reviews
Easy to use.
Thanks for your work.
By the way, could you please add the inlineMath config?
Or I have to add
<script type="text/xmathjaxconfig">
MathJax.Hub.Config({
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
</script>
in header.php to support the inlineMath.
Great plugin
I really like the fact that it only injected code when needed.
It seems I cannot put two [latex] equations on one page. I ended up use one [latex] and one $$ code.
Just Works (TM)
I am not a heavy LaTeX user but I do write about mathematics every now and then, and I find MathJax extremely useful. I have been using it for the last 2 or 3 years – no issues whatsoever. It simply works, both on PC an on mobile. The biggest selling point to me is that it allows for selecting & copying math expressions as text (as opposite to other LaTeX plugins that convert expressions to png). This makes things scalable, performant etc. Good work!
Great that it's only injected on pages that use it
Up to now I’ve been using the Simple Mathjax plugin, which also works well, but is not able to inject the mathjax dependency selectively.
On my sites I have math only on a very few pages, and MathJaxLaTeX enables me to enable mathjax only on those pages by just adding the [mathjax] shortcode somewhere.
Importantly, remember to disable Jetpack Beautiful Math, else it can interfere with MathJaxLaTeX. (at the time of writing, Jetpack is still turning math into bitmaps, which is not nearly as beautiful as MathJax on capable browsers).
See https://vxlabs.com/2014/06/16/levelsetsthepractical10minuteintroduction/ for an example.
Great Plugin
Using the MathJaxLaTeX plugin makes math real simple and beautiful on my site. There may be some tiny “bugs” from time to time, but nothing I could not fix by looking at the docs.mathjax.org.
Using math on your blog never was simpler!
CODING
Hi i have a Sensei Woothemes wp plugin that create online courses, and the problem is that it doesn’t recognize the latex code to display the maths formulas so it should be modified(code should be integrated to its core files). can annyone help me figure out this thing i am willing to pay 100$ by paypal to the one who figure it out. this is my email : kmehdi@iastate.edu feel free to contact me
Thanks,
Contributors & Developers
“MathJaxLaTeX” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “MathJaxLaTeX” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.3.8
 Code style changes, per PHPCS 3.1.1 and WPCS 0.14
1.3.7
 Update MathJax to 2.7.2
1.3.6
 Update location of MathJax CDN
1.3.5
 Add support for MathJax config via filter
1.3.4
 PHP code cleanup
 Always use https URL for MathJax library
 Updated “tested up to” to 4.3
1.3.3
 Fixed inconsistent version numbers between readme and php file
1.3.2
 Further code clean ups.
1.3.1
 Accessibility Improvements for Admin page
 VIP Coding Standards
 MathML tags enabled in TinyMCE
All code for this release was submitted by users of
this plugin! Thanks to Jared Wenerd and Paul Schreiber.
1.3.0
 Whitelist MathML tags and attributes.
 Sanitization of input and escaping of output.
1.2.1
 Bug fix: custom location was not correctly applied.
 Bug fix: force load was not correctly applied.
1.2
 Admin page was open to attack from third party sites which user was logged
in as admin.  The admin page has been isolated and rewritten.
 All the options have been renamed, which will, unfortunately mean
reconfiguring the plugin. In particular, wplatex syntax is switched off by
default.
1.1
 Documentation update
 Update testwith documentation for WordPress 3.5.1
 Tested against MathJax2.1
1.0
 Compatibility with MathJax 1.1. Load a default configuration from the MathJax distribution.
 Use the MathJax Content Distribution Network to deliver the javascript library. Offers improved performance and stability.
0.2
 MathJax.js can be loaded form a configurable URL. Defaults to $PLUGIN/MathJax/MathJax.js