Manual:Math

MediaWiki supports embedding mathematical formulas using TeX syntax in   tags.

Installation
To use TeX formulas in MediaWiki, you have to build and configure the texvc program, which uses LaTeX to render the formulas. It is located in the math directory in your MediaWiki installation directory, see Manual:Enable TeX and the README file in that directory for instructions. When the texvc program is built, you have to enable it using the Manual:$wgUseTeX setting.

Usage
Click on edit to view the LaTeX-syntax in between the math-tag. If texvc is not installed in your MediaWiki-Installation the graphics output is not visible.

Here are some examples of LaTeX output produced in this manner:


 * $$\int_a^x f(\alpha\,)\,dx$$
 * $$\int_1^\infin \frac{1}{k}\,dk$$
 * $$\sqrt{x^2+2x+1}=|x+1| - \left(\left(\frac{2x^2}{x}\right)^2\right)^2$$
 * $$\ E = \sum_{i=1}^N e^{- J_{ij} \sigma_i \sigma_j} $$
 * $$\left( \begin{smallmatrix} a&b \\ c&d \end{smallmatrix} \right)$$
 * $$\therefore$$

More information on usage: