Open main menu

Difference between revisions of "Instructions to Wiki Editors"

→‎SimpleMathJax: update extension description and link
(→‎SyntaxHighlight: Update information about extension)
(→‎SimpleMathJax: update extension description and link)
Line 73: Line 73:
</pre>
</pre>


== MathJax ==
== SimpleMathJax ==
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].
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 and MathJax extensions. It uses the same syntax as all of these, which is [http://meta.wikimedia.org/wiki/Help:Formula described here].
 
For inline equation use <code>\(...\)</code> and  for display style math use instead  <code>&lt;math&gt;...&lt;/math&gt;</code>.


The following math environments are defined for inline style math:
* <code>\(...\)</code> and
* <code>&lt;math&gt;...&lt;/math&gt;</code>.
And the following math environments are defined for display style math:
* <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.  
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
'''Link:''' https://www.mediawiki.org/wiki/Extension:SimpleMathJax


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

edits