如何在博客园插入数学公式

在博客园设置--->页首html添加代码

<script src="http://latex.codecogs.com/latex.js" type="text/javascript"></script>

举例输入:

$y = \theta^{T}x + \theta^{T}x^{2}$
$\sum_{i=1}^{n=m}{\theta^{T}X^{(i)}}$

显示为:

$y = \theta^{T}x + \theta^{T}x^{2}$

$\sum_{i=1}^{n=m}{\theta^{T}X^{(i)}}$

猜你喜欢

转载自www.cnblogs.com/douzujun/p/10356136.html