[关闭]
@iStarLee 2020-09-14T12:16:14.000000Z 字数 693 阅读 368

LaTex Install

latex


  1. sudo apt-get install texlive-latex-base latex-cjk-all texlive-latex-extra texmaker texlive-xetex texlive-publishers texlive-science
  2. sudo snap install mathpix-snipping-tool

打开设置,搜索latex-workshop.latex.recipes

点击Edit in settings.json

写入下列行:

  1. "latex-workshop.latex.recipes": [
  2. {
  3. "name": "xelatex",
  4. "tools": [
  5. "xelatex"
  6. ]
  7. },
  8. {
  9. "name": "xelatex->bibtex->exlatex*2",
  10. "tools": [
  11. "xelatex",
  12. "bibtex",
  13. "xelatex",
  14. "xelatex"
  15. ]
  16. }],
  17. "latex-workshop.latex.tools":[
  18. {
  19. "name":"xelatex",
  20. "command": "xelatex",
  21. "args": [
  22. "-synctex=1",
  23. "-interaction=nonstopmode",
  24. "-file-line-error",
  25. "%DOC%"
  26. ]
  27. }, {
  28. "name":"bibtex",
  29. "command": "bibtex",
  30. "args": [
  31. "%DOCFILE%"
  32. ]
  33. }
  34. ],

Reboot vscode, then new a xx.tex file, you can use the latex now!

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注