Tuesday, July 6, 2010

How to Post LaTeX Equations in Blogger

I've gone through several approaches to post math equations on blogger (check my previous posts here, and here). I found that the most effective and stable method is the one based on the CodeCogs server. Here's how it works:
  1. Go to the codecogs online LaTeX editor
  2. Type in your equations LaTeX
  3. Copy the HTML code that is generated at the bottom of the page
  4. Paste it in Blogger (either in the "Edit HTML" or "Compose views").
Here are the settings that I use:
  • image type: png
  • font: Sans Serif
  • fontsize: (10 pt) normal
  • resolution: 120 dpi
  • background: white
  • uncheck inline and compressed
  • choose: HTML (Edit) at the bottom (this allows you to click on the generated image and edit your equations! you'll have to copy the updated HTML though)
Voila!

Cite as:
Saad, T. "How to Post LaTeX Equations in Blogger". Weblog entry from Please Make A Note. https://pleasemakeanote.blogspot.com/2010/07/how-to-post-latex-equations-in-blogger.html?m=0

9 comments:

  1. Jeez...there has to be a better way?

    I love WP's LaTeX support...does Blogger have anything like it in the works?

    ReplyDelete
  2. I don't have tried this yet, but it could be of some interest to you :
    http://userscripts.org/scripts/show/7966

    ReplyDelete
  3. Thanks. Very helpful! I translated it to Romanian on my blog.

    ReplyDelete
  4. Thanks for this - really, it's helpful - but I'm with Chris Putnam on this one. There's got to be a better way.

    ReplyDelete
  5. I've had good luck using htlatex (which works), and just found MathJax (awesome!) and Pandoc (which almost works).

    A couple posts on my blog demo'ing it: Latex for Blogging, Latex for Blogger (MathJax), Latex for Blogger: Pandoc

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete