Tuesday, 17 April 2007

LaTeX support

  <script type="text/javascript"src="http://www.maths.nottingham.ac.uk/personal/drw/LaTeXMathML.js"></script>

Suddenly, I can type (almost) anything in latex, e.g. \$a_n\$ becomes $a_n$. Fancy!
(If you do not see anything fancy then either Javascript is disabled in your browser or you are using Internet Explorer without MathML support. In the latter case you may want to download MathPlayer by DesignScience.)

Many thanks for Peter Jipsen the folks who developed ASCIIMathML, which serves as the basis of LaTeXMathML by Douglas R. Woodall. Examples showing what is possible with LatexMathML can be found here. This is an indispensable tool!

The nice thing is that MathML is scaleable:
$E=m c^2$

SoloGen said...

The only problem is that MathML doesn't work with Safari!

Csaba Szepesvári said...

True. Firefox might be an alternative for Mac people.

Hank said...

And Opera.

How would you do LaTeX equations in high resolution so that they could be printed on t-shirts though?

Csaba Szepesvári said...

I would use postscript or pdf assuming you have latex installed on your system.. But MathML fonts are also scalable; use HTML tags for this.

Csaba Szepesvari said...

Update to myself: I have switched to MathJax and now I am using the script to be found here:

http://irrep.blogspot.ca/2011/07/mathjax-in-blogger-ii.html

The quality is better, though the pages will load slower. But the days of ever increasing computer speed, this should not be a problem.

Oh, and I hope LaTeX works in the comments, now, too. Let's check: $Q^*(x,a) = \int dP(y|x,a) \left\{ r(x,a,y) + \gamma \max_{a'\in A} Q^*(y,a') \right\}$.

Csaba Szepesvari said...

Oh, and Safari now seems to support MathML..