You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin enables mathjax (http://www.mathjax.org) functionality for
11
12
WordPress (http://www.wordpress.org).
12
13
13
14
== Description ==
14
15
15
-
Mathjax enables enables rendering of embedded latex or mathml in HTML pages.
16
-
This plugin adds this functionality to wordpress. The mathjax javascript is
17
-
inject on-demand only to those pages which require it. This ensures that
18
-
mathjax is not loaded for all pages, which will otherwise slow loading down.
19
-
20
-
The MathJax javascript can be delivered from your own server, or you can
21
-
utilise the [MathJax Content Distribution Network (CDN)]
22
-
(http://www.mathjax.org/docs/latest/start.html#mathjax-cdn), which is the preferred
23
-
mechanism as it offers increased speed and stability over hosting the Javascript
24
-
and configuring the library yourself. Use of the CDN is governed by these
25
-
[Terms of Service](http://www.mathjax.org/download/mathjax-cdn-terms-of-service/).
26
-
27
-
You may embed latex using a variety of different syntaxes. The shortcode
28
-
(http://codex.wordpress.org/Shortcode_API) syntax is preferred. So
29
-
[latex]E=mc^2[/latex] will work out of the box. This also forces loading of
30
-
mathjax.
31
-
32
-
Additionally, you can use native mathjax syntax -- $$E=mc^2$$ or \(E=mc^2\).
33
-
However, if this is the only syntax used, the plugin must be explicitly told
34
-
to load mathjax for the current page. This can be achieved by adding a
35
-
[mathjax] shortcode anywhere in the post. For posts with both [latex]x[/latex]
36
-
and $$x$$ syntaxes this is unnecessary.
37
-
38
-
You can use wp-latex syntax, $latex E=mc^2$. Parameters can be
39
-
specified as with wp-latex but will be ignored. This means that mathjax-latex
40
-
should be a drop in replacement for wp-latex. Because this conflicts with
41
-
wp-latex, this behaviour is blocked when wp-latex is present, and must be
42
-
explicitly enabled in the settings.
43
-
44
-
You can also specify [nomathjax] -- this will block mathjax on the
45
-
current page, regardless of other tags.
16
+
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.
17
+
18
+
The MathJax javascript can be delivered from your own server, or you can use the [CloudFlare Content Distribution Network (CDN)] (https://www.mathjax.org/cdn-shutting-down/), which is the preferred mechanism as it offers increased speed and stability over hosting the Javascript and configuring the library yourself.
19
+
20
+
You may embed latex using a variety of different syntaxes. The shortcode (http://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.
21
+
22
+
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.
23
+
24
+
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.
25
+
26
+
You can also specify [nomathjax] -- this will block mathjax on the current page, regardless of other tags.
0 commit comments