Wednesday, 22 May 2013

Success - here's how...

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

http://www.youtube.com/watch?v=zuXeU3l042Y

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 -->
<SCRIPT SRC="http://people.brunel.ac.uk/~icsrsss/MathJax/MathJax.js">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
    tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}
  });
</SCRIPT>


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
\[
\frac{1}{\sqrt{\pi}}
\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