Ubuntu latex

sudo apt-get install texlive

sudo apt-get install texmaker  // gui editor

sudo apt-get install latex-cjk-all // for chinese


(1) vim test.tex
      \documentclass{article}
      \begin{document}
      hello world
      \end{document}
(2) latex test.tex     // 编译
(3) xdvi test.dvi &     // 预览内容
(4) dvipdf test.dvi     // 转换成pdf

猜你喜欢

转载自wadefall.iteye.com/blog/2004885