WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed a Mathjax plugin on my local wordpress installation, and the plugin works fine. However, I can't get it to show Latex in-text; it creates an own line for every latex formula. I end up with pages like this (this is an extreme example to get my point across better :)):


How can I make it work to show Latex in-text? I've tried multiple plugins and they all seem to have this issue, with no option to resolve this.

share|improve this question
what kind of Latex commands do you use there ? – birgire Apr 19 '13 at 19:52
I just use $$ latex here $$. No matter what's between the dollar signs, the plugin will give it its own line. – Ben Apr 19 '13 at 20:00
up vote 6 down vote accepted

To create an inline formula in LaTeX we can use single dollar signs $:

This formula $x=y+z$ is inline.

To display math on its own line, we can use double dollar signs $$:

$$ a = b + c $$

Here is an example with Simple Mathjax installed:


This will be displayed like this:


share|improve this answer
I tried it and it worked. I cannot believe I missed that. Thank you! – Ben Apr 19 '13 at 20:10
I'm glad to hear it worked for you ;-) – birgire Apr 19 '13 at 20:20
+1, for LaTeX typesetting! F*** you, WYSIWYG. – Johannes Pille Apr 19 '13 at 20:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.