# Help:Displaying a formula

This page was originally located at Wikimedia Meta. Text on Meta is available under Creative Commons Attribution-ShareAlike (unless otherwise noted). |

MediaWiki uses a subset of **TeX markup**, including some extensions from LaTeX and AMS-LaTeX, for mathematical formulae. It generates either PNG images or simple HTML markup, depending on user preferences and the complexity of the expression.

More precisely, MediaWiki filters the markup through Texvc, which in turn passes the commands to TeX for the actual rendering. Thus, only a limited part of the full TeX language is supported.

To have math rendered, you have to set `$wgUseTeX = true;`

in LocalSettings.php.

At this writing, the Math extension is installed on Referata, but not every site has a working version. Rendering of mathematical data was originally part of MediaWiki's core suite, but was removed in version 1.18. (Referata's MediaWiki engine currently uses 1.25.5 (d75270f).) Attempts to use <math>equation</math> on the Dixwell Dossier, for instance, will result in an error message:

Failed to parse (Missing texvc executable; please see math/README to configure.)

For every instance of this code, "/home/yaron57/public_html/w/extensions/Math/math/texvc" will appear immediately on top, and the page tabs will float. Therefore, it is not recommeded to use this until a localised patch is delivered.

See this page on the Dungeon Overlord Wiki for a working example within Referata's network.

## See also

- Help:Comparison between ParserFunctions syntax and TeX syntax
- Typesetting of mathematical formulas
- Proposed Music markup
- Table of mathematical symbols
- Extension:Blahtex, or blahtex: a LaTeX to MathML converter for Wikipedia
- General help for editing a Wiki page
- Mimetex alternative for another way to display mathematics using Mimetex.cgi

## External links

- A LaTeX tutorial
- A paper introducing TeX—see page 39 onwards for a good introduction to the maths side of things
- A paper introducing LaTeX—skip to page 49 for the math section. See page 63 for a complete reference list of symbols included in LaTeX and AMS-LaTeX.
- The Comprehensive LaTeX Symbol List
- AMS-LaTeX guide
- A set of public domain fixed-size math symbol bitmaps
- MathML: A product of the W3C Math working group, and a low-level specification for describing mathematics as a basis for machine to machine communication