Add Latex to Blogger Latex with Pictures(사진으로 설명하는 Latex 추가방법2)

블로거에 Latex 입히기!


이번에는 블로그의 HTML 파일을 직접 열어서 latex 관련 자바스크립트를 추가해 주는 방법입니다.
In this post we show how to look into the HTML file of your blog and add Javascript to it's <head> tag

지난번에는 Layout에 들어갔는데요, 이번에는 Theme을 선택해 줍니다(다른 한국어 포스트 들은 다들 Theme을 템플릿이라고 설명하더군요).
Go to "Theme"


옵션 부분을 클릭합니다.

Click the three dotted option key.
 "Edit HTML" 을 클릭합니다.
Click "Edit HTML"

아래와 같이 <head> 태그 바로 밑에 아래의 코드를 복붙해주시고
Then add the code bellow to the line right below the <head> tag.
 

<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js">
MathJax.Hub.Config({extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],
jax: ["input/TeX", "output/HTML-CSS"],
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true
},
"HTML-CSS": { availableFonts: ["TeX"] }
});
</script>

    우측 하단의 저장을 누르시면 Latex이 적용되는 걸 확인하실 수 있습니다!

    Then click the "Save" button at the left-lower corner. Then you can see that you have Latex on your blog!!



    
    

    Comments

    Popular posts from this blog

    [Shell] Let's use zsh!!

    2020 Paper Queries To Read

    사진으로 설명하는 Blogger Latex 추가 방법