정보

[정보] 글 작성시 mathjax(수학 수식) 작성 방법

jmkimmessi 2020. 7. 20. 02:22
반응형

티스토리 관리 페이지의 꾸미기 - 스킨 편집으로 들어가 html 직접 수정해야 한다.

 

 

코드 삽입 사진

 

사진에 보이듯이 </body> 바로 위에 

<script type="text/x-mathjax-config"> MathJax.Hub.Config({ tex2jax: { inlineMath: [ ['$','$'], ["\\(","\\)"] ], processEscapes: true } }); </script> 		  
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML'></script>

이 코드를 삽입해주시면,

 

$$e = 2.71828 \cdots$$

 

이런 식으로 수학 수식 사용이 가능해집니다.

 

mathjax 사용할 때, 이용하면 편한 사이트

 

www.hostmath.com/

 

HostMath - Online LaTeX formula editor and browser-based math equation editor

Copy and paste the code above to your webpage! Equation Type Paragraph Equation Inline Equation

www.hostmath.com

 

반응형