MathJax Cheatsheets and Introduction

Posted by Josh on March 31, 2017

MathJax is a JavaScript library that allows people to embed mathematical formulas in web pages using various formats like TeX, MathML, and ASCIImath. MathJax is installed on this website, so anyone can use it in the forum, blogs, and wiki.

Sample output: MathJax allows users to enter TeX and get back formulas like this:

$$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$

How to Install MathJax

You can install MathJax by including a <script> tag from a CDN like cdnjs. For example, you could copy/paste this script tag into your site, just before the closing </body> tag: