用VScode写Latex

主要内容可以直接导到这里

A Fast Guide on Writing LaTeX with LaTeX Workshop in VS Code - Jia Jia Math

其中关于TexLive安装完成之后的路径设置有一些迷惑,win11下测试是不需要手动去添加的,去系统变量里检查一下就可以了,应该点开path就是最后一个

其他部分应该比较顺利,还有后面json配置是这样的:

{
    "editor.inlineSuggest.enabled": true,
    "security.workspace.trust.untrustedFiles": "open",
    "files.autoSave": "afterDelay",
    "editor.fontFamily": "Fira Code, Fira Code Mono",
    "protoc": {
    
    },
    "editor.unicodeHighlight.ambiguousCharacters": false,
    "cmake.configureOnOpen": true,
    "editor.fontSize": 16,
    "accessibility.dimUnfocused.opacity": 1,
    "debug.terminal.clearBeforeReusing": true,
    "terminal.integrated.fontSize": 15,
    "terminal.integrated.lineHeight": 1.2,
    "terminal.integrated.letterSpacing": 0.9,
    "terminal.integrated.inheritEnv": false,
    "terminal.integrated.fontFamily": "Fira Code",
    "explorer.confirmDragAndDrop": false,
    "workbench.iconTheme": "material-icon-theme",
    "workbench.productIconTheme": "vscode-v1-icons",
    "explorer.confirmDelete": false,
    "workbench.colorTheme": "Default Dark+"
    "latex-workshop.latex.tools": [
        {
         "name": "latexmk",
         "command": "latexmk",
         "args": [
          "-synctex=1",
          "-interaction=nonstopmode",
          "-file-line-error",
          "-pdf",
          "-outdir=%OUTDIR%",
          "%DOC%"
         ],
         "env": {}
        },
        {
         "name": "xelatex",
         "command": "xelatex",
         "args": [
          "-synctex=1",
          "-interaction=nonstopmode",
          "-file-line-error",
          "%DOC%"
         ],
         "env": {}
        },
        {
         "name": "pdflatex",
         "command": "pdflatex",
         "args": [
          "-synctex=1",
          "-interaction=nonstopmode",
          "-file-line-error",
          "%DOC%"
         ],
         "env": {}
        },
        {
         "name": "bibtex",
         "command": "bibtex",
         "args": [
          "%DOCFILE%"
         ],
         "env": {}
        }
       ],
       "latex-workshop.latex.recipes": [
        {
         "name": "pdfLaTeX",
         "tools": [
          "pdflatex"
         ]
        },
        {
         "name": "latexmk 🔃",
         "tools": [
          "latexmk"
         ]
        },
        {
         "name": "xelatex",
         "tools": [
          "xelatex"
         ]
        },
        {
         "name": "pdflatex ➞ bibtex ➞ pdflatex`×2",
         "tools": [
          "pdflatex",
          "bibtex",
          "pdflatex",
          "pdflatex"
         ]
        },
        {
        "name": "xelatex ➞ bibtex ➞ xelatex`×2",
        "tools": [
          "xelatex",
          "bibtex",
          "xelatex",
          "xelatex"
         ]
        }
    ]
       
}

最后测试成功,散花~

相关推荐

  1. 2024.5.12 ubuntu + latex + vscode

    2024-02-03 06:44:03       10 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-02-03 06:44:03       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-02-03 06:44:03       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-02-03 06:44:03       19 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-02-03 06:44:03       20 阅读

热门阅读

  1. PHP 配置Redis拓展及应用

    2024-02-03 06:44:03       37 阅读
  2. 学习方法分享

    2024-02-03 06:44:03       35 阅读
  3. Python数据库编程:SQLite、MySQL与MongoDB

    2024-02-03 06:44:03       32 阅读
  4. NetApp FAS2750 和 FAS2820 简化分布式企业的存储

    2024-02-03 06:44:03       33 阅读
  5. 【MQ04】消息持久化与确认机制

    2024-02-03 06:44:03       24 阅读