安装说明
EthanDeng edited this page 2019-02-05 11:50:05 +08:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

本节以 TeX Live 2018 为例,介绍如何通过命令行或者包管理工具安装模板(包)。

命令行方式安装

以管理员权限打开命令行,在命令行输入下面命令即可安装 elegantpaper 模板。

tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet
tlmgr install elegantpaper

升级和卸载分别使用

tlmgr update elegantpaper
tlmgr uninstall elegantpaper 

包管理工具方式安装

在 Windows 里面搜索 tlmgr找到 TeX Live Manager 并打开:

tlmgr

然后通过菜单 tlmgr 选择

Load standard net repository: http://mirror.ctan.org/systems/texlive/tlnet

tlmgr

然后在匹配框内输入包的名字,比如 elegantpaper,在搜索结果中勾选需要安装/更新/卸载的包:

tlmgr