论文写作之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中

输入:

cpp 复制代码
{
    "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公式编辑器-编辑器

祝顺利!!

相关推荐
NextTech_16 小时前
不想学 vim,怎么改服务器上的配置文件?
服务器·编辑器·vim
别问!问就是全会1 天前
Jupyter Notebook 安装包下载|单元格分块运行,图表直接内嵌
ide·python·其他·jupyter
ITKEY_2 天前
emacs 文件管理Dired, the Directory Editor
linux·编辑器·emacs
1024奇点2 天前
【仓颉语言入门 · 第二篇 第 22 课】
开发语言·ide·开源
Solange__3 天前
图片转3D导出GLB、FBX还是OBJ?按5类任务比较材质、动画与可编辑性
人工智能·3d·ai·自然语言处理·编辑器·blender·材质
techpupil3 天前
IDEA基础配置及开发基础插件
java·ide·intellij-idea
赵庆明老师3 天前
Android Studio Google源代理配置
android·ide·android studio
2501_916008893 天前
iOS App 图标、启动屏和多语言搭配 方法,上架前使用KXBuild一次做好 App 图标
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
2501_915918413 天前
iOS 推送通知怎么实现,从 APNs p8 密钥到 iOS 真机收到第一条推送
vscode·ios·objective-c·个人开发·swift·敏捷流程
ThatMonth3 天前
vscode 编辑器怎么打开多页签,而不是覆盖已有的页签
编辑器