Wednesday, 22 May 2013

Success - here's how...

To get the maths to work I found a video here:

which shows how to get maths using mathjax. In the main blogger page look down the menu on the left and click on "Template". Then, to the right, click the "Edit HTML" button. Between <head> and </head> paste the following:

<!-- set up MathJax -->
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
    tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}

Note that the maths doesn't seem to show up properly on the `Preview' screen. To give it a proper test, let's recall that
\int_{\mathbb{R}} e^{-x^2}\, dx = 1,
and wonder how normal life would be if this hadn't been figured out...

No comments:

Post a Comment