Mathjax
Sunday, 18 May 2014
test mathjax
Maths between dollars is inline: \(\sum_{k=1}^n k = \frac{n(n+1)}{2}\).
\(\sum_{k=1}^n k = \frac{n(n+1)}{2}\)
$\sum_{k=1}^n k = \frac{n(n+1)}{2}$
Maths between slash-square-brackets is display: \[\sum_{k=1}^n k = \frac{n(n+1)}{2}\]
Maths between slash-square-brackets is display: \[\sum_{k=1}^n k = \frac{n(n+1)}{2}\]
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.
- set blogger.com template to “Simple”. “Dynamic Views” seems not working.
- 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'/>
- 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.htmlMathJax basic tutorial and quick reference
http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-referencehttp://checkmyworking.com/category/latex/
test mathjax 2
Maths between dollars is inline: $\sum_{k=1}^n k = \frac{n(n+1)}{2}$.
Maths between slash-square-brackets is display: \[\sum_{k=1}^n k = \frac{n(n+1)}{2}\]
Maths between slash-square-brackets is display: \[\sum_{k=1}^n k = \frac{n(n+1)}{2}\]
Subscribe to:
Posts (Atom)