Ubuntu安装使用latex

时间:2022-03-12 18:58:19

TeX Live is a TeX distribution to get up and running with the TeX document production system. To install it, once you're in the terminal, enter the following command:

  sudo apt-get install texlive-full

INSTALL TEXMAKER

Now you need a text editor. I recommend using a specific editor for LaTeX. There are many text editors for LaTeX on the Internet as Kile, TeXworks, JLatexEditor, Gedit LaTeX Plugin, etc. My favorite text editor for Latex is Texmaker. Texmaker is a cross-platform open source LaTeX editor. To install it, go to the Ubuntu or Debian terminal and enter the following command:

  sudo apt-get install texmaker

使用:

  生成pdf文件 以及其他中间文件
    xelatex test.tex
    pdflatex test.tex

最佳使用命令:这样可以删除临时文件
  xelatex test.tex;latexmk -c test.tex

查看pdf:
  evince test.pdf