vscode letax编译中英文论文(傻瓜式、一分钟)

可以去参考视频

VS Code + LaTex 更加美观的文章编辑器_哔哩哔哩_bilibili

第一步:下载letax编译器

第二步点击设置,找到setting.json,

输入下面代码

复制代码
{
    // Latex workshop
    "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": "xelatex ➞ bibtex ➞ xelatex × 2",
            "tools": [
                "xelatex",
                "bibtex",
                "xelatex",
                "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.enabled": true,
    "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"
    ],
    "editor.wordWrap": "on",
    "latex-workshop.intellisense.bibtexJSON.replace": {} // 删掉后续多余的逗号
}

最后点这两个东西运行才会出现中文

相关推荐
克里斯蒂亚诺更新11 小时前
myeclipse的pojie
java·ide·myeclipse
羌俊恩15 小时前
Vim modeline 命令执行漏洞(CVE-2026-34714)修复指导
linux·编辑器·vim·漏洞·cve-2026-34714
Project_Observer17 小时前
为您的项目选择最合适的Zoho Projects自动化巧能
大数据·运维·人工智能·深度学习·机器学习·自动化·编辑器
时光之源17 小时前
Labelme安装及使用说明教程
vscode·数据集·cursor·labelme·数据标注
好运的阿财17 小时前
“锟斤拷”问题——程序中用powershell执行命令出现中文乱码的解决办法
linux·前端·人工智能·机器学习·架构·编辑器·vim
砖头拍死你17 小时前
Powershell使用vim修改文件保存后文件名自动全变小写
linux·编辑器·vim
意疏20 小时前
【C语言】解决VScode中文乱码问题
c语言·开发语言·vscode
Dshuishui20 小时前
VSCode 环境下编译运行 C++ 项目
c++·ide·vscode
swear0120 小时前
【VSCODE 插件 rust-analyzer 使用】打开文件夹
ide·vscode·rust
ShawnLiaoking20 小时前
Github 克隆 PyCharm,vscode
ide·pycharm·github