LaTeX

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

# LaTeX on Wikidot

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

### Centred and separate

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

[$] \sqrt{2} \text{ is the square root of } 2. [$]

(1)
\begin{align} \sqrt{2} \text{ is the square root of } 2. \end{align}

### 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]]).

(2)
\begin{align} \sqrt{2} \text{ is the square root of } 2. \end{align}

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]]

(3)
\begin{eqnarray} \lefteqn{ \cos x = 1 -\frac{x^{2}}{2!} +{} } \\ & & {}+\frac{x^{4}}{4!} -\frac{x^{6}}{6!}+{}\cdots \end{eqnarray}

### Inline math

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

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:

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

http://discretemath2008.wikidot.com/latex

page revision: 8, last edited: 26 Feb 2009 15:42