html引入latex,如何在html文件中使用MathJax或LaTex?
我無法讓它工作,我不確定我做錯了什么。
我已經下載了MathJax.js,創建了一個html文件,并將其與js文件相關聯。我甚至在此處復制并粘貼了之前已回答的問題,只是將vpn(vpn也沒有工作,但問題和響應超過三年)的鏈接更改為我機器上的js文件。
這是我在html中的內容:
MathJaxMathJax.Hub.Config({"HTML-CSS": { preferredFont: "TeX", availableFonts: ["STIX","TeX"] },
tex2jax: { inlineMath: [ ["$", "$"], ["\\\\(","\\\\)"] ], displayMath: [ ["$$","$$"], ["\\[", "\\]"] ], processEscapes: true, ignoreClass: "tex2jax_ignore|dno" },
TeX: { noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } } },
messageStyle: "none"
});
The definition of the Euler-Mascheroni constant is
\gamma=\lim_{n\to\infty}\left(\sum_{k=1}^n\frac1k-ln(n)\right)
我非常感謝任何協助。
總結
以上是生活随笔為你收集整理的html引入latex,如何在html文件中使用MathJax或LaTex?的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 叶诗文说想在杭州亚运会拿冠军 巴黎奥运或
- 下一篇: 枸橼酸西地那非片用于治疗什么