MathTest: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
A single equation: | |||
<math> | <math> | ||
| Line 8: | Line 7: | ||
</math> | </math> | ||
Multiple-line equation (default alignments): | |||
{|border=1 width=100% | |||
| | |||
<pre> | |||
\begin{align} | |||
y &=& x + 2 \\ | |||
5x + 7z &=& 8y^2 + 2y - 5 | |||
\end{align} | |||
</pre> | |||
| | |||
<math> | |||
\begin{align} | |||
y &=& x + 2 \\ | |||
5x + 7z &=& 8y^2 + 2y - 5 | |||
\end{align} | |||
</math> | |||
|} | |||
Multiple-line equation (user-set alignments, Right-Center-Left): | |||
{|border=1 width=100% | |||
| | |||
<pre> | |||
\begin{array}{rcl} | |||
y & = & x + 2 \\ | |||
5x + 7z &=& 8y^2 + 2y - 5 | |||
\end{array} | |||
</pre> | |||
| | |||
<math> | <math> | ||
y = x + 2 | \begin{array}{rcl} | ||
y & = & x + 2 \\ | |||
5x + 7z &=& 8y^2 + 2y - 5 | |||
\end{array} | |||
</math> | </math> | ||
|} | |||
Revision as of 20:52, 21 October 2010
A single equation:
$ \operatorname{erfc}(x) = \frac{2}{\sqrt{\pi}} \int_x^{\infty} e^{-t^2}\,dt = \frac{e^{-x^2}}{x\sqrt{\pi}}\sum_{n=0}^\infty (-1)^n \frac{(2n)!}{n!(2x)^{2n}} $
Multiple-line equation (default alignments):
\begin{align}
y &=& x + 2 \\
5x + 7z &=& 8y^2 + 2y - 5
\end{align}
|
$ \begin{align} y &=& x + 2 \\ 5x + 7z &=& 8y^2 + 2y - 5 \end{align} $ |
Multiple-line equation (user-set alignments, Right-Center-Left):
\begin{array}{rcl}
y & = & x + 2 \\
5x + 7z &=& 8y^2 + 2y - 5
\end{array}
|
$ \begin{array}{rcl} y & = & x + 2 \\ 5x + 7z &=& 8y^2 + 2y - 5 \end{array} $ |