扬州-JinHuiHui

导航

LATeX

$ tex --version   # 查看版本是否是新安装的版本
$ latex sample2e.tex  # 编译一个测试文件看是否能编译通过
$ pdftex sample2e.tex # 在当前目录下生成测试文档的 pdf 文件


--------------------------------------------------------------------------------
# LaTeX 安装
yum -y install texlive texlive-*.noarch

使用 Texlive 自带的 tlmgr 包管理工具进行更新(类似 python 的 pip 包管理工具),非常方便。tlmgr 可以自己指定源地址:
$ tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet     # 自动选择最近的仓库更新 
$ tlmgr update -self    # 更新宏包管理器 
$ tlmgr update -all    # 更新所有已安装的宏包

 

posted on 2018-11-14 14:59  YZ_JinHH  阅读(201)  评论(0编辑  收藏  举报