123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>MathJax Test Page</title>
- <!-- Copyright (c) 2009-2013 The MathJax Consortium -->
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <script type="text/x-mathjax-config">
- //
- // Do NOT use this page as a template for your own pages. It includes
- // code that is needed for testing your site's installation of MathJax,
- // and that should not be used in normal web pages. Use sample.html as
- // the example for how to call MathJax in your own pages.
- //
- MathJax.HTML.Cookie.Set("menu",{});
- MathJax.Hub.Config({
- extensions: ["tex2jax.js"],
- jax: ["input/TeX","output/HTML-CSS"],
- "HTML-CSS": {
- availableFonts:[], preferredFont: null, webFont: null,
- styles: {".MathJax_Preview": {visibility: "hidden"}}
- }
- });
- (function (HUB) {
-
- var MINVERSION = {
- Firefox: 3.0,
- Opera: 9.52,
- MSIE: 6.0,
- Chrome: 0.3,
- Safari: 2.0,
- Konqueror: 4.0,
- Unknown: 10000.0 // always disable unknown browsers
- };
-
- if (!HUB.Browser.versionAtLeast(MINVERSION[HUB.Browser]||0.0)) {
- HUB.Config({
- jax: [], // don't load any Jax
- extensions: [], // don't load any extensions
- "v1.0-compatible": false // skip warning message due to no jax
- });
- setTimeout('document.getElementById("badBrowser").style.display = ""',0);
- }
- if (HUB.Browser.isMSIE && !HUB.Browser.versionAtLeast("7.0")) {
- setTimeout('document.getElementById("MSIE6").style.display = ""');
- }
-
- })(MathJax.Hub);
- </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\ Image\ Fonts\ Appear\ 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="MSIE6" style="display:none">
- <div class="warning">
- <b>WARNING</b>: Internet Explorer 6 does not display images with
- alpha-channel transparency very well, so this test will not look good.
- But in practice, IE6 will use web-based fonts rather than image fonts
- (unless the page forces images, as this one does) so the poor quality
- rendering on this test page does not indicate a problem with MathJax.
- </div>
- <hr>
- </div>
- <!------------------------------------------------------------------------>
- If the mathematics does not show up properly, you may not have not
- installed the MathJax web fonts correctly. Follow the steps in the
- <a href="../docs/html/installation.html">installation instructions</a>.
- <p>
- </blockquote>
- </body>
- </html>
|