topical media & game development
sample-js-mathml.htm / htm
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>ASCIIMathML.js demo</title>
<script type="text/javascript" src="sample-js-mathml.js"></script>
<script type="text/javascript">
translateOnLoad=false;
function display() {
var str = document.getElementById("inputText").value;
var outnode = document.getElementById("outputNode");
var n = outnode.childNodes.length;
for (var i=0; i<n; i++)
outnode.removeChild(outnode.firstChild);
outnode.appendChild(document.createTextNode(str));
AMprocessNode(outnode);
}
</script>
<style type="text/css">
#menu, #title, #subtitle, #author {text-align: center}
body {font-family: Arial; background-color:beige;}
</style>
</head><body onload="display()">
<div id="menu">
| <a href="http://www1.chapman.edu/%7Ejipsen/mathml/asciimath.html">Home Page</a> |
<a href="http://www1.chapman.edu/%7Ejipsen/mathml/asciimathsyntax.html">Syntax</a> |
<a href="http://www1.chapman.edu/%7Ejipsen/mathml/asciimathdemo.html">Try it</a> |
<a href="http://www1.chapman.edu/%7Ejipsen/mathml/asciimathcalculator.html">Calculator</a> |
<a href="http://www1.chapman.edu/%7Ejipsen/mathml/asciimatheditor/">Editor</a> |
<a href="http://mathcs.chapman.edu/%7Ejipsen/mathml/asciimathdownload.html">Download</a> |
<a href="http://mathcs.chapman.edu/%7Ejipsen/math/index.php/ASCIIMathML/ASCIIMathGraphs.html">Graphs</a> |
<a href="http://mathcs.chapman.edu/%7Ejipsen/math/index.php/ASCIIMathML/ASCIIMathFAQ.html">ASCIIMath FAQ</a> |
<a href="http://mathcs.chapman.edu/%7Ejipsen/math/index.php/ASCIIMathML/ASCIIMathMLSandbox.html">Sandbox</a> |
<a href="http://groups.google.com/group/asciimath">Comments</a> |
</div>
<h2 id="title">
ASCIIMathML.js: Try it yourself (HTML version)
</h2>
<center>
<b>
This page requires Internet Explorer 6+<a href="http://www.dessci.com/en/products/mathplayer">MathPlayer</a>
or Mozilla/Firefox/Netscape 7+.
</b>
<p>
Edit the formulas below (the display updates dynamically).
If you know (La)TeX formula syntax, you can try some of that as well
(LaTeX formulas work best when enclosed in
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.