基于Windows的LaTex的安装与使用

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lancecrazy/article/details/82861715

1 下载准备

  1. LaTex命令速查
  2. LaTex入门(刘海洋)(推荐)
  3. LaTex入门与提高
  4. texlive2018.iso
  5. 默认已下好vscode,sublime
  6. LaTeXTools (Package Control 安装,离线
  7. Sumatra PDF(LaTeXTools 默认使用它来预览生成的 PDF,下载地址

链接:https://pan.baidu.com/s/10JPKnKzaopVqC1Y612dSoQ 密码:vwci

2 texlive 2018 安装[参考]

  1. 解压 \rightarrow 点击install-tl-advanced红色部分,然后点击continue
  2. 出现Install-tl
  • 更改安装路径
    -修改注册表中的path值更改为是
  1. 选择安装texlive,静心等待

3 基于vs安装Latex Workshop[参考]

  1. 扩展中搜索LaTex Workshop
  2. 修改pdflatex为Xalatex即可支持中文
  3. 修改方法如下

ctrl+, \rightarrow atex-workshop.latex.toolchain \rightarrow 右键 Replace in Setting \rightarrow 修改为如下代码

     "latex-workshop.latex.toolchain": [
            {
                "command": "xelatex",
                "args": [
                    "-synctex=1",
                    "-interaction=nonstopmode",
                    "-file-line-error",
                    "%DOC%"
                ]
            }, {
                "command": "bibtex",
                "args": [
                    "%DOCFILE%"
                ]
            }, {
                "command": "xelatex",
                "args": [
                    "-synctex=1",
                    "-interaction=nonstopmode",
                    "-file-line-error",
                    "%DOC%"
                ]
            }, {
                "command": "xelatex",
                "args": [
                    "-synctex=1",
                    "-interaction=nonstopmode",
                    "-file-line-error",
                    "%DOC%"
                ]
            }
        ]

# 4 基于Sublime Text3安装[参考]
基于TeXlive,使用Sublime Text 3编写LaTeX
介绍的十分详细略去介绍
在配置过程中因文档会更新,所以定位行数会有所不同,找到相关字,Ctrl/Command + F定位即可

猜你喜欢

转载自blog.csdn.net/lancecrazy/article/details/82861715
今日推荐