Latex beginner study notes

Writing order: write the outline first, then fill in the text

outline

Annotate and set the document class:

注释符号:% This is an annotation.
设置文档类(文章):\documentclass{article}
设置文档类(美赛模板):\documentclass{mcmthesis}

The part before /begin{document} is called preamble (introduction area), which is usually used to set the nature of the document or customize some commands.

设置标题:\title{The Comprehensive Evacuation Planing Model in Case of Emergency}
设置作者:\author{ }
设置日期为今天:\date{\today}
声明参考文献格式:\bibliographystyle{plain}

Declare the document environment: This is the text part of the thesis, and it is also the part of the direct output.

\begin{document} 
\maketitle       % 输出标题
\tableofcontents % 输出目录
\bibliographystytle{math}  % 提示tex从math文献数据库中获取文献信息,打印参考文献列表
\section
\subsection
\end{document}

Fill in the text

Space: It only serves to separate words and symbols, and using many spaces does not increase the spacing between words;

Empty lines: Empty lines act as paragraphs. A single newline only acts on the source code, making it more readable. Displaying article sections requires creating a blank line. Using a lot of blank lines does not increase the line spacing; in addition, LaTeX will automatically segment before the paragraph, no need to manually enter the space.

Guess you like

Origin blog.csdn.net/qq_58325158/article/details/122714562