Saturday 25 May 2013

Android app doesn't speak LaTeX

The blogspot app on my phone doesn't show the maths.

If maths is the fuel of the technological world then how come we struggle to engage with it?

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...


First Blog - the maths test!

For me the aim of the first blog is always the same: can I type maths?

Assuming LaTeX works, here goes: $ y = x^2 $