img.latex_eq { padding: 0; margin: 0; border: 0; }

## Monday, 5 November 2007

### Bwahahahaha! LaTeX on Blogger.

I learned about two weeks after I started blogging that you can get LaTeX to work on WordPress. It was the first time (but certainly not the last) that I thought to myself why, oh why the heck did I not blog on WordPress?

Well, I'll probably still think that from time to time, but I've found a way to use LaTeX on Blogger. So let's see if I can get it to work:

$\int_a^b f(x) e^{\mathrm{i}\omega g(x)} \mathrm{d} x \sim \sum_0^{\infty} \frac{1}{(-\mathrm{i}\omega)^{n+1}}\left[\frac{f_n(b)}{g'(b)}e^{\mathrm{i}\omega g(b)} - \frac{f_n(a)}{g'(a)}e^{\mathrm{i}\omega g(a)} \right]$

Hey! Magic.

For those of you who are wondering what the heck is going on, LaTeX is a typesetting program that you can use to produce mathematical formulae. For example, that integral on the left of the above expression is produced by putting the following into LaTeX:

\int_a^b f(x) e^{\mathrm{i}\omega g(x)} \mathrm{d} x

I'm told it works better on a white background. So if, by the time you see this, I've changed my blog template, that will be why.