I would say use MathJax. It's a AJAX engine for LaTeX syntax that now is distributed by a CDN so you don't have to upload a single file to your blogspot account. To enable MathJax, just drop in <script type="text/javascript" src="http://cdn./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: [ ['$$','$$'], ["\\[","\\]"] ],
},
"HTML-CSS": { availableFonts: ["TeX"] }
});
</script>
after the header (<head> ) in the Blogger template (Design→Edit HTML→Edit Template). Googling "install mathjax blogspot" led me to a page on the Web Applications StackExchange: MathJax on Blogger.
之后, 就可以像在TexStudio中,用 $ a^2_i $ 来直接写公式了
|