Since the local installation of latex takes up a lot of capacity (much larger than the glory of the king), I wanted to use the overleaf online editor to write papers at the beginning, but the domestic network is not very good, and the experience is not good.
So in order to be safe, I still decided to install it locally.
The following first gives me the total time spent downloading and installing the whole process, so that everyone can reasonably arrange what time period to download and install this software.
Total time: 1 hour.
Computer price: 5000 yuan
Part 1: Download and install
1. Enter the official website: https://www.tug.org/texlive/ and click on the red arrow.
2. Click the link at the red arrow.
3. Click the link at the red arrow to download from a nearby domestic mirror source, which is faster.
4. After clicking the above, the website will automatically jump to a mirror website for you. It is not certain who the mirror website will be. For example, mine is as shown in the figure below.
We choose the first one and click texlive.iso. (Actually here texlive.iso=texlive2020.iso. Because the first one is the latest version by default.)
The internet speed of 2020 is all set, and it should be possible to download the 3.7G in 15 minutes.
Download time: 15 minutes.
5. Find the download location of the image file and unzip it.
Decompression time: 1 minute.
6. Open the unzipped folder.
7. Click the installed batch file.
8. Modify the directory, don't install it on the C drive, it's too big. However, if you have a large capacity, feel free to do so.
After modifying the directory, click Install.
The next step is a long installation time, your computer will be clattering, and it's better for performance.
Installation time: 35 minutes.
9. The installation is successful.
Part 2: Use
1. Search for the front-end editor below and open it.
2. Copy the following content to the edit box
\documentclass[UTF8]{ctexart}
\begin{document}
\section{专辑} 哎呦,不错哦
\end{document}
3. Since we are using Chinese, follow the red arrow to modify it to XeLaTeX, English does not need to be modified.
4. Save this file first, try to use the English file name, and do not modify the suffix, here mine istest224.tex
Then press the green button to compile and generate our final layout as follows.
To explain a little, the first "album" in the layout is a table of contents automatically generated according to all chapters, and the second "album" is the chapter title.