超详细2024版Latex安装Texlive+Texstudio(含环境配置)

一、软件介绍

(一)Latex介绍

LaTeX(LATEX,音译“拉泰赫”)是一种基于ΤΕΧ的排版系统,由美国计算机学家在20世纪80年代初期开发,利用这种格式,即使使用者没有排版和程序设计的知识也可以充分发挥由ΤΕX所提供的强大功能,能在几天、甚至几小时内生成很多具有书籍质量的印刷品。对于生成复杂表格和公式,这一点表现得尤为突出。因此它非常适用于生成高印刷质量的科技和数学类文档。并且免费!

(二)latex编写环境

latex编写环境有很多,在这里我建议大家用的是Texlive + Texstudio,其中texlive是对latex进行编译的,其中包括一些包、宏等;texstudio是latex的编辑器,是一个供用户直观写作的界面。

二、Texlive 2024安装

(一)Texlive 2024安装包下载

如果从国外官方正版网站直接下载速度很慢,可能要好几个小时,所以我推荐使用清华大学镜像网站来下载安装包。

(二)Texlive2024安装

1、下载好安装包后,点击装载打开安装包

2、双击install-tl-windows.bat安装文件

3、出现如下安装页面后,首先修改安装路径(软件很大,不要放在C盘)

4、修改好安装路径后,点击左下角Advanced,然后选择Customize,选择安装的语言包

中文和英文两种语言包就够(为了节省空间,别的语言也用不到)

5、之后点击安装,等待即可(时间有点久,几十分钟,耐心等待)

6、出现如下界面,则为安装成功,点击关闭即可。

(三)Texlive2024环境配置

说明:有的人下载完环境配置自动添加了,有的没有。所以还是在这里写下,也可以让大家检查下自己的环境是否配置。

1、直接在搜索栏中搜索环境变量,打开。

2、点击环境变量

3、在系统变量中找到Path变量,双击打开。

4、点击新建,输入D:\download\Latex2024\texlive\2024\bin\windows(根据自己 的安装路径同理设置)

(四)测试安装是否成功

1、按住win+R打开运行窗口 ,输入cmd

2、命令行输入latex -v,显示如下即为安装成功

三、Texstudio安装

1、进入Texstudio官网下载安装包

2、双击下载好的安装包,修改安装路径,建议不要放在C盘

3、等待几分钟后,即可安装完毕

开启你的写作之旅吧!

### TeX Live 2024 Installation and Usage Guide #### Overview of TeX Live 2024 TeX Live is a comprehensive distribution that includes the essential components required for typesetting documents using LaTeX, plain TeX, ConTeXt, and other related systems. The 2024 release brings several improvements and updates to ensure compatibility with modern operating systems and software environments. #### System Requirements Before installing TeX Live 2024, verify that the system meets the minimum requirements: - Operating Systems: Windows (7 or later), macOS (10.9 or later), Linux distributions. - Disk Space: Approximately 3 GB free space recommended for full installation[^1]. #### Downloading TeX Live 2024 To obtain the latest version of TeX Live 2024, visit the official website at `https://www.tug.org/texlive/`. From there, follow these links based on your platform: - For **Windows**: Choose "texlive-windows.exe". - For **macOS**: Select "Install TeX" which provides an installer package (.pkg). - For **Linux**: Use the command-line script available via FTP or HTTP download options provided on the site. #### Installing TeX Live 2024 Once downloaded, proceed as follows depending on the chosen method: ##### On Windows Run the executable file (`texlive-windows.exe`). Follow the graphical interface instructions carefully during setup. By default, this will install all packages but can be customized according to user needs. ##### On macOS Open the `.pkg` file after downloading it from the web page mentioned earlier. This opens up Apple's Installer application where one should simply click through until completion. ##### On Linux For those preferring terminal commands over GUI tools, open a shell prompt and execute: ```bash sudo apt-get update && sudo apt-get install texlive-full ``` Alternatively, use the network installer by running: ```bash wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz tar -xzvf install-tl-unx.tar.gz cd install-tl* ./install-tl ``` #### Post-installation Configuration After successful installation, configure environment variables so that binaries are accessible globally without specifying paths explicitly each time they need invoking. Instructions vary slightly between platforms; refer back to documentation included within respective installations for specifics relevant here[^2]. #### Updating Packages Keeping installed packages current ensures access to bug fixes along with new features introduced periodically throughout development cycles post-release date. Utilize tlmgr utility bundled inside every standard TexLive bundle like such: ```bash tlmgr update --self --all ``` #### Basic Commands Reference Here’s how some common tasks might look when working directly under Unix-like shells including Cygwin/bash sessions on MS-Windows machines too: - Compile .tex files into PDF format: ```bash pdflatex filename.tex ``` - View generated document output interactively: ```bash evince filename.pdf & ``` Or alternatively, ```bash okular filename.pdf & ``` --related questions-- 1. What specific changes were made in TeX Live 2024 compared to previous versions? 2. How does one customize the installation process beyond just selecting predefined schemes offered initially? 3. Are there any known issues users may encounter while upgrading their existing setups to TeX Live 2024? 4. Can you provide tips for troubleshooting common problems encountered after setting up TeX Live 2024?
评论 21
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值