|
|
(18 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| The '''MathJax''' extension enables [http://www.mathjax.org/ MathJax] (http://www.mathjax.org/), a Javascript library, for typesetting TeX and LaTeX formulae in MediaWiki inside ''math environments''.
| | #REDIRECT[[Help:Entering mathematics]] |
| The following math environments are defined for inline style math:
| |
| * <code><nowiki>$...$</nowiki></code> (can be turned off, even per page),
| |
| * <code>\(...\)</code> and
| |
| * <code><math>...</math></code>.
| |
| And the following math environments are defined for display style math:
| |
| * <code><nowiki>$$...$$</nowiki></code> (can be turned off, even per page),
| |
| * <code>\[...\]</code>,
| |
| * <code>\begin{...}...\end{...}</code> and
| |
| * <code>:<math>...</math></code>.
| |
| MathJax produces nice and scalable mathematics, see their website (http://www.mathjax.org/) for a demonstration. This extension also enables the usage of <code>\label{}</code> and <code>\eqref{}</code> tags with automatic formula numbering. If needed you can still hand label by using <code>\tag{}</code>.
| |