Things you can do with MathML

Published:

Last updated:

Estimated reading time: 2 minutes

For a while, I’ve been enjoying the awesomeness of mathML. I’ve not had specific use cases but just playing around with it gives me fun. Sometimes I idly just write equations that should be on a paper in my local web pages.

There’s a lot you can learn about MathML by looking through the MDN spec. I’ll just drop in the little parts I’ve played. This has been for so many years and it still available but it is only supported by gecko browsers (Mozilla Firefox, Iceweasel, some others) .

I use Chromium as my major browser and I need to see all of my works of any sort within it. For this reason I had gotten a mathML extension for chrome browsers that makes it work fine. However, I find it disturbing that some websites using mathML readily assume that you can’t use mathML from chrome browsers so they check if your browser is gecko based and if not, they serve you up with maybe a warning.

I’ve been able to view mathML on those few websites that do not do these from my Chromium but whenever I hit one of the presumptuous websites, I just have to move over to iceweasel even if it’s not so convenient.

Here are some play-arounds with mathML:

Matrix:(248){481681632163264}
More:πr2Xcb
x+y32,(2,3)

For more on mathML, check out the MDN docs

Update - 12/14/2014

When I said some sites assume that you can't use mathML and prevent usage on non-gecko browsers, I've majorly had this Fred Wang's presentation in mind. I got an email from Fred making me understand why that was necessary. Here it is:

MathJax has many issues with CSS, Javascript, Unicode fonts, RTL writing etc so I doubt your chrome extension can make http://fred-wang.github.io/MozSummitMathML/index.html work as expected. This page was designed for demo presentation at the Mozilla summit so this verification is done on purpose to prevent people from opening it into a browser with poor HTML5 support. For normal pages (not MathML demos), I use https://github.com/fred-wang/mathml-warning.js on my Website so that should not be a problem.

Fred is among the developers at Mozilla working on mathML

mathmathML

Newer post

Appreciating developers

Older post

Styling for print media

Responses

You may respond to this post by referencing it on your blog, twitter, or any website