Open main menu

Difference between revisions of "Instructions to Wiki Editors"

→‎JsMath: -> MathJax
m (→‎Translation: Update the section and add redirect idea)
(→‎JsMath: -> MathJax)
Line 78: Line 78:
</pre>
</pre>


== JsMath ==
== MathJax ==
This extension can be used to generate formulas using the LaTeX math syntax. It replaces MediaWiki's regular TeX based math support (that we cannot use due to server limitations) and uses the same syntax, which is [http://meta.wikimedia.org/wiki/Help:Formula described here].
This extension can be used to generate formulas using the LaTeX math syntax. It replaces MediaWiki's regular TeX based math support (that we cannot use due to server limitations) and the old jsMath extension. It uses the same syntax as both of these, which is [http://meta.wikimedia.org/wiki/Help:Formula described here].


'''Link:''' http://www.mediawiki.org/wiki/Extension:JsMath
The following math environments are defined for inline style math:
* <code><nowiki>$...$</nowiki></code>,
* <code>\(...\)</code> and
* <code>&lt;math&gt;...&lt;/math&gt;</code>.
And the following math environments are defined for display style math:
* <code><nowiki>$$...$$</nowiki></code>,
* <code>\[...\]</code>,
* <code>\begin{...}...\end{...}</code> and
* <code>:&lt;math&gt;...&lt;/math&gt;</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><nowiki>\eqref{}</nowiki></code> tags with automatic formula numbering.
 
'''Link:''' http://www.mediawiki.org/wiki/Extension:MathJax


'''Syntax:'''
'''Syntax:'''
TrustedUser
2,147

edits