论文写作之latex配置(VSCODE+TEXT LIVE)

1.overleaf

初学者学习latex可以用这个练习,可以在线编辑十分方便,但是编译时间受限制

网站:https://www.overleaf.com/project

2.Tex live

选择一个.iso文件下载

网站:Index of /CTAN/systems/texlive/Images/

下载成功!!文件比较大5.6G,耐心等待

点击打开,再点这个.bat文件

点击advanced

1.可以修改路径,到自己想安装的位置就行

2.取消勾选Texworks,我们使用vscode不需要这个

3.选择语言,选英文和中文就行

完事可以安装,安装需要1个小时,请耐心等待

安装完成之后,在cmd中输入 latex -v,可以看到以下,表示成功

3.VSCODE

网站:Visual Studio Code - Code Editing. Redefined

这个安装比较简单

在vscode扩展中安装latex workshop这个插件

在这个插件的setting.json中

输入:

{
    "latex-workshop.latex.tools": [
      {
        "name": "pdflatex",
        "command": "pdflatex",
        "args": [
          "-synctex=1",
          "-interaction=nonstopmode",
          "-file-line-error",
          "%DOC%"
        ]
      },
      {
        "name": "xelatex",
        "command": "xelatex",
        "args": [
          "-synctex=1",
          "-interaction=nonstopmode",
          "-file-line-error",
          "%DOC%"
        ]
      },
      {
        "name": "bibtex",
        "command": "bibtex",
        "args": [
          "%DOCFILE%"
        ]
      }
    ],
  
  
    "latex-workshop.latex.recipes": [
      {
        "name": "pdflatex",
        "tools": [
          "pdflatex"
        ]
      },
      {
        "name": "xelatex",
        "tools": [
          "xelatex"
        ]
      },
      {
        "name": "xe->bib->xe->xe",
        "tools": [
          "xelatex",
          "bibtex",
          "xelatex",
          "xelatex"
        ]
      },
      {
        "name": "pdflatex -> bibtex -> pdflatex*2",
        "tools": [
          "pdflatex",
          "bibtex",
          "pdflatex",
          "pdflatex"
        ]
      }
    ],
  
    
    "latex-workshop.latex.autoBuild.run": "never",
    "latex-workshop.synctex.afterBuild.enabled": true,
  
    "latex-workshop.view.pdf.viewer": "external",
    "latex-workshop.view.pdf.external.viewer.command": "D:/SumatraPDF/SumatraPDF.exe",
  
    "latex-workshop.view.pdf.external.synctex.command": "D:/SumatraPDF/SumatraPDF.exe",
    "latex-workshop.view.pdf.external.synctex.args": [
      "-forward-search",
      "%TEX%",
      "%LINE%",
      "-reuse-instance",
      "-inverse-search",
      "\"D:/Microsoft VS Code/Code.exe\" -g \"%f:%l\"",
      "%PDF%"
    ],
    "latex-workshop.view.pdf.internal.synctex.keybinding": "double-click",
    "editor.semanticTokenColorCustomizations": {
    "rules": {}
    }
  }

sumatrapdf:

上述链接可以下载这个sumatrapdf软件,安装简单,配置到json中修改对应路径就行

4.表格编辑软件

网站:https://www.latex-tables.com/

5.公式编辑软件

网站:在线LaTeX公式编辑器-编辑器

祝顺利!!

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

不是复数

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值