古老的LaTeX 目前仍可以使用,有人尝试新语言,有人将其转至线上。
% 前导命令
\\begin{document}
% 自动封面
\\maketitle
% 生成目录,根据段落划分
\\pagenumbering{roman} % 目录开始记页码,罗马式
\\tableofcontents
\\newpage
\\pagenumbering{arabic} % 数字记页码开始
% 文档内容
\\section{章节标题}
\\label{intro}
This is the introduction.
\\subsection{子章节标题}
The first part of intro
\\subsubsection{标题形式由模板决定}
the one of first intro.
\\paragrapth{段落标题}
A special paragrapth belongs to subsubsection
Here are my results. Referring to section \\ref{intro} on page \\pageref{intro}.
\\end{document}
% 忽略内容