Added mathjax compatability definitions.