카테고리 없음

티스토리 - LaTex 수식 적용 방법

hanlabong 2024. 11. 17. 22:47
728x90

스크립트 추가

[설정] - [꾸미기] - [스킨 편집] 에 들어간다

[HTML 편집]에 들어가서 <head> 태그 안에 다음 스크립트를 추가한 후 적용한다.

<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"></script>

 

사용 방법

https://editor.codecogs.com/

 

Equation Editor for online mathematics - create, integrate and download

Download svg gif png pdf emf 5 pt 9 pt 10 pt 12 pt 18 pt 20 pt 50 80 100 110 120 150 200 300 Transparent White Black Red Green Blue Inline Block WordPress phpBB Tiny Wiki url url encoded xml pre doxygen html latex Formatted string containing your Equation

editor.codecogs.com

이곳에서 사용할 수식을 작성한 다음 글을 작성할 때 붙여넣으면 된다.

 

이때 다음과 같이 작성해야 수식이 제대로 표현된다.

$수식$ → 좌측정렬
$$수식$$ → 중앙정렬
수식 // 수식 → 줄바꿈
728x90