Wednesday, October 24, 2012

Using LaTeX in blogspot

First method

I googled this site helps to make LaTeX working in blogspot. I have prosseek/files, for file storing purposes (even though it allows me keep only 1GB). Just right click in google/sites, and copy the file using HREF allows me to download the file from the site like this.
The code is as follows:
$latex \displaystyle S(n)=\sum_{k=1}^{n}{\frac{1}{T_{k}}=\sum_{k=1}^{n}{\frac{6}{k(k+1)(k+2)}$
This is the result: $latex \displaystyle S(n)=\sum_{k=1}^{n}{\frac{1}{T_{k}}=\sum_{k=1}^{n}{\frac{6}{k(k+1)(k+2)}$
You can refer to this post for embedding HTML/javascript in your blog.

MathJax

I googled this post to use MathJax. You need to add the code in template, which add jQuery and MathJax.



The code is as follows:


And this is the result:

Warning

As is written in this post, there is a bug that the result is not shown in Chrome.

References

  1. Embedding math with replacemath
  2. How to show the string inside a tag verbatim?

No comments:

Post a Comment