diff options
Diffstat (limited to 'static/MathJax/test/index2.html')
-rw-r--r-- | static/MathJax/test/index2.html | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/static/MathJax/test/index2.html b/static/MathJax/test/index2.html new file mode 100644 index 0000000..fa8d338 --- /dev/null +++ b/static/MathJax/test/index2.html @@ -0,0 +1,131 @@ +<!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" /> + +<script type="text/x-mathjax-config"> + MathJax.Hub.Config({ + extensions: ["tex2jax.js"], + jax: ["input/TeX","output/HTML-CSS"], + "HTML-CSS": { + availableFonts:[], + styles: {".MathJax_Preview": {visibility: "hidden"}} + } + }); +</script> +<script type="text/javascript" src="../MathJax.js"></script> + +<style> +.warning { + color: #800020; + background-color: #FFF8F8; + border: 2px solid red; + margin: 1em 5em; + padding: 1em; +} +</style> +</head> +<body> + +<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> + +<blockquote> + +<h1>MathJax Test Page</h1> + +<p> +If you see typeset mathematics below, then MathJax is working. If you see +TeX code instead, MathJax is not working for you. +</p> +<!------------------------------------------------------------------------> +<hr> + + +<p> +$$ +\frac{-b\pm\sqrt{b^2-4ac}}{2a} +$$ +</p> + +<div style="color:green"> +<div style="text-align:center; color:red; font-size:120%" class="MathJax_Preview"> +MathJax is not working! +</div><script type="math/tex; mode=display"> +\bf MathJax\ Appears\ to\ be\ Working! +</script> +</div> + +<hr> + +<!------------------------------------------------------------------------> + +<div id="badBrowser" style="display:none"> +<div class="warning"> +<b>WARNING</b>: The browser you are using does not appear to support +MathJax, so we can't test if MathJax is working. Please try a different +browser, or a newer version of your browser in order to test MathJax. +</div> +<hr> +</div> + +<!------------------------------------------------------------------------> + +<div id="imageFonts" style="display:none"> +<div class="warning"> +<b>WARNING</b>: The browser you are using does not seem to support web-based +fonts, so we can't test the MathJax web fonts with this browser (image fonts +have been used instead). Please try a different browser, or a newer version +of your browser in order to test MathJax's web-based fonts. +</div> +<hr> +</div> + +<!------------------------------------------------------------------------> + +<div id="noWebFont" style="display:none"> +<div class="warning"> +<b>WARNING</b>: MathJax's web fonts don't seem to be available. Be sure you have +the <code>MathJax/fonts</code> directory in place before continuing. +If you fail to install these fonts, MathJax will not +work properly with some browsers. If you can't install the image fonts, +be sure to set the <code>noImageFonts</code> parameter in your MathJax configuration +(either <code>MathJax/config/MathJax.js</code>, or the +<code>MathJax.Hub.Config()</code> call in your web page). +</div> +<hr> +</div> + +<!------------------------------------------------------------------------> + +<div id="ffWebFont" style="display:none"> +<div class="warning"> +<b>WARNING</b>: You are trying to load MathJax from a remote site where the +web-based fonts are not set up to be shipped to Firefox properly. See the +<a href="../docs/html/installation.html#notes-about-shared-installations">discussion +of Firefox's same-origin policy</a> in the MathJax documentation for more +details. +</div> +<hr> +</div> + +<!------------------------------------------------------------------------> + +<p> +Once you have MathJax working properly, view the <a +href="index-images.html">image mode test page</a> to make sure that the +image fallback mode is working as well. +</p> + +</blockquote> + +</body> +</html> |