Mathematician by training. Works for MathJax.