Source: http://jf.burnol.free.fr/v13/mathastext.pdf