# Working with TeX Equations

From APL

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:

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.