个人学习笔记,来源尽量标注,能力有限,仅供参考。
参考视频教程——清华大学物理系研究生会“Be Physicist Skills”第一期
LaTeX与Markdown初学者指南_哔哩哔哩_bilibilihttps://www.bilibili.com/video/BV1sZ4y1V7UZ?spm_id_from=333.337.search-card.all.click&vd_source=e7e2a58a4620baadd97797801e55b129
TeX
Donold Knuth发明了文字排版引擎TeX
LaTeX
Leslie Lamport在TeX基础上开发的排版系统
TeX Live
一个TeX的发行版
下载链接1(官方网站,慢):
https://www.latex-project.org/https://link.zhihu.com/?target=https%3A//www.latex-project.org/下载链接2(清华镜像):
Index of /CTAN/systems/texlive/Images/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirrorhttps://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/LaTeX 安装与配置 (texlive)_哔哩哔哩_bilibilihttps://www.bilibili.com/video/BV1Pm4y1d7wv?spm_id_from=333.337.search-card.all.click&vd_source=e7e2a58a4620baadd97797801e55b129下载texlive.iso
点install-tl.bat安装
可以调一些设置(安装路径全英文)
耐心等待(2小时)
显示“欢迎进入 TeX Live 的世界!”,说明安装成功了
Overleaf
在线LaTeX编辑器
Overleaf, 在线LaTeX编辑器https://cn.overleaf.com/注册即可使用
TeX Studio
一个TeX的IDE(集成开发环境),也是LaTeX编辑器
下载链接1(官方网站,不能用了):
https://www.texstudio.org/https://www.texstudio.org/下载链接2(清华镜像):
Index of /github-release/texstudio-org/texstudio/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirrorhttps://mirrors.tuna.tsinghua.edu.cn/github-release/texstudio-org/texstudio/Winedt
LaTeX编辑器(不是免费的,30天试用)
下载链接:
Downloads and Linkshttps://www.winedt.com/download.htmlTexmaker
好用,但是操作界面老旧
下载链接:
Texmaker (free cross-platform latex editor) (xm1math.net)https://www.xm1math.net/texmaker/VS CODE
微软开源,跨平台通用,轻便。
Visual Studio Code - Code Editing. Redefinedhttps://code.visualstudio.com/可以装扩展
Markdown
轻量级标记语言,排版语法简洁,实时预览无需编译
Markdown 官方教程https://markdown.com.cn/
排版方式 | 艺术类型 |
---|---|
Word | 所见即所得What you see is what you get |
LaTeX | 所想即所得What you think is what you get |
Markdown | 所见即所想What you see is what you think |
参考以下两个教程
vscode 配置 LaTeX,保姆级教程_哔哩哔哩_bilibilihttps://www.bilibili.com/video/BV1Y34y1r7jH?spm_id_from=333.337.search-card.all.click&vd_source=e7e2a58a4620baadd97797801e55b129使用 Vscode 配置 LaTeX | 芒果不盲 (ljguo1020.github.io)https://ljguo1020.github.io/2022/02/25/LaTeX-vscode/#%E5%AE%89%E8%A3%85%E6%8F%92%E4%BB%B6调整设置
点左下角齿轮符号-设置或者Ctrl+, 打开设置
点右上角左边这个打开设置(json),打开配置文件
把原有的代码替换为下面这个代码
{
"latex-workshop.latex.autoBuild.run": "never",
"latex-workshop.showContextMenu": true,
"latex-workshop.intellisense.package.enabled": true,
"latex-workshop.message.error.show": false,
"latex-workshop.message.warning.show": false,
"latex-workshop.latex.tools": [
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOCFILE%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOCFILE%"
]
},
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"%DOCFILE%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
]
}
],
"latex-workshop.latex.recipes": [
{
"name": "XeLaTeX",
"tools": [
"xelatex"
]
},
{
"name": "PDFLaTeX",
"tools": [
"pdflatex"
]
},
{
"name": "BibTeX",
"tools": [
"bibtex"
]
},
{
"name": "LaTeXmk",
"tools": [
"latexmk"
]
},
{
"name": "xelatex -> bibtex -> xelatex*2",
"tools": [
"xelatex",
"bibtex",
"xelatex",
"xelatex"
]
},
{
"name": "pdflatex -> bibtex -> pdflatex*2",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"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"
],
"latex-workshop.latex.autoClean.run": "onFailed",
"latex-workshop.latex.recipe.default": "lastUsed",
"latex-workshop.view.pdf.internal.synctex.keybinding": "double-click",
}
安装插件(扩展)
Chinese 用于汉化界面
LaTeX Workshop 必备插件
Markdown All in One 可以使用Markdown语言
Markdown Preview Enhanced
后缀名
.tex LaTeX/TeX文档文件类型和格式
.md markdown文件
正向反向搜索
正向搜索:选择代码,Ctrl+Alt+J
反向搜索:选择预览内容,Ctrl+左键
指令格式\command[options]{object}
环境\begin{environment}……\end{environment}