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
相关推荐
bu_shuo11 天前
将AI生成的数学公式正确复制到word中
人工智能·chatgpt·word·latex
꧁Q༒ོγ꧂12 天前
LaTeX 语法入门指南
开发语言·latex
seasonsyy14 天前
Latex中&符号的作用:对齐
latex·software
seasonsyy15 天前
Latex:把图标以图片形式插入到某句话中
latex·software
爱数模的小云20 天前
美赛LaTeX小白入门指南
数学建模·latex·数模美赛
时光Autistic20 天前
【环境配置】安装LaTeX并配置到PyCharm使用
ide·python·pycharm·latex
seasonsyy23 天前
CTex 2.8.0 更改编辑区文字大小
latex·ctex·winedit
seasonsyy24 天前
CTex2.8.0.125改变编辑区背景颜色
latex·ctex
seasonsyy25 天前
CTex 2.9.2 更改编辑区文字大小
latex·ctex·winedit
小桥流水---人工智能1 个月前
tcolorbox 设置 breakable 后断页颜色失效问题及解决方案
latex