1、settings文件配置
强制使用xelatex编译,使用浏览器浏览。
{"latex-workshop.latex.recipe.default": "latexmk (xelatex)","latex-workshop.latex.recipes": [{"name": "latexmk (xelatex)","tools": ["latexmk (xelatex)"]}],"latex-workshop.latex.tools": [{"name": "latexmk (xelatex)","command": "latexmk","args": ["-xelatex","-synctex=1","-interaction=nonstopmode","-file-line-error","%DOC%"]}],// 强制在浏览器查看"latex-workshop.view.pdf.viewer": "browser", "latex-workshop.latex.clean.method": "glob","latex-workshop.latex.clean.fileTypes": ["*.aux","*.bbl","*.blg","*.fdb_latexmk","*.fls","*.log","*.out","*.synctex.gz","*.toc"]
}
2、latex文件
见资源绑定