html页面添加LaTeX公式
首先在head部分中添加
<script id="MathJax-script" async src="https://cdn.
jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
</script>
然后即可在body中添加公式。具体用法为:
\( 公式 \)以添加行内公式,
\[ 公式 \]以添加独行公式。
示例:
\( x^2 + y^2 = z^2 \)
将显示\( x^2 + y^2 = z^2 \).
    所属分类:LaTeX     发表于2021-08-14