目录页码错误

目录页码错误

对于下面的 MWE:

\title{TITLE} 

\documentclass[a4paper,11pt,twoside]{report}
\usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage{fancyhdr}
\usepackage{setspace}
\begin{document}

%%%%%%%%%%%%%%%
% TITLE PAGE %%%%%
%%%%%%%%%%%%%%%
\maketitle %Title page

%make an empty page
\newpage
\thispagestyle{empty}
\mbox{}
%%%%%%%%%%%%%%%

\begin{abstract}
\noindent
abstract
\end{abstract}

\newpage

\thispagestyle{empty} %Empty page

\begin{center}
\vspace*{10cm}
Some acknowledgment
\end{center}

\vspace*{3.5cm} %space so that page stays empty

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% For header and footers %%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancyplain}
% Clear the default
\fancyhead{}
\fancyfoot{}
\renewcommand{\footrulewidth}{0.4pt}
\fancyfoot[CO,CE]{\thepage}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% CONTENTS PAGE 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand*\contentsname{Table of Contents}
\setcounter{page}{1}
\begin{spacing}{1.0}
\pagenumbering{Roman}
\tableofcontents
\end{spacing}
\newpage

\end{document}

为什么标题页从 II 开始而不是从 I 开始?在我添加该部分之前,一切都很好%make an empty page。有什么想法吗?

答案1

放入\clearpage

\renewcommand*\contentsname{Table of Contents}
\clearpage  %%% here
\setcounter{page}{1}

相关内容