1. Download of LaTex (texlive download + TexStudio download)
(1) texlive download:
(2) TexStudio download:
Click here to download the image.
You can choose different versions according to different systems.
2. LaTex installation (texlive installation + TexStudio installation)
2.1 Installation of texlive:
First, double-click to open the downloaded texlive2023.iso
Then double-click to open install-tl-windows.bat
Click Advanced
Modify the installation path according to personal needs, as shown below: (You can also default and install directly)
The installation is completed, as shown below:
After the installation is completed, check whether the installation is successful through the following methods:
First open cmd: Win+R——>cmd
and enter the following command to check whether the installation is successful by checking the version:
latex -v
If the version number appears, it means that texlive is successfully installed.
2.2 Installation of TexStudio:
First, double-click to open the downloaded installation package.
The next step is to
modify the path according to personal needs, as shown below: (It can also be installed directly by default)
After the installation is completed, double-click to open TexStudio, and the following problem is displayed:
Solution: [Open Options ——> Configure TexStduio ——> Conmmands —— > Select Latex.exe (the installation path of texlive you modified before \texlive\2022\bin\win32) --> OK]
At this point, TexStudio installation and configuration are complete.
Let's check whether we can use LaTex:
Create a new .tex file,
write a simple document, compile and check the effect
Above, we have completed a simple application including creating, compiling and saving.
After the installation is complete, you can start using it officially.
Extension: (LaTex download and installation) Why include Texlive and TexStudio?
In the above LaTex installation, two things are installed:
Tex distribution version (Texlive, which is a LaTex environment that must be installed.)
LaTex editor (TexStudio, which is a more official editor.) Latex
environments include: texlive and MikTex
. The difference between them: texlive takes up a lot of space and is all-inclusive; MikTex It takes up little space and is not fully packed.
Latex editors include: TexStudio, vscode, sublime and other text editors.
TexStudio is a more official editor, but it is not required. Other editors can also be used.