Update to current configuration style, and add title and styling

This commit is contained in:
Davide P. Cervone 2011-03-01 12:49:31 -05:00
parent 7cd52a1ead
commit 916e12889a

View File

@ -1,33 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html>
<HTML xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en-US"> <html>
<HEAD> <head>
<TITLE>MathJax Test Page</TITLE> <title>MathJax Test Page</title>
<!-- Copyright (c) 2009 Design Science, Inc. --> <!-- Copyright (c) 2009-2011 Design Science, Inc. -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<META HTTP-EQUIV="X-UA-Compatible" CONTENT="IE=EmulateIE7" > <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<SCRIPT SRC="../MathJax.js"> <script type="text/x-mathjax-config">
MathJax.Hub.Config({ MathJax.Hub.Config({
extensions: ["tex2jax.js"], extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"], jax: ["input/TeX","output/HTML-CSS"],
tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]} tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}
}); });
</SCRIPT> </script>
</HEAD> <script type="text/javascript" src="../MathJax.js"></script>
<BODY>
<NOSCRIPT> <style>
<DIV STYLE="color:#CC0000; text-align:center"> h1 {text-align:center}
<B>Warning: <A HREF="http://www.mathjax.org/">MathJax</A> h2 {
requires JavaScript to process the mathematics on this page.<BR> font-weight: bold;
If your browser supports JavaScript, be sure it is enabled.<B> background-color: #DDDDDD;
</DIV> padding: .2em .5em;
<HR> margin-top: 1.5em;
</NOSCRIPT> border-top: 3px solid #666666;
border-bottom: 2px solid #999999;
}
</style>
</head>
<body>
<BLOCKQUOTE> <noscript>
<div style="color:#CC0000; text-align:center">
<b>Warning: <a href="http://www.mathjax.org/">MathJax</a>
requires JavaScript to process the mathematics on this page.<br />
If your browser supports JavaScript, be sure it is enabled.</b>
</div>
<hr>
</noscript>
<p><b>The Lorenz Equations</b></p> <h1>Sample MathJax Equations</h1>
<blockquote>
<h2>The Lorenz Equations</h2>
<p> <p>
\begin{align} \begin{align}
@ -37,14 +52,14 @@ If your browser supports JavaScript, be sure it is enabled.<B>
\end{align} \end{align}
</p> </p>
<p><b>The Cauchy-Schwarz Inequality</b></p> <h2>The Cauchy-Schwarz Inequality</h2>
<p>\[ <p>\[
\left( \sum_{k=1}^n a_k b_k \right)^{\!\!2} \leq \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) \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
\]</p> \]</p>
<p><b>A Cross Product Formula</b></p> <h2>A Cross Product Formula</h2>
<p>\[ <p>\[
\mathbf{V}_1 \times \mathbf{V}_2 = \mathbf{V}_1 \times \mathbf{V}_2 =
@ -55,11 +70,11 @@ If your browser supports JavaScript, be sure it is enabled.<B>
\end{vmatrix} \end{vmatrix}
\]</p> \]</p>
<p><b>The probability of getting \(k\) heads when flipping \(n\) coins is:</b></p> <h2>The probability of getting \(k\) heads when flipping \(n\) coins is:</h2>
<p>\[P(E) = {n \choose k} p^k (1-p)^{ n-k} \]</p> <p>\[P(E) = {n \choose k} p^k (1-p)^{ n-k} \]</p>
<p><b>An Identity of Ramanujan</b></p> <h2>An Identity of Ramanujan</h2>
<p>\[ <p>\[
\frac{1}{(\sqrt{\phi \sqrt{5}}-\phi) e^{\frac25 \pi}} = \frac{1}{(\sqrt{\phi \sqrt{5}}-\phi) e^{\frac25 \pi}} =
@ -67,7 +82,7 @@ If your browser supports JavaScript, be sure it is enabled.<B>
{1+\frac{e^{-8\pi}} {1+\ldots} } } } {1+\frac{e^{-8\pi}} {1+\ldots} } } }
\]</p> \]</p>
<p><b>A Rogers-Ramanujan Identity</b></p> <h2>A Rogers-Ramanujan Identity</h2>
<p>\[ <p>\[
1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots = 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.<B>
\quad\quad \text{for $|q|<1$}. \quad\quad \text{for $|q|<1$}.
\]</p> \]</p>
<p><b>Maxwell's Equations</b></p> <h2>Maxwell's Equations</h2>
<p> <p>
\begin{align} \begin{align}
@ -86,6 +101,8 @@ If your browser supports JavaScript, be sure it is enabled.<B>
\end{align} \end{align}
</p> </p>
<h2>In-line Mathematics</h2>
<p>Finally, while display equations look good for a page of samples, the <p>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 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 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.</p> disturbing the spacing between lines.</p>
</BLOCKQUOTE> </blockquote>
</BODY> </body>
</HTML> </html>