잡다한 지식
Tistory 블로그에 수식 입력
허스키k
2019. 9. 14. 13:22
블로그 관리 - 스킨 편집 - html 편집에서 <head>와 </head> 사이에 아래 스크립트를 삽입한다.
1
2
|
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
cs |
그 후에 아래 예시와 같이 수식을 MathJax에서 제공하는 문법에 따라 작성하면 된다.
예를 들어 아래와 같이 작성하면,
When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]
아래처럼 수식으로 표시된다.
When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]
https://www.mathjax.org/#gettingstarted 참조.
MathJax
Beautiful math in all browsers.
www.mathjax.org