Manual:Math

If you are looking for information on the math syntax, see .

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\limits_a^x f(\frac{\alpha}{2}\,)\,dx$$ produces $$\int\limits_a^x f(\frac{\alpha}{2}\,)\,dx$$
 * $$\int\limits_1^\infin \frac{1}{k}\,dk$$ produces $$\int\limits_1^\infin \frac{1}{k}\,dk$$
 * $$\sqrt{x^2+2x+1}=|x+1| - \left(\left(\frac{2x^2}{x}\right)^2\right)^2$$ produces $$\sqrt{x^2+2x+1}=|x+1| - \left(\left(\frac{2x^2}{x}\right)^2\right)^2$$
 * $$\sqrt{\sqrt{\sqrt{x}}}$$ produces $$\sqrt{\sqrt{\sqrt{x}}}$$
 * $$\ E = \sum_{i=1}^N e^{- J_{ij} \sigma_i \sigma_j} $$ produces $$\ E = \sum_{i=1}^N e^{- J_{ij} \sigma_i \sigma_j} $$
 * $$\left( \begin{smallmatrix} a&b \\ c&d \end{smallmatrix} \right)$$ produces $$\left( \begin{smallmatrix} a&b \\ c&d \end{smallmatrix} \right)$$
 * $$\therefore$$ produces $$\therefore$$

More information on usage: