Article directory
- foreword
- 1. Download the driver
-
-
-
- Click to enter the webpage [https://tug.org/texlive/](https://tug.org/texlive/)
- After you come in, slide down. It is recommended that you choose to download the virtual CD-ROM. If you re-download in the future, you can directly use the .iso software downloaded now to re-install.
- After entering, click to select a nearby mirror URL
- After entering, select the latest .iso program and click to download
-
-
- 2. Installation
foreword
Recently, I am going to start learning the use of Latex, so I will record it here.
1. Download the driver
Click to enter the webpage https://tug.org/texlive/
After you come in, slide down. It is recommended that you choose to download the virtual CD-ROM. If you re-download in the future, you can directly use the .iso software downloaded now to re-install.
After entering, click to select a nearby mirror URL
After entering, select the latest .iso program and click to download
It takes a long time to download, so be patient.
2. Installation
Find the folder where you just downloaded, and double-click to open the .iso software.
Then find the .bat file, right click and run as administrator
Click on Advanced Options
Installation takes a long time, maybe half an hour to fifty minutes.
After it's installed, click Close
3. Test
We use the command prompt to observe whether the installation is correct. Input
xetex -v.
If it appears
, then you need to go to the system environment to set it.
Click the lower right corner to search for advanced system settings.
After opening, select the environment variable. After opening, select Path in the system variable, and click Edit.
After entering, click New, find the folder where you installed texlive,
D: xxx\texlive\2022\bin\win32,
copy the path into the input box,
and finally click OK and then
check whether the installation is correct at the command prompt (you must first open the previous The command line window is closed)
input
After the installation is complete, you can call the terminal and enter
tex -v
latex -v
xelatex -v
pdflatex -v
shows that the installation was successful.
After the installation is successful, you need to choose the appropriate compiler. I am going to use the vscode that has already been installed. Write the recording process after this part.