Archive for November, 2007

mimeTeX: LaTeX Math for Wordpress

Sunday, November 11th, 2007

This Wordpress plugin allows you to embed \LaTeX math formulas into your posts without having LaTeX installed at your server. Just like this:

\normalsize     f(x)=\int\limits_{-\infty}^x~e^{-t^2}dt

It was originally developed by Anlak.

The plugin just downloads the image from the public cgi script in Forkosh and copies it to your wp-content/cache.

I modified the plugin to correct two problems: the cgi script url has changed and there were some problems with tags and characters encoding. For the first issue I placed a script in my page that will keep the url updated without changes in the plugin code.

You can download this new version here.

Installation procedure:

  1. Copy both file to your “/wp-content/plugins”-folder.
  2. Create the folder “/wp-content/cache” and chmod it to 777.
  3. Go to the administration interface. In Plugins, activate it.


Some other examples:

\normalsize     f(x)=\int\limits_{-\infty}^x~e^{-t^2}dt

 \Large\hspace{5}\unitlength{1}    \picture(175,100){~(50,50){\circle(100)}    (1,50){\overbrace{\line(46)}^{4$\;\;a}}    (52,50){\line(125)}~(50,52;115;2){\mid}~(52,55){\longleftar[60]}    (130,56){\longrightar[35]}~(116,58){r}~(c85,50;80;2){\bullet}    (c85,36){3$-q}~(c165,36){3$q}    (42,29){\underbrace{\line(32)}_{1$a^2/r\;\;\;}}~}