美文网首页
Latex for ubuntu

Latex for ubuntu

作者: Miliimoulins | 来源:发表于2018-08-21 12:48 被阅读71次

1、安装

sudo apt-get install texlive

2、运行

运行编辑好的tex文件:latex test.tex
这一步生成一个 test.dvi 文件
使用xdvi看生成的pdf: xdvi test.dvi &
q退出

如果只需要生成pdf,直接:pdflatex test.tex, 便生成 test.pdf 文件

3、tex编辑器

sudo apt-get install texmaker
或者:(mac上也用的texstudio)
sudo apt-get install texstudio

可以在linux下愉快的用Latex了!!

安装:https://linuxconfig.org/introduction-to-latex-on-linux
运行:https://stackoverflow.com/questions/1017055/get-started-with-latex-on-linux
编辑器:http://milq.github.io/install-latex-ubuntu-debian/

ps: 关于编译的时候字体错误

1、编译器选XeLaTeX
2、ubuntu用微软的字体要手动安装,具体安装请见:https://my.oschina.net/u/3552749/blog/1813983

相关文章

网友评论

      本文标题:Latex for ubuntu

      本文链接:https://www.haomeiwen.com/subject/labdiftx.html