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
utilise the [MathJax Content Distribution Network (CDN)]
(http://www.mathjax.org/docs/latest/start.html#mathjax-cdn), which is the preferred
mechanism as it offers increased speed and stability over hosting the Javascript
and configuring the library yourself. Use of the CDN is governed by these
Terms of Service.
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.
This plugin is copyright Phillip Lord, Newcastle University and is licensed
under GPLv2.
/wp-content/plugins/
directory/wp-content/plugins/mathjax-latex/MathJax
)All code for this release was submitted by users of
this plugin! Thanks to Jared Wenerd and Paul Schreiber.
/wp-content/plugins/
directory/wp-content/plugins/mathjax-latex/MathJax
)This wordpress plugin is yet another simple plugin to load the
MathJax scripts at the bottom of all of your
pages. It uses a very all-inclusive mathjax configuration by default,
with $’s and $$’s the default delimeters for in-line and displayed
equations.
A preference pane is added to the “Settings” group where you can
modify the MathJax server location (CDN) and the MathJax configuration
settings. (See this
page
for details on the options available.) You can also specify a LaTeX
“preamble” of newcommands which will be loaded in a hidden element
near the top of each page.
Fork this plugin on
GitHub
1.0 send default url to new cdn
0.5 minor code cleanup, allow mathjax in admin screens
0.4 use safe mode (prevents evil scripts) by default
0.3 use wp_enqueue_script to allow others to use mathjax as a dependency
(christianp). removed disqus compatibility due to reports of it no longer
working.
0.2 added disqus compatibility. enclosed the preamble in a hidden span to
cover a small space created by mathjax v.2
0.1 improved loading of the LaTeX preamble so that it appears just
below the body tag, rather than in the header
0.0 initial release
Nothing unusual here!
The KaTeX WordPress plugin integrates the super-fast KaTeX math typesetting engine with your WordPress website. The plugin allows you to put LaTeX in a [latex]...[/latex]
shortcode, and beautiful math appears on your post or page.
The plugin also has an option to use the excellent jsDelivr CDN to load the KaTeX scripts, further increasing the performance of the plugin.
Equations in [latex display="true"]...[/latex]
will be rendered in display mode (rather than inline mode) and centered on its own line.
katex
folder to the /wp-content/plugins/
directory[latex]
shortcode in your posts and pageskatex
folder to the /wp-content/plugins/
directory[latex]
shortcode in your posts and pagesKaTeX is fast. It’s really fast, compared to MathJax. In fact, it’s a staggering 35 times faster than MathJax. Your page will load much faster with KaTeX, especially if it’s heavy with equations.
Jetpack has a LaTeX plugin that uses the WordPress.com service to render the equations. However, it uses images, which look ugly when zoomed in, or on high-DPI (“retina”) displays. Also, it depends on WordPress.com’s servers, and a lot of equations can make the page slow (too many requests).
\kern
\mod
, \bmod
, \pmod
, and \pod
\middle
\ldots
, \textellipsis
, and \mathellipsis
\#
, \&
, \$
, \%
, \_
, \{
, and \}
in text mode\stackrel
\atop
--
, ---
, `
, '
, ``
, ''
, \degree
, \pounds
, \maltese
\mathord
, \mathbin
, \mathrel
, \mathopen
, \mathclose
, \mathpunct
, \mathinner
, and \mathop
\textrm
, \textit
, \textbf
, \texttt
, \textsf
, and \textnormal
\llap
and \rlap
produce ords (bug fix)\color
, \mathbf
, and in other places (bug fix)aligned
environment.\gt
and \lt
.\underline
support.e^\mathbf{x}
will parse (bug fix).\mathrm
, \mathit
, \mathbf
, \mathbb
, \mathcal
, \mathfrak
, \mathscr
, \mathsf
, \mathtt
, \Bbb
, \bold
, and \frak
.\limits
and \nolimits
functions.|
column delimiters in the array
environment.\lVert
and \rVert
symbols.\lvert
, \rvert
, \lVert
, \rVert
, \lgroup
, \rgroup
, \lmoustache
, and \rmoustache
in delimiters.\ulcorner
, \urcorner
, \llcorner
, \lrcorner
, \barwedge
, \veebar
, \circledcirc
, \boxdot
, \uparrow
, \Uparrow
, \downarrow
, \Downarrow
, \updownarrow
, \Updownarrow
, and \ldots
symbols.cases
and Bmatrix
environments.\checkmark
and \circledR
symbols.\begin ... \end
environments, including support for array
, matrix
, pmatrix
, bmatrix
, vmatrix
, and Vmatrix
\sqrt
arguments, e.g. \sqrt[3]{x}
[latex display="true"]...[/latex]
\#
, \&
, \aleph
, \amalg
, \approxeq
, \ast
, \asymp
, \backepsilon
, \backprime
, \backsim
, \backsimeq
, \Bbbk
, \because
, \beth
, \between
, \bigcirc
, \bigstar
, \blacklozenge
, \blacksquare
, \blacktriangle
, \blacktriangledown
, \blacktriangleleft
, \blacktriangleright
, \bowtie
, \Box
, \boxminus
, \boxplus
, \boxtimes
, \bullet
, \bumpeq
, \Bumpeq
, \Cap
, \cdotp
, \centerdot
, \circeq
, \circlearrowleft
, \circlearrowright
, \circledast
, \circleddash
, \circledS
, \clubsuit
, \complement
, \Cup
, \curlyeqprec
, \curlyeqsucc
, \curlyvee
, \curlywedge
, \curvearrowleft
, \curvearrowright
, \dag
, \daleth
, \dashleftarrow
, \dashrightarrow
, \dashv
, \ddag
, \ddagger
, \diagdown
, \diagup
, \Diamond
, \diamondsuit
, \digamma
, \divideontimes
, \doteq
, \Doteq
, \doteqdot
, \dotplus
, \doublebarwedge
, \doublecap
, \doublecup
, \downdownarrows
, \downharpoonleft
, \downharpoonright
, \ell
, \eqcirc
, \eqsim
, \eqslantgtr
, \eqslantless
, \equiv
, \eth
, \exists
, \fallingdotseq
, \Finv
, \flat
, \forall
, \frown
, \Game
, \geqq
, \geqslant
, \gg
, \ggg
, \gggtr
, \gimel
, \gnapprox
, \gneq
, \gneqq
, \gnsim
, \gtrapprox
, \gtrdot
, \gtreqless
, \gtreqqless
, \gtrless
, \gtrsim
, \gvertneqq
, \hbar
, \heartsuit
, \hookleftarrow
, \hookrightarrow
, \hslash
, \Im
, \intercal
, \Join
, \ldotp
, \leadsto
, \Leftarrow
, \leftarrowtail
, \leftharpoondown
, \leftharpoonup
, \leftleftarrows
, \leftrightarrow
, \Leftrightarrow
, \leftrightarrows
, \leftrightharpoons
, \leftrightsquigarrow
, \leftthreetimes
, \leqq
, \leqslant
, \lessapprox
, \lessdot
, \lesseqgtr
, \lesseqqgtr
, \lessgtr
, \lesssim
, \lgroup
, \lhd
, \ll
, \llcorner
, \Lleftarrow
, \lll
, \llless
, \lmoustache
, \lnapprox
, \lneq
, \lneqq
, \lnsim
, \longleftarrow
, \Longleftarrow
, \longleftrightarrow
, \Longleftrightarrow
, \longmapsto
, \longrightarrow
, \Longrightarrow
, \looparrowleft
, \looparrowright
, \lozenge
, \lrcorner
, \Lsh
, \ltimes
, \lvertneqq
, \mapsto
, \measuredangle
, \mho
, \mid
, \mp
, \multimap
, \nabla
, \natural
, \ncong
, \nearrow
, \nexists
, \ngeqq
, \ngeqslant
, \ngtr
, \ni
, \nleftarrow
, \nLeftarrow
, \nleftrightarrow
, \nLeftrightarrow
, \nleqq
, \nleqslant
, \nless
, \nmid
, \nparallel
, \nprec
, \npreceq
, \nrightarrow
, \nRightarrow
, \nshortmid
, \nshortparallel
, \nsim
, \nsubseteqq
, \nsucc
, \nsucceq
, \nsupseteqq
, \ntriangleleft
, \ntrianglelefteq
, \ntriangleright
, \ntrianglerighteq
, \nvdash
, \nvDash
, \nVdash
, \nVDash
, \nwarrow
, \ominus
, \owns
, \parallel
, \perp
, \phantom
, \pitchfork
, \prec
, \precapprox
, \preccurlyeq
, \preceq
, \precnapprox
, \precneqq
, \precnsim
, \precsim
, \propto
, \Re
, \restriction
, \rgroup
, \rhd
, \Rightarrow
, \rightarrowtail
, \rightharpoondown
, \rightharpoonup
, \rightleftarrows
, \rightleftharpoons
, \rightrightarrows
, \rightsquigarrow
, \rightthreetimes
, \risingdotseq
, \rmoustache
, \Rrightarrow
, \Rsh
, \rtimes
, \searrow
, \sharp
, \shortmid
, \shortparallel
, \sim
, \simeq
, \smallfrown
, \smallsetminus
, \smallsmile
, \smile
, \spadesuit
, \sphericalangle
, \sqcap
, \sqcup
, \sqsubset
, \sqsubseteq
, \sqsupset
, \sqsupseteq
, \square
, \Subset
, \subseteqq
, \subsetneq
, \subsetneqq
, \succ
, \succapprox
, \succcurlyeq
, \succeq
, \succnapprox
, \succneqq
, \succnsim
, \succsim
, \Supset
, \supseteqq
, \supsetneq
, \supsetneqq
, \swarrow
, \therefore
, \thickapprox
, \thicksim
, \triangledown
, \trianglelefteq
, \triangleq
, \trianglerighteq
, \twoheadleftarrow
, \twoheadrightarrow
, \ulcorner
, \unlhd
, \unrhd
, \upharpoonleft
, \upharpoonright
, \uplus
, \upuparrows
, \urcorner
, \varkappa
, \varpropto
, \varsubsetneq
, \varsubsetneqq
, \varsupsetneq
, \varsupsetneqq
, \vartriangle
, \vartriangleleft
, \vartriangleright
, \vdash
, \vDash
, \Vdash
, \Vvdash
, \wp
, \wr
, \yen
\displaystyle
equations not being put on a new lineLaTeX2HTML makes you write blog like in LaTeX doc. You can just copy and paste to create a new post in WP from your tex source file, then it will looks like amsart
document style. It support a lot of raw latex command including theorem like environment and BibTeX style citation.
Good news, this plugin is free for everyone! Since it’s released under the GPL2, you can use it free of charge on your personal or commercial blog.
latex2html
and click Install.latex2html
–A file directory) and just drop it in the wp-content/plugins/
directory of your WordPress installationAny question can be feed back at there (turn to the support
pannel)
latex2html
and click Install.latex2html
–A file directory) and just drop it in the wp-content/plugins/
directory of your WordPress installationThe full User’s Manual contains:
1. How to Write the Basic Information of Your Post 2. How to Write Section, Subsection and Subsubsection 3. Itemize and Enumerate: How to List Stuffs 4. The Footnote 5. The Color Scheme: How to Colorize You Content 6. The Figure Environment 7. How to Write a Theorem 7.1. Definition, Lemma, Proposition, Theorem, Corollary, Remark, Proof 7.1.1. Basic Usage of Environments 7.1.2. Assign a Name for Your Theorem 7.1.3. The Proof Environment 7.1.4. More Examples of Environments 7.2. The Problem, Answer Environments 7.3. The Exercise Environment 7.4. The Quote Environment 8. Auto Numbering and Referring Back 8.1. Auto Numbering and Referring Back to Equations 8.1.1. How to Refer back to Equation Number 8.1.2. My Suggestion on “How to Write Equations” 8.2. Auto Numbering and Referring Back to Environments 8.2.1. Auto Numbering of Environments 8.2.2. Referring Back to Environments 8.3. Referring Back to Section 9. BibTeX Citations 9.1. How to Add BibTeX Data 9.2. How to Cite 10. Last Words and Feed Back 10.1. How to Jump Between Links 11. How to Get it?
For a test, you can do the following:
\title{Hello LaTeX2HTML}
\begin{thm}[Newdon-Leibniez]\label{thm:NL}
If $f\in C^1([a,b])$ then
\begin{equation}\label{eq:NL}
\int_a^b f'(x) d x=f(b)-f(a)
\end{equation}
In \autoref{thm:NL} the main part is \eqref{eq:NL}.
\end{thm}
Add a new post (it should be in the HTML
code mode rather than the visual
mode), copy the code into your new post, then preview it.
In fact, after a while you will find that it almost as if you were write your TeX
doc rather than a post!
lang/
, only reserve latex2html.pot
, because we can use the online translation provided by wordpressSupport & Credit
-> How to Localize
)<em>
Bug fix:
The mysql create syntax error
Add:
write bibtex original data to bibtex.bib
Bug fix:
\ref{secnum}
and \autoref{secnum}
svg
Custom LaTeX CSS Style
place.Simple MathJaX
\documentclass...
and \usepackage...
stuff in the post, this will be convinient if your post are copy and paste from a TeX DocLaTeX2HTML_TeX_Demo.tex
and the PDF file which are obtained by run latex LaTeX2HTML_TeX_Demo.tex
LaTeX2HTML Setting page
LaTeX2HTML Setting page
simple mathjax
(if you were not stop the simple mathjax
first before updating the LaTeX2HTML
, there are the redeclare
function error)Plugins|Active
pagesimple mathjax
into LaTeX2HTML
single page
with math formulae (warped with $ and $ or \[ and \])WP MathJax is another simple wordpress plugin for MathJax. WP MathJax will add MathJax.js to the header and footer of the page. MathJax.js will be loaded from MathJax CDN. The MathJax configuration can be changed from Plugin’s setting page such as different rendering configuration, delayStartupUntil and so on.
=1.0.2=
Local MathJax Library is removed according to the very large file size.
=1.0.1=
Full uploaded local MathJax Library
=1.0.0=
Initial Release