Yesterday, I published a post about opamps here on the blog. This post utilized a new feature here at Adafruit: rendered LaTeX equations. For those that are unfamiliar, LaTeX is a markup language for the TeX system, originally developed by legendary computer scientist Donald Knuth. LaTeX (pronounced “Lay-Tek”), is used by scientists, educators and engineers around the world to format equations so that they look nice and neat, and are easy to read.
About a month ago, in the course of originally drafting that opamp article, I started looking around at LaTeX plugins for WordPress. There are several of these available. All of them have their strengths and weaknesses, but eventually I settled on WP-QuickLaTeX by Pavel Holoborodko, Dmitriy Gubanov and Kim Kirkpatrick.
WPQL supports automatic equation numbering, has built in tikz and pgfplots support, can render alpha-channel PNGs, and supports LaTeX markup in blog comments, which means that the conversation can go both ways. TeX and LaTeX have been around a long time, so there is information all over the place about how to use it, but here are a few tutorials (1, 2)
What this means for you is that we can more easily do technical posts on the blog, and drop transfer functions like this:
Or plots like this:
We’re super-excited to have this new functionality here, and we hope you are too. If you want to take LaTeX for a test drive in the comments, you can use the [latex] and [/latex] tags at the beginning and end of your LaTeX statements. If you want to make sure your code works before you post it, you can test it at quicklatex.com (include the preamble under “choose options” — thanks, zerth!)
Try it out now!