LaTeX技巧
跳转到导航
跳转到搜索
标题居中
\renewcommand{\contentsname}{\centerline{目录}}
这样会造成页眉居中并且偏高。可使用 \thispagestyle{empty} 取消本页的样式。也可以通过重新定义页眉的方式来避开。使用afterpage宏包并在目录页前添加
\rhead{\small{\thepage\quad 目录}}
\afterpage{\rhead{\small{\leftmark}}}
页码
重置计数器为指定值
\setcounter{page}{1}
标题页不要页码
使用fancyhdr:
\begin{titlepage}
\fancypagestyle{plain}{%
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}
\title{title}
\author{authors}
\date{\today}
\maketitle
\end{titlepage}