Re: [Blogger] 用 MathJax 顯示 LaTeX 數學符號
◆ From: 78.151.134.42
※ 編輯: xcycl 來自: 2.98.234.192 (07/22 20:57)
→
08/01 17:13,
08/01 17:13
動態面板比較特別,參考
http://tinyurl.com/ngytqva
要在頁面完成後執行 MathJax 的 Typeset:
<script type="text/x-mathjax-config">
// <![CDATA[
MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']],
displayMath: [['\\[','\\]'], ['$$','$$']]}});
blogger.ui().viewType_.prototype.onRenderComplete=function(){MathJax.Hub.Queue(['Typeset',MathJax.Hub])};
// ]]>
</script>
<script type="text/javascript"
src="" rel="nofollow">http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
推
08/01 20:47,
08/01 20:47
Logdown 也是用 MathJax,但我不能理解明明就有 inline math
為什麼要特地拔掉。再者,直接改版面的話,可以自己設定數學模式的開頭或結尾,
例如從 Wordpress.com 匯入的文章,LaTeX 碼的開頭是 $latex ,
除了將所有的 $latex 換成 $ 以外,可以直接將 $latex 當作數學模式的開頭
就可以無痛匯入了。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 78.148.247.183
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):