测试安装了LaTeX插件

• 本文约236字,阅读大致需要1分钟 • Excerpt

给MT安上一个数学的心LaTeX for Movable Type,需要在系统里安装tetex,tetex-latex,ghostscript,imagemagick,perl-imagemagick。这个插件用到了一个Perl port of LaTeXRender,其工作流是latex -> dvips -> convert。有latex,tmp两个目录要自行建立在Publishing Settings里的Site Root下。放个例子:

∑i=1n(xi−x‾)(yi−y‾) \sum_{i=1}^{n}(x_i-\overline x)(y_i-\overline y)