LaTeX display

WordPress itself has its support for LaTex syntax, yet at its own inconvenience. To produce i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>, one has to write

“latex i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>”

between the dollar symbols. Things get worse when it comes to more complicated equations and large quantities.

Terrace Tao’s blog takes good advantages of LaTex display and surely he is not using wordpress services, so I googled and found LaTeX2WP which is exactly used by Tao’s blog. It’s also interesting to note that the author of LaTeX2WP shares the same theme as Tao. Great minds think alike.

For details and usages about LaTeX2WP, one can refer to the author’s blog. See here. Personally I think high of the author’s endeavors. The script was written in Python as was Douban, the social network website. By the way, I did try to delve into Python to construct the online-study website for our department but finished it with html language, which is of course more simple and proper for the project, thanks to Guo Cong.

One thing to be noticed when using LaTeX2WP. Python’s location has to be set in the path of windows command and windows cmd should be called instead of Python’s command window. Kid’s stuff thereafter.

About these ads

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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