Title: MathJax-LaTeX
Author: knowledgeblog
Published: <strong>Oktober 20, 2010</strong>
Last modified: Januarie 14, 2025

---

Soek deur uitbreidings

![](https://s.w.org/plugins/geopattern-icon/mathjax-latex.svg)

# MathJax-LaTeX

 Deur [knowledgeblog](https://profiles.wordpress.org/knowledgeblog/)

[Laai Af](https://downloads.wordpress.org/plugin/mathjax-latex.1.3.13.zip)

 * [Besonderhede](https://af.wordpress.org/plugins/mathjax-latex/#description)
 * [Aanbevelings](https://af.wordpress.org/plugins/mathjax-latex/#reviews)
 *  [Installation](https://af.wordpress.org/plugins/mathjax-latex/#installation)
 * [Ontwikkeling](https://af.wordpress.org/plugins/mathjax-latex/#developers)

 [Hulp](https://wordpress.org/support/plugin/mathjax-latex/)

## Beskrywing

MathJax enables enables rendering of embedded LaTeX or MathML in HTML pages. This
plugin adds this functionality to WordPress. The MathJax JavaScript is inject on-
demand 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), 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 wp-latex syntax, `$latex E=mc^2$`. Parameters can be specified as with
wp-latex but will be ignored. This means that MathJax-LaTeX should be a drop-in 
replacement for wp-latex. Because this conflicts with wp-latex, this behaviour is
blocked when wp-latex 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.

MathJax-LaTeX is developed on [GitHub](https://github.com/phillord/mathjax-latex).

### Copyright

This plugin is copyright Phillip Lord, Newcastle University and is licensed under
GPLv2.

## Installation

 1. Unzip the downloaded .zip archive to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Aanbevelings

![](https://secure.gravatar.com/avatar/2c3a56d6d2af0ed227b7dac757819b85f9c218d9e8558b9d03a999f3d4ee3899?
s=60&d=retro&r=g)

### 󠀁[It does not work](https://wordpress.org/support/topic/it-does-not-work-150/)󠁿

 [yecarri](https://profiles.wordpress.org/yecarri/) November 2, 2025

My wordpress version is 6.7.2. I just added a simple equation, it is not displayed
at all.

![](https://secure.gravatar.com/avatar/5cbc4545e5b0487b27eca43c65c7bcd792a69688b9d08626fa258cc024be6e0e?
s=60&d=retro&r=g)

### 󠀁[Good Plugin Saved Me](https://wordpress.org/support/topic/good-plugin-saved-me/)󠁿

 [zulqadar](https://profiles.wordpress.org/zulqadar/) Junie 20, 2025

This plugin is working fine in 2025. Just write your equation in $$equation$$. That’s
all.

![](https://secure.gravatar.com/avatar/18e4acf5db2cc79bf8c8b2645591485aab4e6e32543597e106ff80bfc83ad160?
s=60&d=retro&r=g)

### 󠀁[enables enables](https://wordpress.org/support/topic/enables-enables/)󠁿

 [samenezes](https://profiles.wordpress.org/samenezes/) Oktober 6, 2020

There is a mistake on the beginning of this product descriotion: There, we see: “
enables enables”

![](https://secure.gravatar.com/avatar/04776b537e906560d498842276a75a8dd5ae3bb81e802d403ffa235fba028a5a?
s=60&d=retro&r=g)

### 󠀁[Great! But there are still some bugs.](https://wordpress.org/support/topic/great-but-there-are-still-some-bugs/)󠁿

 [Ethan2013](https://profiles.wordpress.org/ethan2013/) Februarie 12, 2018 1 reply

I think it’s a very great plugin because we, as a physics lover, are so difficult
to type latex equations in any blog. I like wordpress but its WP-latex is not good
enough. I found that MathJax won’t work well when the equation is too many “A_{1}
^{2}”, “\text{1233}” or something like that. For example, $$\large\sum_{i=1}^n\vec{
F}_{\text{ext, i}}=\sum_{i=1}^n$$ This equation won’t show LaTeX correctly. However,
if I delete =\sum_{i=1}^n, then everything is fine. $$\large\sum_{i=1}^n\vec{F}_{\
text{ext, i}}$$ I really need your help. I love this plugin so much because it enables
me to write a physics blog. Thank you so much. You can see this two pictures : https://
imgur.com/Myse5vr https://imgur.com/a/IxXI7

![](https://secure.gravatar.com/avatar/edda5a7b99a6299edf4d60925655c18a52c8d508b42435464d09fe11b2cf9dcb?
s=60&d=retro&r=g)

### 󠀁[Easy to use.](https://wordpress.org/support/topic/easy-to-use-1737/)󠁿

 [Find Hao](https://profiles.wordpress.org/findblog/) Desember 10, 2017

Thanks for your work. By the way, could you please add the inlineMath config? Or
I have to add <script type="text/x-mathjax-config"> MathJax.Hub.Config({ tex2jax:{
inlineMath: [['$','$'], ['\\(','\\)']]} }); </script> in header.php to support the
inlineMath.

![](https://secure.gravatar.com/avatar/80fa5fb34a67d2a9cddf7362aaa898dc3bd7e72c600263916eaf7d8eb58c1d97?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-15097/)󠁿

 [liuyiwp](https://profiles.wordpress.org/liuyiwp/) September 8, 2017

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.

 [ Read all 11 reviews ](https://wordpress.org/support/plugin/mathjax-latex/reviews/)

## Contributors & Developers

“MathJax-LaTeX” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling
van hierdie uitbreiding:

Contributors

 *   [ knowledgeblog ](https://profiles.wordpress.org/knowledgeblog/)
 *   [ philliplord ](https://profiles.wordpress.org/philliplord/)
 *   [ sjcockell ](https://profiles.wordpress.org/sjcockell/)
 *   [ d_swan ](https://profiles.wordpress.org/d_swan/)
 *   [ Paul Schreiber ](https://profiles.wordpress.org/paulschreiber/)
 *   [ Jared Wenerd ](https://profiles.wordpress.org/jwenerd/)

[Translate “MathJax-LaTeX” into your language.](https://translate.wordpress.org/projects/wp-plugins/mathjax-latex)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/mathjax-latex/), check
out the [SVN repository](https://plugins.svn.wordpress.org/mathjax-latex/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/mathjax-latex/) 
by [RSS](https://plugins.trac.wordpress.org/log/mathjax-latex/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3.13

 1. PHP code style fixes

#### 1.3.12

 1. Use version 2.7.9 of MathJax JS
 2. Add code comments to all variables, functions and parameters.

#### 1.3.11

 1. Use version 2.7.5 of MathJax JS

#### 1.3.10

 1. Rename class files, per PHPCS
 2. Gracefully handle null values in filter_br_tags_on_math. Thanks to Yang Liu.

#### 1.3.9

 1. Code style changes, per PHPCS 3.3.0 and WPCS 0.14.1
 2. Use PHP 7 short array syntax

#### 1.3.8

 1. Code style changes, per PHPCS 3.1.1 and WPCS 0.14

#### 1.3.7

 1. Update MathJax to 2.7.2

#### 1.3.6

 1. Update location of MathJax CDN

#### 1.3.5

 1. Add support for MathJax config via filter

#### 1.3.4

 1. PHP code cleanup
 2. Always use https URL for MathJax library
 3. Updated “tested up to” to 4.3

#### 1.3.3

 1. Fixed inconsistent version numbers between readme and php file

#### 1.3.2

 1. Further code clean ups.

#### 1.3.1

 1. Accessibility Improvements for Admin page
 2. VIP Coding Standards
 3. 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

 1. Whitelist MathML tags and attributes.
 2. Sanitization of input and escaping of output.

#### 1.2.1

 1. Bug fix: custom location was not correctly applied.
 2. Bug fix: force load was not correctly applied.

#### 1.2

 1. Admin page was open to attack from third party sites which user was logged
     in 
    as admin.
 2. The admin page has been isolated and rewritten.
 3. All the options have been renamed, which will, unfortunately mean
     reconfiguring
    the plugin. In particular, wp-latex syntax is switched off by default.

#### 1.1

 1. Documentation update
 2. Update test-with documentation for WordPress 3.5.1
 3. Tested against MathJax2.1

#### 1.0

 1. Compatibility with MathJax 1.1. Load a default configuration from the MathJax distribution.
 2. Use the MathJax Content Distribution Network to deliver the javascript library.
    Offers improved performance and stability.

#### 0.2

 1. MathJax.js can be loaded form a configurable URL. Defaults to $PLUGIN/MathJax/MathJax.
    js

## Meta

 *  Version **1.3.13**
 *  Last updated **1 jaar gelede**
 *  Active installations **10 000+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **6.7.5**
 *  PHP version ** 7.0.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/mathjax-latex/)
 * Tags
 * [latex](https://af.wordpress.org/plugins/tags/latex/)[mathematics](https://af.wordpress.org/plugins/tags/mathematics/)
   [MathJaX](https://af.wordpress.org/plugins/tags/mathjax/)[mathml](https://af.wordpress.org/plugins/tags/mathml/)
   [science](https://af.wordpress.org/plugins/tags/science/)
 *  [Gevorderde Aansig](https://af.wordpress.org/plugins/mathjax-latex/advanced/)

## Punte-toekennings

 4.4 out of 5 stars.

 *  [  9 5-star reviews     ](https://wordpress.org/support/plugin/mathjax-latex/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/mathjax-latex/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/mathjax-latex/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/mathjax-latex/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/mathjax-latex/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mathjax-latex/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/mathjax-latex/reviews/)

## Contributors

 *   [ knowledgeblog ](https://profiles.wordpress.org/knowledgeblog/)
 *   [ philliplord ](https://profiles.wordpress.org/philliplord/)
 *   [ sjcockell ](https://profiles.wordpress.org/sjcockell/)
 *   [ d_swan ](https://profiles.wordpress.org/d_swan/)
 *   [ Paul Schreiber ](https://profiles.wordpress.org/paulschreiber/)
 *   [ Jared Wenerd ](https://profiles.wordpress.org/jwenerd/)

## Hulp

Got something to say? Need help?

 [Gaan na die hulp-forum](https://wordpress.org/support/plugin/mathjax-latex/)