羅馬數字頁碼不增加

羅馬數字頁碼不增加

我正在嘗試使用羅馬數字對標題頁到內容頁之間的所有頁面進行編號。

目前,除了內容的第二頁和最後一頁 II 之外,所有頁面都使用相同的羅馬數字 I 進行編號。

看起來羅馬數字直到內容頁才增加。然後,我在內容頁面之後將頁碼樣式更改為阿拉伯語,工作正常。

\documentclass[12pt,a4paper]{report}
\begin{document}
\begin{titlepage}\centering
Main title page
\end{titlepage}

\pagenumbering{Roman}
\begin{titlepage}
\thispagestyle{plain}
Dissertation title
\end{titlepage}


\newpage
\clearpage
\begin{center}
\thispagestyle{plain}
This dissertation may be made available for consultation within the University Library and may be photocopied or lent to other libraries for the purposes of consultation.
\end{center}
\clearpage

\begin{abstract}
\thispagestyle{plain}
Abstract text
\end{abstract}

\cleardoublepage
\tableofcontents
\cleardoublepage

\pagenumbering{arabic}
\chapter{Introduction}
Intro


\end{document}

答案1

在報表類別中,titlepage設計為建立一個本質上未編號的頁面,因此它將頁面計數重設為 0(因此,如果與 page style 一起使用,它將建立一個未編號的頁面 1 empty)內部\abstract調用\titlepage,以便再次重置頁面。

\stepcounter{page}您可以重新定義這些構造來不這樣做,但也許更簡單的方法是在強制分頁之後說。

相關內容