Dear god yes

Someone at apparently knows what’s what…you can now use \LaTeX to enter pretty math directly within posts. So, for example, here’s the definition of the entropy of a partition, that I had to \LaTeXon my own computer and then upload for an earlier post:

\displaystyle H(\gamma) = -\sum_{i=1}^k \mu(A_i)\log\mu(A_i)

and here’s the code:

$latex \displaystyle H(\gamma) = -\sum_{i=1}^k \mu(A_i)\log\mu(A_i)$

About these ads

  1. What do you do to display the \textrm{\LaTeX{}} code like that without it being parsed?

  2. I think as long as you don’t have a literal “$” characters sandwiching the code, but instead use the & #36 ; form (without the spaces…), it’ll show up as literal code.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 202 other followers

%d bloggers like this: