## Latex is now accepted in comments

Now LaTex works. I just added a plugin called WP Latex. Note: LaTex does not work in the comment preview, but it does show in the comment when it is submitted.

The plugin converts inline latex code into PNG images that are displayed in your blog posts and comments. Use either [xxxlatex]e^{\i \pi} + 1 = 0[/latex] or $xxxlatex e^{\i \pi} + 1 = 0$ syntax.

Where xxxlatex should be replaced by ‘latex’ without the quote.

• $e^{\i \pi} + 1 = 0$
• $\frac{\frac{1}{x}+\frac{1}{y}}{y-z}$

Now, who can suggest a simple tutorial for basic math notation?

Update 25.01.2012:
http://www.codecogs.com/latex/eqneditor.php lets you preview your LaTex so you can see that it is OK before you use it in a comment. Link thanks to Richard Sabey.

### 6 Responses to “Latex is now accepted in comments”

1. John S. Says:

Okay, I had to see for myself.

$U_{tmy} =t_{1-\alpha/2,n-p} \left[ s^2_{base} \mathbf{ \left( 1' \left( H_{tmy} \tilde{H}_{base} H'_{tmy} + I \right) 1 \right) } + s^2_{post} \mathbf{ \left( 1' \left( H_{tmy} \tilde{H}_{post} H'_{tmy} + I \right) 1 \right) } \right]^{1/2}$

2. John S. Says:

It works!

3. John S. Says:

Here is a good tutorial:

http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/

For producing mathematical expressions in comments, just read the section entitled Producing Mathematical Formulae using LaTeX

4. Jan Nordgreen Says:

A warning though: “A woman from Essex has won a legal battle to prove that she can’t work because of her allergy to latex.”

5. Jan Nordgreen Says:

6. The Dude Says:

Hi,

that’s not a tutorial but if you don’t remember the code for a special symbol, just draw it there and it will find it out.

http://detexify.kirelabs.org/classify.html

It’s pretty neat !

How to use LaTeX in a comment.