LaTeX
Edit installation
texmaker
installation
sudo apt install texmaker
LaTeX
Macro package installation
LaTeX
Install the macro package (unfinished)
Download the macro package, the address of the mirror station of the Chinese University of Science and Technology latex macro package
Install the macro package
# 先解压下载的宏包,以ctex.tds.zip示例
unzip ctex.tds.zip
LaTeX
Linux
Support Chinese macro package during installation
sudo apt install texlive-lang-chinese
LaTeX
Basic grammar
LaTeX
Set the title of the
LaTeX
title\begin{document}
before, the title cannot use Chinese, I don’t know how to solve it
\tilde{标题}
\begin{document}
正文
\end{document}
LaTeX
Import macro package
\usepackage{包名}
LaTeX
Support Chinese
character encoding,\documentclass[UTF8]{ctexart}
\documentclass[UTF8]{ctexart}
\begin{document}
第一章 概述
\end{document}
LaTeX
Title is centered.
Introduce the package in the title play\usepackage[justification=centering]{caption}
, example
\documentclass[UTF8]{ctexart}
\usepackage[justification=centering]{caption}
\begin{document}
\begin{center}
第一章 概述
\end{center}
\end{document}
- Modify the font size, see Latex to modify the font size
LaTeX
The bold command is \textbf{文字}LaTeX
Enter a space, see how to type latex spacesLaTeX
Enter various arrows, see Summary of Latex symbols supported by MathJax (various arrow symbols)LaTeX
Enter text on the arrow, see LaTex Add text on the arrowLaTeX
Use to\\
indicate line breakLaTeX
Use Chinese in mathematical symbols, see LaTex | Insert Chinese in LaTex Mathematical FormulaLaTeX
Add a box, see how latex adds a text box