Correctly render equations using LaTeX mathematics notation