LaTeX (or $\LaTeX$) is a typesetting system particularly well suited for mathematical material.

# LaTeX on Wikidot

On Wikidot some $\LaTeX$ commands may be used.

## Adding math

### Centred and separate

$\LaTeX$'s equation environment centres mathematical notation on a line separate from the main text.

```
[[math]]
\sqrt{2} \text{ is the square root of } 2.
[[/math]]
```

### Equation labels and references

By adding a label one can refer to the equation by number, and the reference number will change automatically if the equation number later changes.

```
[[math label1]]
\sqrt{2} \text{ is the square root of } 2.
[[/math]]
The deepest mathematical secrets are revealed by Eq. ([[eref label1]]).
```

The deepest mathematical secrets are revealed by Eq. (2).

Clicking on the hyperlinked equation number scrolls the page to the equation. Just doing a “mouseover” produces a small window with the equation displayed (rather nifty, I must say).

### Multiline equations

```
[[math label2 type="eqnarray"]]
\lefteqn{ \cos x = 1
-\frac{x^{2}}{2!} +{} } \\
& & {}+\frac{x^{4}}{4!}
-\frac{x^{6}}{6!}+{}\cdots
[[/math]]
```

### Inline math

To add $\LaTeX$-style math in the middle of text, substitute [ [$…$] ] (without spaces) for [[math]]…[[/math]].

`What I really want to say using [[$\LaTeX$]] is that [[$\sqrt{2}$]] is the square root of 2.`

What I really want to say using $\LaTeX$ is that $\sqrt{2}$ is the square root of 2.

## Further information

Here's are some links to some $\LaTeX$ commands:

http://rupert.physics.uoguelph.ca/forum/viewtopic.php?t=8

http://www.artofproblemsolving.com/Wiki/index.php/LaTeX:Symbols.

And here are some $\LaTeX$ commands used on another wikidot site (not mine):