WordPress.com just added support for using inline [Wikipedia], a freely available protocol for using typesetting and displaying mathematics and other technical information. It is powerful and not too difficult to learn the basics. Equations can now be placed within a paragraph, such as Einstein’s famous and world-changing . Of course, one could use regular HTML to display such an equation (*E*=*mc*^{2}), but where really shines is for more complex formulas. For instance, the volume of a sphere (using a cylindrical coordinate system) is . This is a very useful feature and I’m quite impressed that WordPress.com has offered it.

**Update: **WordPress.com has been busy! has now been enabled in comments as well. Furthermore, by using the\displaystyle command, one can have the equation display separately on its own line, instead of the vertically compact inline style used above. For instance, the volume equation I previously discussed would be displayed as follows:

For those unfamiliar with , it is really quite easy to learn. For reference, the code I have used here is as follows:

`$`

`latex \textrm{\LaTeX{}} $`

`$`

`latex E=mc^2 $`

`$`

`latex V=\int_0^{2\pi} \int_0^R \int_{-\sqrt{R^2-r^2}}^{\sqrt{R^2-r^2}} r \, dz \, dr \, d\theta = \frac{4}{3}\pi R^3 $`

`$`

`latex \displaystyle V=\int_0^{2\pi} \int_0^R \int_{-\sqrt{R^2-r^2}}^{\sqrt{R^2-r^2}} r \, dz \, dr \, d\theta = \frac{4}{3}\pi R^3 $`

Finally, is pronounced with a hard *k* sound at the end; it comes from the Greek letter Χ (chi). See Wikipedia for more information.

Any questions?

### Like this:

Like Loading...

and now it works in the comments, too. This will probably force me to finally learn some version of TeX. Took me half an hour to come up with the following, and I couldn’t even get the lower limit under the sigma:

code: $ latex \overset{\infty} \sum_{n=0} \frac{1}{n!} $

Wow, those WordPress people are fast! There are several good websites for explaining the formatting, especially since all we really need is the math stuff.

The reason you couldn’t get it is because what WordPress seems to be using is only the inline form, not the displayed form. The inline form is more vertically compact. See this demonstration, from

The Not So Short Introduction to LaTeX2e(PDF) by Tobias Oetiker, Hubert Partl, Irene Hya, and Elisabeth Schlegl.It seems that the display style has now been enabled as well. I may have to update my post. So now you can have both:

The code is as follows:

`$`

`latex \sum_{n=0}^\infty \frac{1}{n!} $`

`$`

`latex \displaystyle \sum_{n=0}^\infty \frac{1}{n!} $`

I’ve got the Short Math Guide for LaTeX by Michael Downes of the AMS open, and am trying to follow the (new for me) coding. I will try yours, thanks.

This is very cool.

Hmm, I’m not familiar with that work; is it available online?

The one I linked to is quite good, but it’s long. I only looked at the math-related sections around three-quarters of the way in, but it was very helpful.

I agree; this gives WordPress.com a significant advantage for those with mathematics-related blogs (as well as several other scientific/technical fields).

Thank you for your comment on my blog. Your equation worked. I had been having some problems with this feature but I guess it just takes some getting used to.

One more comment (very pedantic): according to Knuth, the X in LaTeX is supposed to be pronounced like the ch in Loch, not like a k.

Too bad there’s no “Preview comment” button. I have no idea what that is actually going to end up looking like.

http://www.ams.org/tex/short-math-guide.html

It was enough to get me started, but I will need, eventually, to look further.

Jonathan

You’re welcome, Pelkabo. And you’re right. I should clarify my post. Cyde, I agree; I’ve already posted a few malformed equations in comments. I’ll submit a feedback here suggesting that such a feature be considered, but I’m still quite pleased at the feature. Jonathan, I look forward to seeing what you’ll post next.

Let’s see:

and now for a gratuitous equation

cheers

🙂

take 2

😐

How to have equation numbers in the blog. I mean i want to know how to use ?

Glad you like it, Ripcurl! Unfortunately, signalssytems, I don’t know offhand how to number equations. I’d suggest reading one of the resources discussed in these comments, or looking for a forum devoted to .

not works on my blog with equation input

. Hope this will work. Thanks in advance 🙂