您的位置:首页 > 其它

Ubuntu中如何安装*.sty文件(TeTeX或Tex Live)

2011-03-30 12:50 585 查看
在Ubuntu中,Latex的安装目录一般在以下目录:

Tex Live:/usr/share/texmf-texlive/tex/latex

TeTeX :/usr/share/texmf-tetex/tex/latex

本人用的是Tex Live,简单四步就可以完成安装。

下载需要的sty文件。安装源:http://tug.ctan.org/search/或者http://www.tug.org/texmf-dist/tex/latex/

在上述对应的目录中创建一个存放sty的文件夹(根据个人喜好);

把所要安装的sty文件拷贝到新建的文件夹中;

最后运行
sudo mktexlsr或者
sudo texhash
。搞定!


Reference:
http://blog.irrepupavel.com/2007/02/installing-latex-style-files-sty-on.html http://blog.csdn.net/QIBAOYUAN/archive/2011/01/08/612435
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: