ITeye博客

在博客中用latex写公式

mmdev · 2013-02-25 04:26 · Markdown

在博客中插入Latex 公式的方法:

1. 访问Latex在线编辑器,将下方code复制到博客中的源代码里,如:

[plain]view plaincopy

  1. P(x|c)=\frac{P(c|x)\cdotP(x)}{P(x)}

得到

[html]view plaincopy

  1. <ahref="http://www.codecogs.com/eqnedit.php?latex=P(x|c)=\frac{P(c|x)\cdotP(x)}{P(x)}"target="_blank"><imgsrc="http://latex.codecogs.com/gif.latex?P(x|c)=\frac{P(c|x)\cdotP(x)}{P(x)}"title="P(x|c)=\frac{P(c|x)\cdotP(x)}{P(x)}"/></a>

插入源代码,得到:

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

2.公式手写器

只要手写就好了哦,亲!!!

链接在此~~

3.Google Chart Tools / Image Charts

Google Chart地址:

但Google Chart对于插入公式来说是大材小用了。

除了常规的饼形图、折线图、冒泡图和柱状图等,还有QR二维码、能量条、极坐标图……好吧,只要你能想到,就能通过URL调用。

Reference:

1.吉博的blog

2. Latex 公式的书写:Practice Box

3.Delbert's Blog

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。