LaTeX Math Equations in WordPress

Getting LaTex style math equations to work in WordPress is actually pretty easy. I followed the advice here and everything seemed to work pretty well.

Besides installing wp-hooks and jsMath I also installed jsMath fonts so that I don’t have to rely on end users having the correct font installed in order to view the LaTex equations.

Here’s an example (Schwarz inequality):

$\left[\int_a^b x(t)y(t)dt\right]^2\leq\int_a^bx^2(t)dt\int_a^by^2(t)dt$

Be Sociable, Share!