Mathematics and Computation

May 12, 2005

ASCIIMathML

Filed under: General — Andrej Bauer @ 14:30

I have found a good way to write math in web pages. ASCIIMathML is a piece of javascript that translates simple-minded Latex-like ASCII math to MathML, but only if the browser supports MathML. Since the input syntax is very simple, the expressions are quite readable in the raw form, as well.

For example, if I type

`forall x in RR exists y in CC. (1-x^2 )/sqrt(1+y^4)=1`

it is seen as `forall x in RR exists y in CC. (1-x^2 )/sqrt(1+y^4)=1`. If you are going to post to the blog, you may be interested in the ASCIIMathML syntax reference page.

To enable MathML on your computer, install mathplayer plugin
if you are using Internet Explorer. For Firefox and Mozilla, you have to install math fonts.

2 Comments »

  1. ASCIIMathML rocks! I’ve just started using it on my webpage.

    Anthony To

    Comment by twidjaja — May 21, 2005 @ 03:54

  2. […] blog, I suppose I should write more about Computer Science. To do that, first I followed the steps of our friendly alum Andrej Bauer and installed ASCIIMathML. The actual syntax of […]

    Pingback by [Lowerbounds, Upperbounds] » ASCIIMathML Installed — July 12, 2005 @ 22:25

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Powered by WordPress

Listed on BlogShares