# Working with TeX Equations

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If you want to include nicely formatted math text on your wiki page you can use (when in edit mode) the WikiEditor button and LaTeX.

As an example:

$P(r) \propto r^{n-1} \exp(-kr^2/2\sigma^2)$

is rendered by inserting "P(r) \propto r^{n-1} \exp(-kr^2/2\sigma^2)" (without the quotation marks) into the highlighted area after clicking the button.

Step 1: Generate your mathematical expression in TeX (e.g., using the TeX/LaTeX graphical editor |LyX)

Step 2: Copy the LaTeX source code and paste it into the highlighted area displayed after clicking the button.

Preview and save your LaTeX wiki math equation.