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

## 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 $-b \pm \sqrt{b^2 - 4ac} \over 2a$ would look like this in the wiki

$-b \pm \sqrt{b^2 - 4ac} \over 2a$