vscode配置latex环境制作【文档、简历、resume】
1. 安装Tex Live及vscode插件
可以参考:vscode配置latex环境制作beamer ppt
2. 添加vscode配置文件
打开vscode
,按下Ctrl + Shift + P
打开搜索框,搜索Preference: Open User Settings (JSON)
然后添加以下的配置文件:
json
"latex-workshop.latex.tools": [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-xelatex",
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOC%"
]
}
],
"latex-workshop.latex.recipes": [
{
"name": "latexmk (xelatex)",
"tools": [
"latexmk"
]
}
],
"latex-workshop.latex.autoBuild.run": "onFileChange",
"latex-workshop.view.pdf.viewer": "tab"
这样就配置好了,然后我们可以进行一下测试
3. 测试
在overleaf
:Templates --- Résumé / CV下载你所感兴趣的简历模板,然后直接编译,出现的效果如下: