Did you know you can write mathematics in WordPress blog posts?  It’s easy.  To add an equation to a post, you surround your math with `$latex’ at the beginning and `$’ at the end. So, you write


You can use symbols like + x – and for exponents you can write ^.  For subscripts you can use _.  So for example,

$latex x^2y_3+6=z_2^7 $



You can also write fractions this way:

$latex \frac{a}{b} $



You can make a permutation by writing

$latex (12)(345) $

which gives


And you can make a matrix this way:

$latex \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix} $

and you’ll get

\begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix}

For tips on changing the size or colour of your math, or more about how to write math equations in LaTeX math mode, visit

For lots of math symbols you can use, see

For more fun examples to work from, look at

Make your posts look beautiful!


  1. Oh, and for proofs you can make the little square \square with the command \square.

  2. Also, LaTeX can do polynomial long division for you automatically:

    this might be useful on the next pset 🙂

  3. Wow. See, that’s why LaTeX rocks. It will do your homework for you.

  4. uYecfl

  5. Let me try whether it works!

    Solve the Diophantine equation: x^3=y^63=z^3

  6. You mean
    x^3+y^3=z^3 ?

    Does wordpress support Latex support in posts also?

  7. Please I still don’t understand how to type maths in a wordpress dashboard using latex.

  8. $latex I’m writing latex

  9. I’m writing latex

  10. test

    x^3+y^3 = z^3

  11. test

    x^3 + y^3 \mapsto z^3

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: