MathJax support

Monday, November 2, 2020

Math (LaTeX) support on Blogger


Blogger can support LaTEX-style math, if you install a couple of scripts as a cross-column gadget. Here's the scripts running now (the inline math seems a bit finicky!):

<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

Some instructions from MathJax here: https://www.mathjax.org/#gettingstarted.

A standalone equation (even if it's inline in the source): $$e^{i \omicron} = ?$$

And a couple more standalone equations:

$$e^{i \pi} = -1$$

\[e^{i \gamma} = ?\]

An inline equation (seems a bit finicky): \(\gamma\) and \(e^{i\pi} = -1\)
$$e^{i \pi} = -1$$

$$e^{i \pi} = -1$$


If you really want inline equations, you can probably add the MathJax JavaScript module and a slightly different syntax to include math. For details, Google inline equations blogger mathjax or something similar.