LaTex & VS Code
VS Code 安装插件 LaTeX Workshop
.vscode/settings.json
{
"editor.fontSize": 18,
"window.zoomLevel": 0,
"workbench.colorCustomizations": {
"editor.selectionHighlightBackground": "#ffffff00",
"editor.findMatchBorder": "#ffff00",
"editor.findMatchHighlightBorder": "#C52930",
"editor.selectionHighlightBorder": "#00ff00",
"editor.selectionBackground": "#007947cc",
"editor.wordHighlightBackground": "#771835",
"editor.findMatchBackground": "#000000",
"statusBar.debuggingBackground": "#410d18",
"statusBar.debuggingForeground": "#dddddd"
},
"editor.detectIndentation": false,
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.cursorSmoothCaretAnimation": true,
"latex-workshop.latex.tools": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"%DOC%"
]
},
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
]
}
],
"latex-workshop.latex.recipes": [
{
"name": "xelatex",
"tools": [
"xelatex"
]
},
{
"name": "latexmk",
"tools": [
"latexmk"
]
},
{
"name": "pdflatex -> bibtex -> pdflatex*2",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"pdflatex"
]
}
],
"latex-workshop.view.pdf.viewer": "tab",
"latex-workshop.latex.clean.fileTypes": [
"*.aux",
"*.bbl",
"*.blg",
"*.idx",
"*.ind",
"*.lof",
"*.lot",
"*.out",
"*.toc",
"*.acn",
"*.acr",
"*.alg",
"*.glg",
"*.glo",
"*.gls",
"*.ist",
"*.fls",
"*.log",
"*.fdb_latexmk"
]
}
|