Monday 22 March 2010

MathML and Blogger

I'm planning a series of blog posts that are going to be heavy on the mathematics content and I've been researching the best way of displaying complex equations in a web browser.

MathML is my own personal winner but two pitfalls present themselves:

(1) Integration with Blogger

(2) Rendering MathML in Internet Explorer requires a plugin (Firefox can render it natively)

Problem (2) is easily solved by ignoring it. If you're stupid enough to (a) use Internet Explorer and (b) can't work out how to install the plugin then you're not going to understand my equations anyway.

Looks like problem (1) can be "solved" in a number of horrific ways, least painful of which seems to be the method described here. Now, if I've implemented it correctly, and you're using a proper web browser you should see a nicely formatted equation below:

k=1 k=n k 3 = n 2 (n+1) 2 4 = ( k=1 k=n k ) 2

4 comments:

  1. formatting doesn't work in chrome on mac :P

    ReplyDelete
  2. Surely the best option is just to embed a picture of the equations done in LaTeX?

    Your example equation is also highly unintuitive and surely deserves its own post in explanation.

    ReplyDelete
  3. Hi,

    try www.fmath.info. It use mathml.
    It is a free solution to display and edit an equation on web pages.

    Also you can display a graph in your pages.

    ionel alexandru
    www.fmath.info

    ReplyDelete
  4. Also the solution is working on IE, Firefox, Google Chrome and Opera. I had some problem with opera :)

    thank you and i wait your opinion
    ionel alexandru

    ReplyDelete