Mathjax

Sunday 18 May 2014

MathJax


 I use ( and ) for inline math and [ and ] for displayed math.

Maths between dollars is inline: \(\sum_{k=1}^n k = \frac{n(n+1)}{2}\).
\[z=\sqrt{x^2+y^2}\]

\(\frac{2}{3}\)


\[z=\sqrt{x^2+y^2}\]



Maths between slash-square-brackets is display:
\[\sum_{k=1}^n k = \frac{n(n+1)}{2}\]

http://blog.pengyifan.com/mathjax-with-blogger-com/

MathJax in blogger.com is useful when I need to input equation in my blog. This is a instruction and test of using MathJax in blogger.com.
  1. set blogger.com template to “Simple”. “Dynamic Views” seems not working.
  2. edit HTML by adding the following code between <head> and </head>: <script src='http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' type='text/javascript'/>
  3. type math equation in the blog.

Note that, enclosing math in single $‘s does not work. Instead, I use ( and ) for inline math and [ and ] for displayed math. For example:
1
2
\(\frac{2}{3}\)
\[z=\sqrt{x^2+y^2}\]



Effectively Enable MathJax on Blogger

http://lesoluzioni.blogspot.ca/2013/01/effectively-enable-mathjax-on-blogger.html

MathJax basic tutorial and quick reference

http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference

http://checkmyworking.com/category/latex/

No comments:

Post a Comment