2010-12-11

Displaying math in HTML

Displaying nice-looking mathematics in HTML has always been a source of frustration. But that is slowly changing. The following are two ways for displaying math nicely in browsers:
  • MathML: is a markup language for math that can be embedded in HTML. Firefox already supports it, WebKit will soon (and thus Safari and Chrome). You can check out MathML in a demo document.
  • MathJax: a JavaScript-based solution that works in all major browsers. It can be integrated into many blogging engines and wikis. The image below is an example of a formula displayed in Google Chrome. In Chrome, it is not a bitmap image, it scales smoothly!
Now all someone has to do is to tell Amazon how to integrate one of these technologies into their Kindle software.

No comments: