Update to current configuration style, and add title and styling
This commit is contained in:
parent
7cd52a1ead
commit
916e12889a
|
@ -1,33 +1,48 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<HTML xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en-US">
|
||||
<HEAD>
|
||||
<TITLE>MathJax Test Page</TITLE>
|
||||
<!-- Copyright (c) 2009 Design Science, Inc. -->
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" />
|
||||
<META HTTP-EQUIV="X-UA-Compatible" CONTENT="IE=EmulateIE7" >
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>MathJax Test Page</title>
|
||||
<!-- Copyright (c) 2009-2011 Design Science, Inc. -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
|
||||
|
||||
<SCRIPT SRC="../MathJax.js">
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}
|
||||
});
|
||||
</SCRIPT>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
</script>
|
||||
<script type="text/javascript" src="../MathJax.js"></script>
|
||||
|
||||
<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>
|
||||
<style>
|
||||
h1 {text-align:center}
|
||||
h2 {
|
||||
font-weight: bold;
|
||||
background-color: #DDDDDD;
|
||||
padding: .2em .5em;
|
||||
margin-top: 1.5em;
|
||||
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>
|
||||
\begin{align}
|
||||
|
@ -37,14 +52,14 @@ If your browser supports JavaScript, be sure it is enabled.<B>
|
|||
\end{align}
|
||||
</p>
|
||||
|
||||
<p><b>The Cauchy-Schwarz Inequality</b></p>
|
||||
<h2>The Cauchy-Schwarz Inequality</h2>
|
||||
|
||||
<p>\[
|
||||
\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)
|
||||
\]</p>
|
||||
|
||||
<p><b>A Cross Product Formula</b></p>
|
||||
<h2>A Cross Product Formula</h2>
|
||||
|
||||
<p>\[
|
||||
\mathbf{V}_1 \times \mathbf{V}_2 =
|
||||
|
@ -55,11 +70,11 @@ If your browser supports JavaScript, be sure it is enabled.<B>
|
|||
\end{vmatrix}
|
||||
\]</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><b>An Identity of Ramanujan</b></p>
|
||||
<h2>An Identity of Ramanujan</h2>
|
||||
|
||||
<p>\[
|
||||
\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} } } }
|
||||
\]</p>
|
||||
|
||||
<p><b>A Rogers-Ramanujan Identity</b></p>
|
||||
<h2>A Rogers-Ramanujan Identity</h2>
|
||||
|
||||
<p>\[
|
||||
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$}.
|
||||
\]</p>
|
||||
|
||||
<p><b>Maxwell's Equations</b></p>
|
||||
<h2>Maxwell's Equations</h2>
|
||||
|
||||
<p>
|
||||
\begin{align}
|
||||
|
@ -86,6 +101,8 @@ If your browser supports JavaScript, be sure it is enabled.<B>
|
|||
\end{align}
|
||||
</p>
|
||||
|
||||
<h2>In-line Mathematics</h2>
|
||||
|
||||
<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
|
||||
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>
|
||||
|
||||
|
||||
</BLOCKQUOTE>
|
||||
</blockquote>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue
Block a user