Help:Formula

(Difference between revisions)

Please refer to the WikiMedia documentation for detailed instructions on displaying a formula in your pages.

Here is a very brief introduction:

Syntax

The Math markup goes inside the XML-style tag math: $...$. However, one can also use parser function #tag: {{#tag:math|...}}; this is more versatile: the wikitext at the dots is first expanded before interpreting the result as TeX code. Thus it can contain parameters, variables, parser functions and templates. Note however that with this syntax double braces in the TeX code must have a space in between, to avoid confusion with their use in template calls etc. Similar to HTML, in TeX extra spaces and newlines are ignored.

For Example

$a^3$

Fractions, matrices, multilines

Feature Syntax How it looks rendered
Fractions Fk=frac{1}{2}=0.5\begin{Vmatrix} 

x & y \\ z & v \end{Vmatrix} a_{i,j}Template:Math

$\frac{1}{2}=0.5$