Latex安装教程 (TeX Live 和 TeXStudio)

大家好,我们又见面了,我是你们的朋友全栈君。

文章目录

TeX Live 安装

(1) 访问官网 Tex Live

(2) 选择 "on DVD"

(3) 选择 "downloading the TeX Live ISO image and burning your own DVD"

(4) 选择 "download from a nearby CTAN mirror"

(5) 下载 "texlive2020.iso"

(6) 下载完成后解压:在解压后的文件中右击 "install-tl-windows",选择以管理员身份运行

(7) 安装过程较慢(约40分钟),请耐心等待

(8) 安装成功验证:在命令提示符中输入 "tex --version",回车后出现以下内容表示安装成功:

TeXStudio 安装

(1) 访问官网 TexStudio

(2) 选择 "Download now"

(3) 下载完成后右击进行安装

(4) 设置 TeXStudio:在菜单栏的 "Options" 中点击 "Configure TeXstudio",然后选择左侧的 "Build",按照下图进行配置

(5) 新建文档测试:复制以下内容并粘贴到新建文件中,然后点击上方 "Tools" 下的 "Build & View"

\documentclass{ctexart}
\begin{document}
Hello \LaTeX
\end{document}

总结

完成上述步骤后,您就可以开始撰写文章和报告了。相应的 LaTeX 模板可以参考我的另一篇博客:LaTeX 模板以及经验汇总。

发布者:全栈程序员栈长,转载请注明出处:https://www.php.cn/link/860ec4b483f4eb74c18dff91f162331a

原文链接:https://www.php.cn/link/c8377ad2a50fb65de28b11cfc628d75c