美文网首页
Debian下成功安装latex

Debian下成功安装latex

作者: MecZhang | 来源:发表于2017-01-24 21:24 被阅读0次

今日成功在Debian9下安装成功texlive-base。
#apt-get install texlive-latex-base
#apt-get install latex-cjk-chinese
首先建立一个源文件
vim test.tex
输入内容如下
\documentclass{article}
\begin{document}
hello
\end{document}
命令行输入
latex test.tex
生成test.dvi文件
可通过xdvi查看之。
dvipdf test.dvi
dvips test.dvi
以上命令可生成pdf文件和ps文件。

相关文章

网友评论

      本文标题:Debian下成功安装latex

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