WordPress supports the basic LaTeX math mode.

How does it work? Simply type `$`

`latex ...`

`$`

, where you replace `...`

with the LaTeX math code.

Here is an example formula,

`$`

`latex f(x_1,x_2)=x_1^2+x_2^2`

`$`

which translates to:

The original post on the official WordPress blog can be found here.

### Like this:

Like Loading...

*Related*

Andi

Hey, great page! I really learned a lot and will be back soon 🙂

You might want to put this entry’s code in some sort of code environment, it’s hard to figure out what to do the way it is now 😉

tom

Unfortunately, this is not possible because WordPress will always try to translate the examples to LaTeX :(.

Cheers,

Tom

harmyder

How to add number to a formula like with \begin{equation} (seems not tto work in wordpress)

tom

Hi Harmyder,

If I understand it correctly, what WordPress provides is equivalent to the single dollar math mode. Although there is a way to produce formulas using

`\begin{aligned}...\end{aligned}`

, these will not be numbered.You might want to give the WP QuickLaTeX plugin a try. From the plugin site, it seems they support equation numbering.

Let me know how it goes.

Cheers,

Tom