diff --git a/test/sample.html b/test/sample.html index 53a5d3a7f..e1e621d92 100644 --- a/test/sample.html +++ b/test/sample.html @@ -1,33 +1,48 @@ - - - -MathJax Test Page - - - + + + +MathJax Test Page + + + - - - + + - + + + -
+ -

The Lorenz Equations

+

Sample MathJax Equations

+ +
+ +

The Lorenz Equations

\begin{align} @@ -37,14 +52,14 @@ If your browser supports JavaScript, be sure it is enabled. \end{align}

-

The Cauchy-Schwarz Inequality

+

The Cauchy-Schwarz Inequality

\[ \left( \sum_{k=1}^n a_k b_k \right)^{\!\!2} \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right) \]

-

A Cross Product Formula

+

A Cross Product Formula

\[ \mathbf{V}_1 \times \mathbf{V}_2 = @@ -55,11 +70,11 @@ If your browser supports JavaScript, be sure it is enabled. \end{vmatrix} \]

-

The probability of getting \(k\) heads when flipping \(n\) coins is:

+

The probability of getting \(k\) heads when flipping \(n\) coins is:

\[P(E) = {n \choose k} p^k (1-p)^{ n-k} \]

-

An Identity of Ramanujan

+

An Identity of Ramanujan

\[ \frac{1}{(\sqrt{\phi \sqrt{5}}-\phi) e^{\frac25 \pi}} = @@ -67,7 +82,7 @@ If your browser supports JavaScript, be sure it is enabled. {1+\frac{e^{-8\pi}} {1+\ldots} } } } \]

-

A Rogers-Ramanujan Identity

+

A Rogers-Ramanujan Identity

\[ 1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = @@ -75,7 +90,7 @@ If your browser supports JavaScript, be sure it is enabled. \quad\quad \text{for $|q|<1$}. \]

-

Maxwell's Equations

+

Maxwell's Equations

\begin{align} @@ -86,6 +101,8 @@ If your browser supports JavaScript, be sure it is enabled. \end{align}

+

In-line Mathematics

+

Finally, while display equations look good for a page of samples, the ability to mix math and text in a paragraph is also important. This expression \(\sqrt{3x-1}+(1+x)^2\) is an example of an inline equation. As @@ -93,7 +110,7 @@ you see, MathJax equations can be used this way as well, without unduly disturbing the spacing between lines.

-
+
- - + +