-
Tistory 블로그에 수식 입력잡다한 지식 2019. 9. 14. 13:22
블로그 관리 - 스킨 편집 - html 편집에서 <head>와 </head> 사이에 아래 스크립트를 삽입한다.
12<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
'잡다한 지식' 카테고리의 다른 글
Deep learning 수식에서 자주 쓰이는 Latex 정리 (0) 2019.10.06 [TensorFlow] Tensorflow Dataset - 'Tensor' object has no attribute 'numpy' 에러 해결 (0) 2019.09.28 티스토리 블로그에서 링크 아래에 썸네일 붙이기 (0) 2019.09.14