@iStarLee
2020-09-14T04:16:14.000000Z
字数 693
阅读 566
latex
sudo apt-get install texlive-latex-base latex-cjk-all texlive-latex-extra texmaker texlive-xetex texlive-publishers texlive-sciencesudo snap install mathpix-snipping-tool
打开设置,搜索latex-workshop.latex.recipes
点击Edit in settings.json
写入下列行:
"latex-workshop.latex.recipes": [{"name": "xelatex","tools": ["xelatex"]},{"name": "xelatex->bibtex->exlatex*2","tools": ["xelatex","bibtex","xelatex","xelatex"]}],"latex-workshop.latex.tools":[{"name":"xelatex","command": "xelatex","args": ["-synctex=1","-interaction=nonstopmode","-file-line-error","%DOC%"]}, {"name":"bibtex","command": "bibtex","args": ["%DOCFILE%"]}],
Reboot vscode, then new a xx.tex file, you can use the latex now!
