html中使用mathjax数学公式
程序员文章站
2024-03-14 09:34:46
...
官网
https://www.mathjax.org/#gettingstarted
MathJax版本2
https://docs.mathjax.org/en/v2.7-latest/output.html#automatic-line-breaking
MathJax版本3
https://docs.mathjax.org/en/latest/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>MathJax example</title>
<script type="text/javascript" async
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]},
});
</script>
</head>
<body>
<p>
(2017·辽宁二十四中联考卷)已知$A$,$B$,$C$是平面上不共线的三点,$O$是$\triangle ABC$的重心,动点$P$满足$\overrightarrow{OP}=\dfrac{1}{3}\left( \dfrac{1}{2}\overrightarrow{OA}+\dfrac{1}{2}\overrightarrow{OB}+2\overrightarrow{OC} \right)$,则$P$一定为$\triangle ABC$的( )
</p>
</body>
</html>
上一篇: laravel 执行artisan命令行遇到问题的解决方法(亲测有效)
下一篇: Command ifconfig not found, but can be installed with: sudo apt install net-tools
推荐阅读