## LaTeX markup in WordPress

I’ve just discovered you can use LaTex markup in WordPress.

Here’s the example they give:

$i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>$

It works for me!

## About Jim Randell

Hacking Python for fun.
This entry was posted in Uncategorized. Bookmark the permalink.

### 2 Responses to LaTeX markup in WordPress

1. Jim Randell says:

And does it work in comments?

$i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>$

Yes. It does.

2. Jim Randell says:

So, my comment on Enigma 1728 might look like this:

By using the observation that the minimum distance occurs when J is travelling directly towards K, you can deduce the equation for the minimum distance as:

$d = \frac{ 25 }{ sin(\theta) } - \frac{ 24 }{ tan(\theta) }$

or more generally:

$d = g(\frac{ 1 }{ sin(\theta) } - \frac{ r }{ tan(\theta) })$

where $r$ is the ratio $\frac{ v_j }{ v_k }$ and $g$ is the initial distance between Joe and Ken.

By differentiation we find this is minimised in the case where $cos(\theta) = r$.

And the solution follows.

Very nice.