ASCIIMATHML is a free (GNU Lesser General Public License) javascript library which makes it easy to add mathematical expressions to web pages. It was written and is supported by Peter Jipsen, Associate Professor of Mathematics, at Chapman University (Orange, CA). Visit the ASCIIMATHML site to learn how to use this great package.
How does it work? When you wish to place mathematical expressions within your HTML content, you just embed inline ascii text expressions which conform to the ASCIIMATHML syntax. When your page loads, a supplied script will parse, translate and rewrite these ascii expressions into valid MATHML tags and content. The script library is included in your HTML header (<head> tag) :<script src='http://www1.chapman.edu/~jipsen/mathml/ASCIIMathML.js' type='text/javascript'>
Your browser must support MATHML. Mozilla Firefox works great, although you must have the correct MATHML fonts loaded.
Let's try it. Embed The following expression: \`int_0^1f(x)dx\`
`int_0^1f(x)dx`
Yup, it works on my Firefox v3.0.4 browser!
No comments:
Post a Comment