One very nice feature of WordPress is its support for math mode with commands for formatting equations:

There. Schrödinger’s Equation. Oooooh! This was done by incorporating the following code into the HTML source of this posting:

**$latex i\hbar\frac{\partial}{\partial t}\Psi = \hat{H}\Psi$**

Here’s another example, the derivation of the formula for the volume of a cone, featuring an integral:

The source code for this is as follows:

**$latex V = \pi \frac{r^2}{h^2} \displaystyle\int^h_0 x^2\, dx = \frac{1}{3} \pi r^2 h;$**

What WordPress’ documentation on this topic doesn’t mention is that the commands should be inserted with the post editor in HTML mode, not Visual mode. Otherwise, the commands can get munged and won’t get parsed correctly. I only wish that Blogger had this feature as well, since my primary blog is there.

### Like this:

Like Loading...

*Related*

## About Glen Mark Martin

MCSE-Messaging. Exchange Administrator at the University of Texas at Austin. Unrepentant armchair physicist.

Pingback: No LaTeX support? Drat. : The AEMS Flogger