Archive for December 2008

Fluid Blue and LaTeX

I found a nice minimalist WordPress theme, fluid-blue, and I changed the defaults to make it even more minimal.  I think that I have latexrender set up so that it is at least readable.  For example, in our formulation of the Logistic growth model, we use \alpha to represent the growth rate parameter, but it has a different scale than usual.

And now I can write LaTeX equations directly in the WordPress editor, which is cool. Here is the single Logistic model again


\displaystyle p(t) = \frac{\kappa}{ 1 + \exp\left( \frac{\ln(81)}{-\alpha} (t - \beta) \right)} 

Since Fluid Blue is a GPL licensed theme, here is an archive of the (minimal) changes I made.

Latexrender is useful, since it has AMS LaTeX font support, for example I can write things like  z \in \mathbb{C}, and  x \in \mathbb{R}^3, which is cool.

Its still a shame that in 21st century its still so hard to write decently typeset mathematics, but at least thanks to the GNU free software movement, Donald Knuth’s open source Tex, and php things at least look reasonable. It’s a shame that MathML development has been so poor and slow. Hopefully, with the adoption of UTF-8 (Unicode) as the standard encoding scheme, and the open source Unicode mathematical font project STIX about finished, there is a reasonable chance that LaTeX will be able to typeset UTF-8 Unicode fonts + html5 and finally math on the web will look as good as PDF.

Wordpress and LaTeX and (mt) (gs)

After a lot of hacking, I managed to get a LaTeX plugin for Wordpress working on (mt) (gs).

 p(t) = \sum_{i} \frac{\kappa_i}{ 1 + \exp \left( \frac{\log(81)}{-\alpha_i} \, (t -\beta_i)\right)}

which was entered by:
square bracket tex \frac{\kappa}{ 1 + \exp(\alpha \, t - \beta)}

I’m not thrilled with the rendering quality, but I can probably tweak that now that I have everything working…

First, (mt) (gs) has latex installed, but misconfigured. Tech support was unwilling to help, so I figured out how to download the new TeX user group TeXLive (strange name) unix installer, and install it as a user through ssh. Fun. But it actually worked. Then, this site http://fugato.net/2007/01/20/latex-in-wordpress/ and http://sixthform.info/steve/wordpress/ led the way for wordpress and php. Cool when it all works!!!.

Test of 2nd equation:  F(t) = \frac{p(t)}{\kappa} latexrender does not appear to work with wordpress 2.7.x RC…

how about AMS math fonts:  x \in \mathbb{R}^3, \  \text{and} \  z \in \mathbb{C} cool!