Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to use LaTeX on my blog, but I could not figure out how. Has anyone done it before? Any feedback or related information would be greatly appreciated.

share|improve this question
You might want to give us more detail, for example whether you are using a hosted blog, the blog software and version, etc. –  Joseph Wright Mar 19 '11 at 9:41
@Joseph: Presumably blogspot. –  TH. Mar 19 '11 at 9:49
Very much related: LaTeX in Blogger (possible duplicate?). –  Hendrik Vogt Mar 19 '11 at 12:21
@Hendrik: they are very much related, but the related question hasn't been marked as answered. Now that mathjax has a CDN, the top-voted answer in the related question is outdated (and was incomplete anyway). So if Chan is successful with this, I the older question should be closed as a duplicate of this one. –  Matthew Leingang Mar 19 '11 at 13:33
@Jasper: Because it was in the title of the question. –  TH. Jun 18 '11 at 8:20

1 Answer 1

up vote 47 down vote accepted

I would say use MathJax. It's a AJAX engine for LaTeX syntax that now is distributed by a CDN so you don't have to upload a single file to your blogspot account.

To enable MathJax, just drop in

<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js">
 extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],
 jax: ["input/TeX", "output/HTML-CSS"],
 tex2jax: {
     inlineMath: [ ['$','$'], ["\\(","\\)"] ],
     displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
 "HTML-CSS": { availableFonts: ["TeX"] }

after the header (<head>) in the Blogger template (Design→Edit HTML→Edit Template).

Googling "install mathjax blogspot" led me to a page on the Web Applications StackExchange: MathJax on Blogger.

See the MathJax pages for more information about configuring and using it.

share|improve this answer
Awesome, thanks a lot. –  Chan Mar 19 '11 at 21:43
@Chan: did you end up doing it this way? Did it work? If so, you can click the green check and we'll merge the older question into this one. –  Matthew Leingang Mar 22 '11 at 11:41
This helped me get $\LaTeX$ on my blog, thank you. What more, the same trick works for comments as well, provided they appear on the same page as the post! –  gphilip May 17 '11 at 2:37
The page of instruction pointed is now unavailable: "El blog se ha eliminado. Lo sentimos, el blog de mnnttl.blogspot.com se ha eliminado. Esta dirección no está disponible para blogs nuevos." –  Jeremy Jul 6 '11 at 13:22
@Jeremy: updated the link. There's now a page on StackExchange to refer to. –  Matthew Leingang Dec 17 '12 at 17:16

protected by Community 7 hours ago

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.