LaTeX in HTML

MathJax is a powerful tool to display latex based mathematical code in almost all web browsers. For example the continued fraction expression of \(e\) and \(\pi\) can be easily displayed as \[ e=2+\frac{1}{1+\frac{1}{2+\frac{1}{1+\frac{1}{1+\frac{1}{4+\dots}}}}}\text{ and }\pi=3+\frac{1}{7+\frac{1}{15+\frac{1}{1+\frac{1}{292+\frac{1}{1+\dots}}}}} \] Stopping at one point gives some of the most famous fraction approximations of \(\pi\), e.g. the two approximations \[ \pi\approx 3+\frac{1}{7+\frac{1}{15}}=\frac{333}{106}\text{ and } \pi\approx 3+\frac{1}{7+\frac{1}{15+\frac{1}{1+\frac{1}{292}}}}=\frac{103993}{33102}. \] Note that these examples are not pictures, but copyable text (try right click)! One can copy them to e.g. LaTeX or Mathematica.