回忆录类顶部边距在整个文档中有所不同。整个文档的顶部边距必须正好为 1 英寸

回忆录类顶部边距在整个文档中有所不同。整个文档的顶部边距必须正好为 1 英寸

这是仅为 ToC 显示的页面样式,其他的类似:

\makepagestyle{toc}
  \makeevenfoot{toc}{}{\thepage}{}
  \makeoddfoot{toc}{}{\thepage}{}
\DoubleSpacing
  \makeevenhead{toc}{CHAPTER}{}{Page}
  \makeoddhead{toc}{CHAPTER}{}{Page}

这是我相信的主表创建代码:

\let\oldtoc\tableofcontents
\renewcommand{\tableofcontents}{\clearpage\pagestyle{toc}\oldtoc}

\renewcommand{\contentsname}{TABLE OF CONTENTS}
\renewcommand{\listfigurename}{LIST OF FIGURES}
\renewcommand{\listtablename}{LIST OF TABLES}
\renewcommand*{\tocheadstart}{\vspace*{-\topfiddle}}
\renewcommand*{\aftertoctitle}{\thispagestyle{plain}%
  \par\nobreak \mbox{}\hfill{\normalfont Page}\par\nobreak}
\renewcommand*{\cftchapterfont}{\normalfont}
\renewcommand*{\cftchapterpagefont}{\normalfont}
\renewcommand*{\cftchapterleader}{%
  \cftchapterfont\cftdotfill{\cftchapterdotsep}}
\renewcommand*{\cftchapterdotsep}{\cftdotsep}
%\renewcommand*{\cftchaptername}{CHAPTER~}
%%% no extra space before the entry
\setlength{\cftbeforechapterskip}{0pt plus 0pt}
%% no extra 'chapter' space in LoF/LoT
\renewcommand*{\insertchapterspace}{}

这是我的文件中的内容.tex。基本内容:

\newpage
\pagestyle{toc}
\tableofcontents*
\listoftables   % if you have any tables
\listoffigures  % if you have any figures
\mainmatter
\pagestyle{toc}
\addtocontents{toc}{\cftpagenumbersoff{chapter}}
\addcontentsline{toc}{chapter}{CHAPTER}
\addtocontents{toc}{\cftpagenumberson{chapter}}

相关内容