GMLscripts.com

July 27, 2009LaTeX support now available

/news/images/blogicon-20090727.png You can now enter your equations using [tex]\LaTeX[/tex]. It's much nicer than the phpmathpublisher [m][/m] tags.

Compare:

[m]z^2=sqrt{x^2+y^2}[/m] phpmathpublisher (ugh, what happened to the y?)

[tex]z^2=\sqrt{x^2+y^2}[/tex] LaTeX (so sexy)

[tex]z^2=\sqrt{x^2+y^2}[/tex]

[m]{x}={-b{pm}sqrt{b^2-4ac}}/{2a}[/m] phpmathpublisher (clunky)

[tex]x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}[/tex] LaTeX (sleek)

[tex]x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}[/tex]

[m]A={1}/{2}sum{i=0}{N-1} (x_i y_{i+1} - x_{i+1} y_i)[/m] phpmathpublisher (it hurts!)

[tex]A=\frac{1}{2}\sum_{i=0}^{N-1}(x_iy_{i+1}-x_{i+1}y_i)[/tex] LaTeX (hurt me more!)

[tex]A=\frac{1}{2}\sum_{i=0}^{N-1}(x_iy_{i+1}-x_{i+1}y_i)[/tex]

Just use the [tex] & [/tex] tags.

Good LaTeX info here:

http://en.wikipedia.org/wiki/Math_markup

http://en.wikibooks.org/wiki/LaTeX

Cool LaTeX editor here:

http://www.codecogs.com/components/equationeditor/equationeditor.php

CodeCogs provides the rendering service as well. Thanks guys!

Have fun!

UPDATE:

The phpmathpublisher [m][/m] tags are no longer supported so some of this post doesn't render anymore.

CodeCogs is no longer used to render LaTex. Rendering is done client-side with MathJax.