Convert to MathJAX notation for equations