From 916e12889a172eafe99be5e6daff5dd5089b8c58 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 1 Mar 2011 12:49:31 -0500 Subject: [PATCH] Update to current configuration style, and add title and styling --- test/sample.html | 85 +++++++++++++++++++++++++++++------------------- 1 file changed, 51 insertions(+), 34 deletions(-) diff --git a/test/sample.html b/test/sample.html index 53a5d3a7f8..e1e621d927 100644 --- a/test/sample.html +++ b/test/sample.html @@ -1,33 +1,48 @@ - - - -MathJax Test Page - - - - - - - - - - -
- -

The Lorenz Equations

+ + + + + + + + + +

Sample MathJax Equations

+ +
+ +

The Lorenz Equations

\begin{align} @@ -37,14 +52,14 @@ \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 @@ \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 @@ {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 @@ \quad\quad \text{for $|q|<1$}. \]

-

Maxwell's Equations

+

Maxwell's Equations

\begin{align} @@ -86,6 +101,8 @@ \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 @@ disturbing the spacing between lines.

-
+
- - + +