人生苦短,我选择LaTeX
LaTeX安装
1
| sudo apt install texlive
|
1
| sudo apt-get install latex-cjk-all
|
1
| sudo apt-get install texlive-full
|
1
| sudo apt-get install texlive-xetex
|
1
| sudo apt-get install tex-live-lang-chinese
|
1
| sudo apt-get install texstudio
|
VSCode 整治
安装LaTeX Workshop插件
安装LaTeX Snippets插件
打开设置,输入:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
| { "latex-workshop.synctex.afterBuild.enabled": true, "latex-workshop.view.pdf.viewer": "tab", "latex-workshop.latex.tools": [ { "name": "xelatex", "command": "xelatex", "args": [ "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "-pdf", "%DOCFILE%" ] }, { "name": "pdflatex", "command": "pdflatex", "args": [ "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOCFILE%" ] }, { "name": "bibtex", "command": "bibtex", "args": [ "%DOCFILE%" ] } ], "latex-workshop.latex.recipes": [ { "name": "xelatex", "tools": [ "xelatex" ] }, { "name": "xe->bib->xe->xe", "tools": [ "xelatex", "bibtex", "xelatex", "xelatex" ] } ], "editor.fontFamily": "'Consolas', '', monospace, 'Droid Sans Fallback'", "window.zoomLevel": 1, "editor.renderWhitespace": "boundary",
"editor.suggestSelection": "first", "editor.snippetSuggestions": "top", "editor.suggest.showWords": false, "editor.detectIndentation": false, "editor.suggest.snippetsPreventQuickSuggestions": false }
|