Being a relative newbie to the world of WordPress blogging, I am discovering new things every day that represent to me a small slice of awesome pie. These discoveries provide me the (unnecessary, but freely accepted) justification to continue exploring this particular blogging environment. It seems that with every slice of awesome pie that I discover, my nerd centre grows 2.1 sizes.

Today was no exception, although – full disclosure – I would rewrite my phrase above by replacing the word ‘small’ with ‘huge’. That is correct, I would be willing to put myself out there and say that today’s discovery represents a **huge** slice of awesome pie. What is this discovery?

**WordPress can typeset !**

!!!!!!

That may come as a surprise to no one but me, but I found this information earth shattering. Earth. Shattering. Okay, clearly I exaggerate the impact, but for me this discovery is still rather amazing. I’d be lying if I were to say that this discovery didn’t give me a pretty serious nerd-on.

For the uninitiated, is a freeware *document markup language* used for typesetting scientific (read *mathy*) documents. It is the program that I used to write my Masters thesis, and my more recent Ph.D. dissertation. It allows one to write mathematical equations like this:

(sexy, isn’t it?), or like this:

The former equation comes directly from my Ph.D. thesis, while the latter just happens to be part of a question involving *parametric equations* that I will be giving my students either on their next assignment, or the one after that^{1}. They are going to love me so much :).

Now what makes so awesome is that it can produce equations as beautiful and sexy as these, but without the headache associated with conventional typesetting programs (um, can we say Microsoft Equation Editor – GAH).

Hmm, maybe ‘*without the headache associated with conventional typesetting programs…*‘ should be explained a bit. Personally, I find programs like Microsoft Equation Editor clunky and not altogether aesthetically pleasing. In fact, when forced to use them, I find that my patience wears thin very, very quickly. This is neither good for my blood pressure, nor for the computer which I overwhelmingly want to punch. There are however headaches associated with ; the learning curve can be a bit steep for those who have never dealt with a markup language; it’s not always the prettiest thing to view (and thus keep organized) prior to compiling; and then there are the typos and errors that will completely stop the compilation. Searching through hundreds, even thousands of lines of *code* for a forgotten bracket or a missing environment tag can be, well, exhausting and infuriating. Regardless, the trouble it takes to learn the program is well worth it, in my humble opinion, as the end results are beautiful. For your viewing pleasure, I offer the **first** line of the equation from my Ph.D. that is listed above, prior to compilation (a.k.a., typesetting):

\begin{array}{ll}\ln{p({\Theta,\Pi,\Omega}|Y,Z,X)} & \propto & \displaystyle{\sum_{i,j,k=1}^{2,18,n}}\left\{z_{ijk}y_{ijk}(\gamma_{1}+\beta_{1}x_{ijk}+\Lambda_{1}u_{1j}+\Lambda_{2}u_{2j})\right.\\

The nice thing is that once you have it, becomes very powerful. I tend to write all of my documents using now.

Anyway, if I had known that this functionality was available yesterday, I would have written the polar equations^{2} described in Mathy Valen-time’s Day as:

instead of inserting the equations in the chump manner I did (i.e., producing the equations in , exporting them to jpeg format, then uploading them to WordPress – clearly the work of a chump).

Now that I am aware of this functionality, you should fully expect a higher concentration of mathematical and statistical nerdery here at Consumed By Wanderlust. I know, I’m excited about it too!

A few final notes

– is usually pronounced LAY-TEK, and not like LAY-TECKS. As described by the great and all-knowing wiki:

“The characters T, E, X in the name come from capital Greek letters tau, epsilon, and chi, as the name of TeX derives from the Greek: τέχνη (skill, art, technique).”

– can be downloaded for free here for Windows users, and here for Mac users.

And now you know.

^{1} For those of you that might be curious, the question (in its current draft form) will read something like this:

Consider the following parametric equations and , where represents the path of a rabbit and represents the path of a very hungry fox. Assume these paths are traced at times .

[i] Determine when the path travelled by the fox crosses the path travelled by the rabbit (i.e., not necessarily where the animals meet).

[ii] Determine if the animals ever meet? That is, should the rabbit fear for its life?

^{2} which use the polar coordinates and : to represent the length of a line that has one end firmly planted at the origin , and the angle measured between the line and the positive -axis (where positive are measured in a counter-clockwise manner from the axis).

Oh mother of pearl, this posting is nerdy to the core. I don’t remember how to use Latex at all :(. You almost convinced me to learn it again until I saw the first line of your Ph.D. That ain’t pretty. And the fox crosses the rabbit when you ugly! Zing!

Zing indeed! I guess that just means the fox and the rabbit never cross. w00t!

Well played Gillis. Well played.