templates: updates "500" field to display better

* fixes LaTeX code and delimeters for better mathjax displaying