Math Test

From Adobe Open Source Wiki
Jump to: navigation, search

The following two examples are from here <http://meta.wikimedia.org/wiki/Help:Displaying_a_formula>:

(search for "Case distinctions" on the page to find this example)

<math> f(n) = \begin{cases}

 n/2,  & \mbox{if }n\mbox{ is even} \\
 3n+1, & \mbox{if }n\mbox{ is odd} 

\end{cases} </math>

(search for "Multiline equations" on the page to find this example)

Note- currently all forms of multiline equations appear to fail.

<math> \begin{align}

f(x) & = (a+b)^2 \\
     & = a^2+2ab+b^2 \\

\end{align} </math>