2008年11月22日星期六

blogger中latex的使用

第一步:
在CSS中写
img.eq_latex {
padding: 0;
margin: 0;
border: 0;
}
在]]>之前,用来消除公式的边框
第二步:
参考http://doc.yourequations.com/,第一步是原文上没有的。
第三步:
可按latex为关键词找blogger中的插件,还不错


一个例子:
公式是
\inline \int_{-\infty}^{\infty}e^{-x^{2}}\;dx=\sqrt{\pi}
前面的代码是code lang="eq.latex",后面是/code,都要用<>括起来,再把公式放在中间
另外,\inline 语句可使插入美观
例子:
The equation using CODE tag with \inline command,
\inline \int_{-\infty}^{\infty}e^{-x^{2}}\;dx=\sqrt{\pi}
, and here is the following text.


\inline \sum_{\alpha}^{\beta}


第一个代码比较难找,找到了还不对,后来我把代码改了一下才能用。这样,效果也就不逊于WORDPRESS了
为虾米不能在google阅读器中显示那?who can help me??

1 条评论:

Baoyu Wang 说...

我也想学一下tex,请多指教

我的VOA听写积分