Thursday, September 30, 2010

Latex on Blogspot

Knowledge is only valuable if it is shared


To all those who need to write mathematical related documentation in blogspot and have experience with $$LaTeX $$. Just follow this

click on DESIGN then click again on ADD GADGET then this time choose HTML/JAVASCRIPT ... lastly paste this,

(script src="http://www.watchmath.com/cgi-bin/mathtex3.js" type="text/javascript")(/script)
(script type="text/javascript")
replaceMath( document.body );(/script)

PS: replace the "(" and ")" to "<" and ">"


Examples

\ \x = a_0 + \frac{1}{\displaystyle a_1
+ \frac{1}{\displaystyle a_2
+ \frac{1}{\displaystyle a_3 + a_4}}}

Add another "$" on both ends. The output will be...

$$\ x = a_0 + \frac{1}{\displaystyle a_1
+ \frac{1}{\displaystyle a_2
+ \frac{1}{\displaystyle a_3 + a_4}}}$$

No comments: