www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

index-images.html (3913B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>MathJax Test Page</title>
      5 <!-- Copyright (c) 2009-2015 The MathJax Consortium -->
      6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      7 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
      8 <meta name="viewport" content="width=device-width, initial-scale=1">
      9 
     10 <script type="text/x-mathjax-config">
     11 //
     12 //  Do NOT use this page as a template for your own pages.  It includes 
     13 //  code that is needed for testing your site's installation of MathJax,
     14 //  and that should not be used in normal web pages.  Use sample.html as
     15 //  the example for how to call MathJax in your own pages.
     16 //
     17   MathJax.HTML.Cookie.Set("menu",{});
     18   MathJax.Hub.Config({
     19     extensions: ["tex2jax.js"],
     20     jax: ["input/TeX","output/HTML-CSS"],
     21     "HTML-CSS": {
     22       availableFonts:[], preferredFont: null, webFont: null,
     23       styles: {".MathJax_Preview": {visibility: "hidden"}}
     24     } 
     25   });
     26 
     27 (function (HUB) {
     28   
     29   var MINVERSION = {
     30     Firefox: 3.0,
     31     Opera: 9.52,
     32     MSIE: 6.0,
     33     Chrome: 0.3,
     34     Safari: 2.0,
     35     Konqueror: 4.0,
     36     Unknown: 10000.0 // always disable unknown browsers
     37   };
     38   
     39   if (!HUB.Browser.versionAtLeast(MINVERSION[HUB.Browser]||0.0)) {
     40     HUB.Config({
     41       jax: [],                   // don't load any Jax
     42       extensions: [],            // don't load any extensions
     43       "v1.0-compatible": false   // skip warning message due to no jax
     44     });
     45     setTimeout('document.getElementById("badBrowser").style.display = ""',0);
     46   }
     47 
     48   if (HUB.Browser.isMSIE && !HUB.Browser.versionAtLeast("7.0")) {
     49     setTimeout('document.getElementById("MSIE6").style.display = ""');
     50   }
     51   
     52 })(MathJax.Hub);
     53 
     54 </script>
     55 <script type="text/javascript" src="../MathJax.js"></script>
     56 
     57 <style>
     58 .warning {
     59   color: #800020;
     60   background-color: #FFF8F8;
     61   border: 2px solid red;
     62   margin: 1em 5em;
     63   padding: 1em;
     64 }
     65 </style>
     66 </head>
     67 <body>
     68 
     69 <noscript>
     70 <div style="color:#CC0000; text-align:center">
     71 <b>Warning: <a href="http://www.mathjax.org/">MathJax</a>
     72 requires JavaScript to process the mathematics on this page.<br />
     73 If your browser supports JavaScript, be sure it is enabled.</b>
     74 </div>
     75 <hr>
     76 </noscript>
     77 
     78 <blockquote>
     79 
     80 <h1>MathJax Test Page</h1>
     81 
     82 <p>
     83 If you see typeset mathematics below, then MathJax is working.  If you see
     84 TeX code instead, MathJax is not working for you.
     85 </p>
     86 <!------------------------------------------------------------------------>
     87 <hr>
     88 
     89 <p>
     90 \[
     91 \frac{-b\pm\sqrt{b^2-4ac}}{2a}
     92 \]
     93 </p>
     94 
     95 <div style="color:green">
     96 <div style="text-align:center; color:red; font-size:120%" class="MathJax_Preview">
     97 MathJax is not working!
     98 </div><script type="math/tex; mode=display">
     99 \bf MathJax\ Image\ Fonts\ Appear\ to\ be\ Working!
    100 </script>
    101 </div>
    102 
    103 <hr>
    104 
    105 <!------------------------------------------------------------------------>
    106 
    107 <div id="badBrowser" style="display:none">
    108 <div class="warning">
    109 <b>WARNING</b>: The browser you are using does not appear to support
    110 MathJax, so we can't test if MathJax is working.  Please try a different
    111 browser, or a newer version of your browser in order to test MathJax.
    112 </div>
    113 <hr>
    114 </div>
    115 
    116 <!------------------------------------------------------------------------>
    117 
    118 <div id="MSIE6" style="display:none">
    119 <div class="warning">
    120 <b>WARNING</b>: Internet Explorer 6 does not display images with
    121 alpha-channel transparency very well, so this test will not look good.
    122 But in practice, IE6 will use web-based fonts rather than image fonts
    123 (unless the page forces images, as this one does) so the poor quality
    124 rendering on this test page does not indicate a problem with MathJax.
    125 </div>
    126 <hr>
    127 </div>
    128 
    129 <!------------------------------------------------------------------------>
    130 
    131 If the mathematics does not show up properly, you may not have not
    132 installed the MathJax web fonts correctly.  Follow the steps in the 
    133 <a href="../docs/html/installation.html">installation instructions</a>.
    134 <p>
    135 
    136 </blockquote>
    137 
    138 </body>
    139 </html>