使用 Openright 和 twoside 实现多种页码样式

使用 Openright 和 twoside 实现多种页码样式

因此,我正在准备一份文档的外壳,并且我注意到 openright 在报告文档类中存在问题。在此文档中,我有初步页面和主要文档页面。初步页面使用罗马数字编号,而主要页面使用阿拉伯数字编号。Openright 似乎根据使用的页码而不是 PDF 所在的实际页面将奇数页分配为右页。因此,当切换到阿拉伯语时重置我的页码编号时,openright 和 twoside 会停止工作,并连续生成两个“奇数”页面(如果初步部分中有奇数页)。

\documentclass[11pt,twoside,openright]{report}
\begin{document}
\pagenumbering{roman}
\chapter{Prelim 1}
Text
\chapter{Prelim 2}
More text
\newpage
\pagenumbering{arabic}
\chapter{Main 1}
Even more text
\chapter{Main 2}
I can't believe there is this much text...
\end{document}

上面是我所指的一个例子,如果你编译它,你会注意到 Prelim 2 和 Main 1 章节在连续的页面上。有没有办法强制 openright 和 twoside 遵守页数而不是页码?

先感谢您!

答案1

正如 egreg 上面提到的,我已经改为book并使用 来\frontmatter处理\mainmatter编号。

多谢!

相关内容