Latex安装记录

Title:Latex

基本概念

Tex:是一种具有编译和排版功能的基础语言,相当于C语言。

Latex::LaTex是 Tex 的扩展版本,拥有多种宏包,能实现比 Tex 更多的功能。

TexLive:是一种 Tex 语言的发行版本。

Texstudio: 一种软件相当于一个外壳,与 TexLive 连接使用,相当于给TexLive 带上一个外壳,工作原理还是 TExLive,编辑环境是在 Texstudio上。

Latex运行环境与安装

Tex Live:

TexLive下载地址:https://tug.org/texlive/

安装中的选项:

1.把各种语言删除,Texworks不要选择。

2.注册表的path 是

Test Texlive is availible?

  1. open cmd
  2. input tex -v , latex -v , xelatex -v,if the cmd return the version of tex,it means Texlive is availible.
  3. cmdtlmgr update -all 用于更新。

写一个文本进行测试:

workspace:/LatexTest/test.tex
编码格式:UTF-8  //用于处理中文
\documentclass{article}
\usepackage{ctex}   //用于中文显示
\begin{document}
Hello \LaTeX.
\end{document}

编译命令:
latex test.tex
dvipdfmx test.dvi

latex test.tex

编译:建议写.bat脚本进行编译,可重复使用。

# buildx.bat
latex test.tex
dvipdfmx test.dvi
del *.aux *.dvi *.log
相关推荐
ejinxian8 天前
LaTeX 编辑器-TeXstudio
编辑器·latex·texstudio·texmaker
RS_数模加油站25 天前
【研赛论文】数学建模2024华为杯论文word/latex模板
数学建模·word·latex·华为杯
孙悟空间1 个月前
国产 LateX 线上平台 LoongTeX 推荐
latex·loongtex
Gu_fcsdn1 个月前
Python将Latex公式插入到Word中
python·word·latex·latex2word
CarnivoreRabbit1 个月前
win10环境下gvim离线配置插件的一些补充
latex
HelloWorld__来都来了2 个月前
【问题记录+总结】VS Code & Tex Live 2024 & Latex Workshop & Springer模板----更新ing
vscode·latex·template method·tex studio
Misnearch2 个月前
overleaf上latex表格的使用,latex绘制三线表
latex·论文写作·overleaf
S数据菜菜2 个月前
【科研】# Taylor & Francis 论文 LaTeX template模版 及 Word模版
科研·科普·latex
木心2 个月前
vscode配置latex环境制作【文档、简历、resume】
vscode·编辑器·latex
伊织code3 个月前
Nougat - 学术文档PDF解析(LaTeX数学、表格)
数学·pdf·解析·latex·表格·学术·nougat