从零配置latex

首先下载安装tex live

https://www.tug.org/texlive/
在这里插入图片描述
在这里插入图片描述
下载,安装,貌似从镜像站下载回快点,懒得搞,
在这里插入图片描述
不急就等着就好了(还是挺久的,最好晚上睡觉放那儿挂机安装)
在这里插入图片描述
安装好打开终端测试一下

tex -v
latex -v
xelatex -v
pdflatex -v

在这里插入图片描述

vscode安装latex workshop插件

搜一下第一个就是了
在这里插入图片描述
配置settings:

{
    "latex-workshop.latex.tools": [
        {
            "name": "xelatex",
            "command": "xelatex",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "-pdf",
                "%DOCFILE%"
            ]
        },
        {
            "name": "pdflatex",
            "command": "pdflatex",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOCFILE%"
            ]
        },
        {
            "name": "bibtex",
            "command": "bibtex",
            "args": [
                "%DOCFILE%"
            ]
        }
    ],
    "latex-workshop.latex.recipes": [
        {
            "name": "xelatex ->bibtex -> xelatex*2",
            "tools": [
                "xelatex",
                "bibtex",
                "xelatex",
                "xelatex"
            ]
        },
        {
            "name": "xelatex",
            "tools": [
                "xelatex"
            ]
        },
        {
            "name": "pdflatex",
            "tools": [
                "pdflatex"
            ]
        }
    ],
    "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",
        "*.gz"
    ],
    // "latex-workshop.view.pdf.viewer": "tab",
    "latex-workshop.latex.autoClean.run": "onBuilt", 
    "latex-workshop.latex.autoBuild.run": "never", //若不注释掉就每次手动ctrl+alt+b编译
    // "window.zoomLevel": -1,
    // "debug.console.fontSize": 12,
    // "markdown.preview.fontSize": 12,
    // "terminal.integrated.fontSize": 12,
    // "editor.fontSize": 15,
    // "editor.minimap.enabled": false,
    // "editor.wordWrap": "on",
    // "latex-workshop.message.update.show": false
}

然后加载模版就可以正式开始写论文了
在这里插入图片描述
附上电子科技大学毕业论文模板:
https://github.com/x-magus/ThesisUESTC
补充官方版:
https://github.com/shifujun/UESTCthesis

可以用git进行版本管理
.gitignore file for LyX and LaTeX projects

推荐一个在线表格生成器:
https://www.tablesgenerator.com/
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值