PostHeaderIcon How To Install Latex On Blogger/Blogspot

The mathtex server is down. Change mathtex2.js on the script into mathtex3.js.

Mathtex3.js using the mathtex server of John Forkosh.

There were some people who moved from Blogger to Wordpress because the later has a capability to render math formula/equation/symbols by using LaTeX syntax. I also observed that there are many math Blogger who faithfully stay with Blogger. I believe that given the some capability to write math formula as in Wordpress will give more power to the blogger to express their idea and also to make the reader easier to grasp the ide on their article. Besides that of course having latex on your blog make your blog more beautiful :) . Ok without further ado here are the steps to enable latex on your blogger (thanks to John Forkosh for his mathtex public server and thanks to Randall Farmer for his replacemath javascript)

  1. Copy the following javascript code:
    <script src="http://www.watchmath.com/cgi-bin/mathtex3.js" type="text/javascript"></script>
    <script type="text/javascript">
    replaceMath( document.body );</script>
    <a href="http://www.watchmath.com">
    <img src="http://www.watchmath.com/images/formula.png" alt="" width="100" /></a>
     
    <a href="http://watchmath.com/vlog/?p=438">
    Math Formula?</a>
  2. Go to your Blogger dashboard  and select layout latex_layout
  3. Click Add a Gadget on your right sidebar (or left depending on your tempate) and add HTML/Javascript onto your sidebar latex_javascript
  4. Leave out the title and past the javascript that you copied in step 1 right into the content and then savelatex_post
  5. Thats it! You are done. Now you can type your latex code between two dollar signs to get the inline style math symbols or write it as or to get a display style math symbols (just play around to see their differences)

There are some notes regarding the above installation:


The javascript above will also produce on on your sidebar a logo an a link to this very post. The idea is that if a visitor of your blog also wants to install latex on her blog then she can follow the link to this post. The logo will look like this latex_formulaIf you don’t like it you can remove it by deleting this part:

<a href="http://www.watchmath.com">
<img src="http://www.watchmath.com/images/formula.png" alt="" width="100" /></a>
 
<a href="http://watchmath.com/vlog/?p=438">
Math Formula?</a>

from the javascript code on step 1.

  • To see how does the latex looks like on a blogspot, checkout the address: http://www.watchmath.blogspot.com
  • Reblog this post [with Zemanta]

    29 Responses to “How To Install Latex On Blogger/Blogspot”

    Leave a Reply

    Subscribe
    Translator
      Translate to:

    by Watchmath