Monday 12 March 2012

Math

I was experimenting with the new MathML, Markup Language for Displaying Equations in your browser.

There are a lot of different ways, apparently, of displaying equations. Most of them are JavaScript libraries[3] [4] that have been written.

I'm opting for "a standard", described at [1].

Thank heavens that it is possible to use MathML (3.0) without having to use html+xml and other requirements like in MathML 2.0. [2]

Unfortunately, it's support in browsers is still sorely lacking, for example Long Division is one of the new things in MathML, and it is either not well supported, or I am doing something seriously wrong.

Examples


The Quadratic Formula


x=b±b24ac2a

Long Division


٣ #x0664;٣٥٫٣ ١٣٠٦ ١٢ ١٠ ٩ ١٦ ١٥ ١٫٠ ٩ ١

Well, the long division example shows in my browser as utter junk. I hope someone else has more luck in viewing. Let me know. The examples in [5] also show non-working long division.

Browsers


Math MSIE 9 Chrome 17 FF10FF 8 FF 6Opera 11
EquationsXXOO OX
Long divisionXXXX XX

[1] MathML 3.0
http://www.w3.org/Math/
[2] MathML 3.0 Spec
http://www.w3.org/TR/MathML3/
[3] Math Jax
http://www.mathjax.org/
[4] Html5MathML
http://html5mathml.googlecode.com/svn/trunk/test1.html
"left/\right"
a notation that is commonly used in Netherlands for Long Division[2]
MathML, Firefox, and Firemath
http://lwn.net/Articles/440313/
[5] MathML 3.0 Spec Test Suite
http://www.w3.org/Math/testsuite/build/mathml3/frameset-full.xhtml
An introduction to MathML
http://www.ibm.com/developerworks/xml/library/x-mathml3/
Blogging Mathematics
http://holdenweb.blogspot.com/2011/11/blogging-mathematics.html
Mozilla MathML Project
https://developer.mozilla.org/en/Mozilla_MathML_Project
Firefox Mathml Demo
http://www.mozilla.org/projects/mathml/demo/
Firemath - Editor - Plugin for Firefox
http://www.firemath.info/

No comments:

Post a Comment