Wednesday, 31 December 2025

Another try...

Trying after a long while to see if I can improve the situation for mobile devices. Here, as a test, is an inline equation, \( y = x^2 \), and then, next, a displayed one \[ y = \int^x y'(\xi)\, d\xi \] These used \-escaped versions of ( ... ) and [ ... ] (not dollar signs). This update is based on a google search (31 Dec 2025) where an AI response to the search suggested using async='async' src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js' type='text/javascript'>  inside < - script ... > and < / script> tags immediately before /head, and changing the mobile view to custom. I commented out the earlier MathJax addition as mentioned in the earlier posts. This seems to now work on my mobile at least!

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 $