I'm very elated by the fact that it has LaTeX support. I would like to know whether the \begin{align} \end{align} environment could be used, because it looks very good since the equations are aligned. If not how can i make this LaTeX command look better?

\int \frac{1}{(2x^{2}+4x-2)^{-\frac{3}{2}}} \ \textrm{dx} &= \frac{\sqrt{2}}{8} \int\frac{\sec{t} \cdot \tan{t}}{\tan^{3}{t}} \ \textrm{dt} \\\ &= \frac{\sqrt{2}}{8} \int\frac{\cos{t}}{\sin^{2}{t}} \ \textrm{dt}
  • For anyone else wondering what the heck LaTeX is, for ref: en.support.wordpress.com/latex
    – t31os
    Feb 17, 2011 at 15:12
  • 1
    To be clear, are you talking about a blog hosted at WordPress.com, or one you host yourself? You can edit your question and add wordpress.com as a tag to make this clear.
    – Jan Fabry
    Feb 17, 2011 at 16:05
  • re tagged the question because it had nothing to do with category
    – Bainternet
    Feb 17, 2011 at 16:27

3 Answers 3


As mentioned, WordPress does not provide general LaTeX support, but usually only mathmode support. Thus you have to use something that works from within mathmode, and not its own environemnt. In this case, there is a very useful one called 'aligned' (with the 'ed' at the end). To render the above in your default WordPress.com LaTeX (or even in MathJax-LaTeX plug-in), use the following code:

\int \frac{1}{(2x^{2}+4x-2)^{-\frac{3}{2}}} \ \textrm{dx} &= \frac{\sqrt{2}}{8} \int\frac{\sec{t} \cdot \tan{t}}{\tan^{3}{t}} \ \textrm{dt} \\ &= \frac{\sqrt{2}}{8} \int\frac{\cos{t}}{\sin^{2}{t}} \ \textrm{dt} 

From the link t31os has provided you can clearly see that:

One thing to keep in mind is that WordPress puts all of your \LaTeX code inside a \LaTeX math environment. If you try to use \LaTeX that doesn’t work inside the math environment (such as \begin{align} ... \end{align}), you will get an error.

so no you can't but, you can use Youngwhan's Simple Latex plugin that has an align option.


following Jan's comment you can use google chart api


and isert it as the img src.

Hope this helps

  • Of course, if you are on WordPress.com you won't be able to use this plugin. But I think there are other sites that allow you to create images from LaTeX code, maybe if they support this syntax it would be possible to include those images?
    – Jan Fabry
    Feb 17, 2011 at 16:29
  • @Jan - yep there are some apis for that like google chart api, i updated the answer
    – Bainternet
    Feb 17, 2011 at 16:36
  • @בניית אתרים: That image has "align" in it, so I think Google also ignores it. A related question on Stack Overflow lists many alternatives, at least one of them supports this syntax.
    – Jan Fabry
    Feb 17, 2011 at 16:44
  • @jan : it ignores it but once you have an image you can align using html/cds or am i missing the point?
    – Bainternet
    Feb 17, 2011 at 16:54

This would work out of the box with the QuickLaTeX plugin (which I believe is only available for self-hosted WP blogs so I'm not sure this applies to the OP). The input

  \int \frac{1}{(2x^{2}+4x-2)^{-\frac{3}{2}}} \textrm{d}x
    &= \frac{\sqrt{2}}{8} \int\frac{\sec{t} \cdot \tan{t}}{\tan^{3}{t}} \textrm{d}t \\
    &= \frac{\sqrt{2}}{8} \int\frac{\cos{t}}{\sin^{2}{t}} \textrm{d}t

gives me on my blog

enter image description here

  • Actually just native LaTeX works with QuickLaTeX: \begin{align*} ... \end{align*}. No need for [latex] nor [preamble] tags. Dec 24, 2015 at 1:57

Your Answer

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