source: trunk/plugins/Equation/example.html @ 1357

Last change on this file since 1357 was 987, checked in by ray, 12 years ago

#1179 minor html syntax changes

  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
File size: 1.8 KB
RevLine 
[627]1<!DOCTYPE html
2     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
5<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6<head>
7  <title>AsciiMathML Example</title>
8  <script type="text/javascript">
9    var mathcolor = "black";
10  </script>
11  <script type="text/javascript" src="ASCIIMathML.js"></script>
12<style type="text/css">
13  body { font-family: sans-serif }
14  pre {border: dotted grey thin; background-color:LightYellow; }
15 
16  </style>
17</head>
18
19<body >
20<h1>AsciiMathML Example</h1>
21<p>This shows how to set up your page to display MathML using AsciiMathML</p>
22<p>Add this to the head section of your document:</p>
23<pre>
24
[767]25  &lt;!-- This block is optional configuration --&gt;
[627]26  &lt;script type="text/javascript"&gt;
27    var mathcolor = "black"; // You may change the color of the formulae (default: red)
28    var showasciiformulaonhover = false; // helps students learn ASCIIMath, set to false if you like  (default:true)
29    var mathfontfamily = "Arial"; //and the font (default: serif, which is good I think)
30  &lt;/script&gt;
[767]31  &lt;!-- THIS LOADS THE ACTUAL SCRIPT, PLEASE ADJUST THE URL --&lt;
32  &lt;script type="text/javascript" src="/xinha/plugins/Equation/ASCIIMathML.js"&gt;&lt;/script&gt;
[627]33
34
35</pre>
36<p><span class="AM">`int_a^bf(x)dx`</span></p>
[859]37<p><span class="AM">`[[a,b],[c,d]]`</span><br /></p>
[627]38<p>
[987]39 ASCIIMathML by <a href="http://www.chapman.edu/~jipsen" onclick="window.open(this.href,'_blank');return false;">Peter Jipsen</a>,
40<a href="http://www.chapman.edu" onclick="window.open(this.href,'_blank');return false;">Chapman University</a><br />
[859]41  For more information on AsciiMathML visit this page: <a href="http://www1.chapman.edu/~jipsen/mathml/asciimath.html" onclick="window.open(this.href,'_blank','');return false;">http://www1.chapman.edu/~jipsen/mathml/asciimath.html</a>
[627]42
43</p>
[859]44</body>
[627]45</html>
Note: See TracBrowser for help on using the repository browser.