관리 메뉴

Bull

[Tistory] 수학 기호 마크다운 넣는 법 본문

Other Settings

[Tistory] 수학 기호 마크다운 넣는 법

Bull_ 2024. 3. 5. 17:34

방법

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

 

티스토리의 <head> 태그 사이에 위의 js코드를 넣으면 된다.

 

쓰임

① 인라인(글 쓰는 도중) 넣고 싶은 경우

$(수식)$

 

② 가운데에 크게 나타내고 싶은 경우

$$(수식)$$

 

보기

 

출처: https://m.blog.naver.com/PostView.nhn?blogId=psh951120&logNo=221491106060&targetKeyword=&targetRecommendationCode=1

 

Html에서 latex 사용하는 법 : mathjax

얼마전에 html으로 홈페이지를 만들어서 거기에 latex 수식을 쓰는 방법을 찾고 있었는데, 굉장히 좋은 방...

blog.naver.com