Typing mathematics in the wiki

How do you type math in a wiki?

In order to type mathematical equations into this wiki you will need to learn the basics of a powerful mathematical typesetting language called LATEX. We give a brief introduction below.

Inline expressions vs. equations

There are two ways to enter mathematical expressions in the wiki—-they can be inline math expressions or equations.

Inline expressions

Inline expressions occur in the middle of a sentence. To produce an inline expression, type [[$math expression here$]]. For example, typing

[[$90^{\circ}$]] is the same as [[$\frac{\pi}{2}$]] radians.

yields:

$90^{\circ}$ is the same as $\frac{\pi}{2}$ radians.

Note: You can get this process started by clicking the box in the editor that looks like:

$x/2$

Equations

Equations are mathematical expressions that are given their own line and are centered on the page. These are usually used for important equations that deserved to be showcased on their own line or large equations that cannot fit inline. Produce an equation as follows:

[[math]]x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}[[/math]]

yields:

(1)

\begin{align} x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} \end{align}

Note: You can get this process started by clicking the box in the editor that looks like: