Pages

Tuesday, December 15, 2009

How to write Latex Math Equation on your blog?

Ever wanted to have ease of writing math equation on your blog or webpage???

The solution is to use http://www.codecogs.com/components/equationeditor/equationeditor.php

The website allow you to type your equation in LaTeX format and using its TeX Server, it will convert the equation to images and you will be able to show your math equation there.

Enough of saying, let me show you an example, suppose i want print a integration formula i just type:

<img style="display: block; float: none; margin-left: auto; margin-right: auto" title="
\int_{a}^{b}(x+2)dx
" src="http://latex.codecogs.com/gif.latex?\int_{a}^{b}(x+2)dx" />

Refer to the 3rd of the code above, the LaTex Math Equation is inserted after the question mark in src=”http://latex.codecogs.com/gif.latex?[put your TeX Code here]”


Try it, it should look something like this


No comments:

Post a Comment