Quantcast
Viewing latest article 7
Browse Latest Browse All 10

Installing WP LaTeX

When I first started blogging I was really interested in having LaTeX equation support. After all, software development hasn’t always been my vocation – I did go to school for electrical engineering and have had my fair share of math classes Image may be NSFW.
Clik here to view.
:)

2 years ago getting LaTeX working within WordPress was incredibly difficult. It required installing ImageMagick, dvips, and a myriad of other tools on your hosting server. I asked Hostgator support if this was possible, only to be told an emphatic ‘no’ – the Linux VMs used to host my website were significantly sandboxed and this was not possible, so I gave up.

Fast forward to today – not only has WordPress made significant advances in update functionality – it is now trivial to add new plugins. What used to take hours on an SSH commandline now is possible with only a few clicks.

Here are the steps to follow:

  1. Log into the admin console and click on the Plugins tab.
  2. Click on Add New
    Image may be NSFW.
    Clik here to view.
    image
  3. Search for ‘latex’
  4. Find “WP Latex” in the list and click on ‘Install Now’:
    Image may be NSFW.
    Clik here to view.
    image
  5. Go to the Plugins tab, find ‘WP LaTeX’, and click ‘Active’

Now it’s just a matter of composing a blog post with equations embedded between Image may be NSFW.
Clik here to view.
image
tags.

I like using Windows Live Writer for composing blog post, and this works perfectly. All that I need to do is create a new paragraph, enter the equation text in LaTeX, and then center align it (screenshot of WLW):

Image may be NSFW.
Clik here to view.
image

Here’s the rendered equation:

Image may be NSFW.
Clik here to view.
e^{i\pi}+1=0

Very cool. Image may be NSFW.
Clik here to view.
:)

Image may be NSFW.
Clik here to view.

Viewing latest article 7
Browse Latest Browse All 10

Trending Articles