LaTeX 블로거에서 html 문법으로 쓰는 방법

1. 다음과 같은 코드

<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js">

MathJax.Hub.Config({

extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],

jax: ["input/TeX", "output/HTML-CSS"],

tex2jax: {

inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
},
"HTML-CSS": { availableFonts: ["TeX"] }
});
</script>


 그림에 명시된 곳을 클릭하여 html 편집기를 열어
<head> </head> 사이에 집어넣는다.

2. 다음과 같은 형식으로 LaTeX 문법에 따라 코드를 작성한다.



3. 빰!

cf) 그냥 수식만 쓸려고 한다면
$$ x = \frac{-b \pm \sqrt{b^2-4ac}}{2a} $$
만 타이핑해도 된다.

* 참고 자료
1. http://hansjung.blogspot.kr/2013/12/latex.html
2. 기억 안 나는데 찾는 중(... 이딴 식으로 쓸거냐...)