I am using LaTex from the JetPack plugin, which is similar but not identical to TeX for maths, for my WordPress blog where I post course work. How do I get the generated formulae to centre on the line so the equals sign lines up with the normal text that I have typed? to see what I mean please check this blog entry.

here are a the two offending pieces of LaTeX for the last two equations of the equations:

$latex = \large{\dfrac{1}{62,000}} $


\left(\large{\dfrac{10,000}{62,000,000}}\right) 100\% $

thanks for your time :)

1 Answer 1


I haven't used that plugin, so I can't speak to whether there are any configurations that would help. However, I think your issue could be solved with a simple css rule:

img.latex {
    vertical-align: middle;

would center all your LaTeX-generated images on the line they fall on.

  • A quick test in the Chrome debugger confirms that this would do the trick.
    – EAMann
    Dec 29, 2011 at 16:51
  • Added it as a custom css part inside the theme options, works like a charm, thank you so very much for such a quick, simple answer :) Dec 29, 2011 at 17:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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