I have left Harvard as of July 1, 2008 to take a position at NYU. This website has been cached and left static. Feel free to browse my new website, aka "What the heck is a Clinical Associate Professor?"

11.29.07

Texify

Posted in Math, LaTeX, Web at 9:42 am by leingang

I installed the LatexRender plugin to my WordPress blog to express myself in mathematical notation that HTML alone can’t handle.  It runs latex on the server side and serves up an image embedded in the text.

For mathematical bloggers who don’t have access to their webservers (or choose not to get their hands dirty with server-side code), there’s Texify, a nice web service that lets you input LaTeX and get a permalink to a graphic that you can include in your web pages.  For instance, I copied-and-pasted some code from a slideshow I’m working on and got this:

\begin{align*} \frac{\partial f}{\partial x_i}(x_1, x_2, \dots, x_n) &= \lambda \frac{\partial g}{\partial x_i}(x_1, x_2, \dots, x_n) & \text{for each $i=1,\dots,n$}\\ g(x_1, x_2, \dots, x_n) &= 0.\end{align*}

I’m impressed that they seem to have enabled the amsmath packages in their backend, so some of the more sophisticated mathematical constructs can be used (I’m using an align* environment and the \\text command up there).

The site also provides code to copy-and-paste into BBCode posts such as you’d find on forums, and even Google Docs!

(HT: Michael Tsai)

Blogged with Flock


Tags: , ,

Comments are closed.