本文档主要记录tex live的安装与使用。
latex各发行版本及编辑器比较:https://cn.soulmachine.me/2013-04-12-latex-distributions-and-editors/
方法一:
TeX Live 是 TUG (TeX User Group) 维护和发布的 TeX 系统,可说是「官方」的 TeX 系统。
TeXworks是Windows版本的TeX Live默认提供的编辑器。
TeXworks使用教程指南 :http://blog.sina.com.cn/s/blog_5f234d470101igyd.html
方法二:先安装texlive,然后安装textstudio。
安装
安装texlive和textstudio
[1]环境变量配置:https://blog.csdn.net/williamyi96/article/details/90732304
上述环境变量配置仅仅对一个会话有效,要永久生效,需要修改/etc/profile
在/etc/profile文件中添加变量【对所有用户生效(永久的)】
用vim在文件/etc/profile文件中增加变量,该变量将会对Linux下所有用户有效,并且是“永久的”。
让修改马上生效,执行以下代码
source /etc/profile
[2]安装过程:https://www.linuxidc.com/Linux/2016-08/133913.htm
[3]iso文件下载地址:https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/
[4]tlmgr找不到命令错误的解决方法:https://tex.stackovernet.com/cn/q/8513
[5]sudo equivs-build texlive-local执行出错:https://www.tug.org/texlive/files/debian-equivs-2019-ex.txt
[6]dpkg-gencontrol: 错误: illegal package name ‘<package name; defaults to equivs-dummy>’: character ‘<’ not allowed错误解决方案:
正确的texlive-local文件内容:https://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-ubuntu
[7]sudo dpkg -i texlive-local_2019-1_all.deb执行出错:未安装软件包 freeglut3:https://tex.stackexchange.com/questions/412915/freeglut3-not-installed-trying-to-trick-ubuntu-to-thinking-texlive-is-isntalled
[8]下载textstudio:https://www.bravotutorials.com/latex/recommended-programs/installing-texstudio
[9]安装texlive:https://zhuanlan.zhihu.com/p/36240727
[10]texlive和textstudio安装笔记:https://www.cnblogs.com/joyeecheung/p/3596255.html
[11]textstudio支持中文环境:https://blog.csdn.net/qizaijie/article/details/79564079
安装字体
安装思源字体:
1 | $ sudo apt install fonts-noto-cjk fonts-noto-cjk-extra |
查看系统中文字体:
1 | fc-list :lang=zh |
使用
[1]Latex数学公式-求导、分数的表示: https://blog.csdn.net/qq_31880107/article/details/86592791
[2]LaTeX实战经验:数学公式环境注意事项: https://blog.csdn.net/simple_the_best/article/details/52710740
[3]latex的各种帽子: https://www.cnblogs.com/huangshiyu13/p/6936884.html
[4]在博客中使用LaTeX插入数学公式: https://www.cnblogs.com/Sinte-Beuve/p/6160905.html
[5]latex希腊字母: https://blog.csdn.net/qq_40587575/article/details/83387333
[6]latex之转置符号: https://www.cnblogs.com/huangshiyu13/p/6946395.html
[7]参考文献排版: https://zhuanlan.zhihu.com/p/25013341?refer=jeldor-latex
[8]向上(下)取整: https://www.zhihu.com/question/27399809
[9]latex插入项目符号和编号:http://blog.sina.com.cn/s/blog_3fe961ae0101eoht.htmlli
[12]latex中给字体添加颜色:https://en.wikibooks.org/wiki/LaTeX/Colors