章节和段落
保存并用 XeLaTeX 编译如下文档,查看效果:
123456789101112131415161718 |
\documentclass[UTF8]{ctexart}\title{你好,world!}\author{Liam}\date{\today}\begin{document}\maketitle\section{你好中国}中国在East Asia.\subsection{Hello Beijing}北京是capital of China.\subsubsection{Hello Dongcheng District}\paragraph{Tian'anmen Square}is in the center of Beijing\subparagraph{Chairman Mao}is in the center of 天安门广场。\subsection{Hello 山东}\paragraph{山东大学} is one of the best university in 山东。\end{document} |
在文档类 article/ctexart 中,定义了五个控制序列来调整行文组织结构。他们分别是
\section{·}\subsection{·}\subsubsection{·}\paragraph{·}\subparagraph{·}
在
report/ctexrep中,还有\chapter{·};在文档类book/ctexbook中,还定义了\part{·}。