Software > WordPress > WordPress Plugins >
https://wordpress.org/plugins/mathjax-latex/
- https://github.com/phillord/mathjax-latex
- https://www.mathjax.org/
-
http://docs.mathjax.org/en/v1.1-latest/configuration.html#loading
![]() |
Configuration ∞
-
Use MathJax CDN Service? [_]
- Oh god no, why would I want to report every visitor's actions?
Usage ∞
Native MathJax syntax, e.g.:
$$E=mc^2$$
-
\(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.
e.g.
[latex
]
\alpha = \left( \frac{e}{q_\mathrm{P}} \right)^2 = \frac{e^2 c\mu_0}{2h} = \frac{1}{4 \pi \varepsilon_0} \frac{e^2}{\hbar c} = \frac{k_\text{e} e^2}{\hbar c} = \frac{e^2}{2\varepsilon_0 c h} = \frac{c \mu_0}{2 R_\text{K}} = \frac{e^2 Z_0}{2h} = \frac{e^2 Z_0}{4\pi \hbar} = \frac{Z_0}{2R_K}
[/latex
]
becomes:
\(\alpha = \left( \frac{e}{q_\mathrm{P}} \right)^2 = \frac{e^2 c\mu_0}{2h} = \frac{1}{4 \pi \varepsilon_0} \frac{e^2}{\hbar c} = \frac{k_\text{e} e^2}{\hbar c} = \frac{e^2}{2\varepsilon_0 c h} = \frac{c \mu_0}{2 R_\text{K}} = \frac{e^2 Z_0}{2h} = \frac{e^2 Z_0}{4\pi \hbar} = \frac{Z_0}{2R_K}\)Last updated 2022-05-30 at 21:56:34
adde usage