Difference between revisions of "Math Equations with TeX - Mediawiki"

From Help Wiki
Line 19: Line 19:
 
* http://www.tug.org/ TeX Users Group
 
* http://www.tug.org/ TeX Users Group
 
* [http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes TeX FAQ]
 
* [http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes TeX FAQ]
|sidebar
+
|sidebar=
 
{{Mediawiki Help}}
 
{{Mediawiki Help}}
 
{{GetHelp}}
 
{{GetHelp}}
 
}}
 
}}
 
  [[category:Mediawiki]]
 
  [[category:Mediawiki]]

Revision as of 14:41, 15 November 2016

How to insert equations into your wiki with TeX

Getting equations working in your wiki

Mediawiki uses TeX to render math equations. To enable your wiki to use TeX, contact your system administrator to set the following in your LocalSettings.php file:

$wgUseTeX = true;

Getting Started

Use the math tags around your equation.


The equation <math>-b \pm \sqrt{b^2 - 4ac} \over 2a</math> would look like this in the wiki

<math>-b \pm \sqrt{b^2 - 4ac} \over 2a</math>

Tex Resources