Tuesday, May 24, 2011

Testing Latex code on blog

This morning I was trying to find out how to write newsletter with html in gmail. Some how I stumbled onto this. Did you ever wonder how you can produce nice mathematical equations in documents without using MS Word. In fact, MS Word is a pain when it comes to creating mathematical equations. Latex is a typesetting language used to produce nice documents. You can write anything and everything, including complex mathematical equations, with Latex.

But then the problem is how to produce it on the blogs. There are blog spaces just for this. But it's not that easy though. Some of the people came up with nice idea of using javascript for this purpose. If you google for mathjax you will know how to write blogs with math equations. Of course, you need to know Latex in the first place.

I did simple test here to write mathematical solution to quadratic equation. As you can see it works beautifully. I am so excited ... In the next few days I will write another post about it in detail.


\[
\frac{-b\pm\sqrt{b^2-4ac}}{2a}
\]

PBS Script Generator: Interdependent dropdown/select menus in Javascript

PBS SCRIPT GENERATOR
SH/BASH TCSH/CSH
Begin End Abort

About Me

LA, CA, United States
Here I write about the battles that have been going on in my mind. It's pretty much a scribble.

Sreedhar Manchu

Sreedhar Manchu
Higher Education: Not a simple life anymore