LaTeX

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

$latex YOUR MATH HERE $

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 $

produces

x^2y_3+6=z_2^7

You can also write fractions this way:

$latex \frac{a}{b} $

producing

\frac{a}{b}

You can make a permutation by writing

$latex (12)(345) $

which gives

(12)(345)

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

http://faq.wordpress.com/2007/02/18/can-i-put-math-or-equations-in-my-posts/

For lots of math symbols you can use, see

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

For more fun examples to work from, look at

http://kogler.wordpress.com/2008/03/10/blogging-with-latex-content/

Make your posts look beautiful!

Advertisements

Responses

  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:
    http://www.sixthform.info/maths/?p=84

    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 http://fgb7s3Ffjsev7yrbvqqcf7.com

  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:

WordPress.com Logo

You are commenting using your WordPress.com 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: