I am Joannes Vermorel, founder at Lokad. I am also an engineer from the Corps des Mines who initially graduated from the ENS.

I have been passionate about computer science, software matters and data mining for almost two decades. (RSS - ATOM)

« Installing VMWare Server 2.0 on a OVH RPS | Main | Creating an auto-update framework with WiX »

Embedding maths in a Google Gadget

Google sites is a great product to increase productivity of businesses of any size. At Lokad, one feature that I am really missing from Google Sites is the ability the embed clean mathematical formula in regular web pages.

Actually, a simple and yet very practical way of achieving a decent mathematical display consists of using a JavaScript ASCII Maths to MathML converter. Yet, Google Sites does not support direct 3rd party script inclusion either (which is probably on of the most painful limitation of Google Sites, but I digress).

Thus, I have decided to spend some time toying with the Google Gadgets to figure out if it was possible to circumvent this limitation through widgets. The resulting gadget can be found here. See also the screenshot below.

The syntax is identical the one of AsciiMathML. Enjoy.

Known limitations:

  • Works poorly with Internet Explorer. Since MathML is not natively supported, you need a MathML addon (it's free though).

  • Gadget preferences can't be changed in syndicated environment such as Google Sites. Which means that you have to edit first the page in Google Sites if you want the change made to the gadget to be persistent.

Reader Comments (3)


We developped a math editor (you need latest flash) :

If we removed the editor part and added some config to use it as a math renderer, would it be a good solution?


November 27, 2008 | Unregistered CommenterCarl-Alexandre Malartre

Actually, the main issue, that I was discussing about, is the current lack of flexibility of the Google Apps when it comes to integrate custom content - even raw MathML. Obviously, if embedding MathML was becoming possible in Google Apps, your editor (nice job btw) would be very handy.

December 1, 2008 | Unregistered Commenterjoannes

Hi Joannes, I'm not sure if I'm being really dumb or if something has changed in the google gadgets api but I can't get this to work. have you tried it recently?


December 14, 2009 | Unregistered CommenterMartin
Comments for this entry have been disabled. Additional comments may not be added to this entry at this time.