Added support for equations written in LaTeX