Mathematical equations in this site are nicely generated by MathJax via simply using language. See here for setting header.php file.
(1)
(2)
(3)