博客编辑---数学公式

在博客中写公式的两种方法(链接
因为要在博客中写公式,所以参考了别人两种方法,如下:

1,在博客设置中,html头中添加代码,导入mathML库如: <script type="text/javascript" src="http://common.cnblogs.com/script/ASCIIMathML.js"></script>

然后直接在博客中(不是html)书写latex语法公式,就会显示:

$35*d_5$

2,或者直接在html中添加:<img src="http://latex.codecogs.com/gif.latex?在这里填写你的latex代码" />
例如:<img src="http://latex.codecogs.com/gif.latex?35*d_5+1(oe%20)" />

 

latex语法公式

原文地址:https://www.cnblogs.com/chen9510/p/5872093.html