Latex for ubuntu

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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容