Thursday, December 10, 2009

LaTeX fun

The internets recently informed me that Google Charts can generate images from LaTeX math! This is a godsend. Previously, I had been either just creating a LaTeX document, building the PDF, and copy-pasting the bit I wanted, or using one of the many online tools. Unfortunately, neither of these are very robust, especially when I want to resize things.

So, let's say I want to insert a combination: . You can just use the url http://chart.apis.google.com/chart?cht=tx&chf=bg,s,FFFFFF00&chs=NaNxNaN&chco=000000&chl=%7Bn%20%5Cchoose%20k%7D. But this would get tedious quickly. So, I've developed a tool which allows you to enter the LaTeX math in your usual way and will also let you easily resize the image generated.

So, becomes becomes .

For good measure, here's the binomial theorem:





LaTeX Math to image tool

Powered by Blogger

Subscribe to
Posts [Atom]