texlive 2022安装与使用

本文介绍如何下载并安装TeXLive 2022,包括打开ISO文件和执行安装脚本的步骤。安装完成后,展示了如何通过命令行获取LaTeX的PDF教程,并使用自带的编辑器TeXWorks进行简单的中文文档排版。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

下载texlive 2022的iso文件

双击打开iso文件

执行install-tl-windows.bat

等,等很久,等安装完毕

安装完毕会出现如下提示:

...

 TEXLIVE=C:\texlive\2021\bin\win32
 ----------------------------------------------------------------------


欢迎进入 TeX Live 的世界!


See C:/texlive/2022/index.html for links to documentation.
The TeX Live web site (https://tug.org/texlive/) contains any updates and corrections. TeX Live is a joint project of the TeX user groups around the world; please consider supporting it by joining the group best for you. The list of groups is available on the web at https://tug.org/usergroups.html.
Logfile: C:/texlive/2022/install-tl.log
Installed on platform win32 at C:/texlive/2022

......

执行命令 texdoc lshort-zh-cn,显示latex的pdf教程

texlive 2022自带latex编辑器texworks

输入字符串

\documentclass{ctexart}
\begin{document}
在\LaTeX{}中排版中文。
汉字和English单词混排,通常不需要在中英文之间添加额外的空格。
当然,为了代码的可读性,加上汉字和 English 之间的空格也无妨。
汉字换行时不会引入多余的空格。
\end{document}

然后点击左上角的绿三角符号,编译即可。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值