仅允许章节在前言的偶数页上开始

仅允许章节在前言的偶数页上开始

我想允许前言中的章节从偶数页开始,而不更改正文的规则。我尝试了以下方法,但没有奏效:

\documentclass{memoir}
\begin{document}
\frontmatter
%\let\cleardoublepageorig\cleardoublepage
%\let\cleardoublepage\clearpage
\chapter{Some Stuff}
Some text
\chapter{Preface}
Some more text
%\let\cleardoublepage\cleardoublepageorig
\mainmatter
\chapter{First regular Chapter}
And so on.
\chapter{Second regular Chapter}
\end{document}

答案1

memoir\openany提供了、\openleft和的宏版本\openright。{参见回忆录手册第 84 页第 6.5 节。}

在此处输入图片描述

\documentclass{memoir}
\begin{document}
\frontmatter
\openany
\chapter{Some Stuff}
Some text
\chapter{Preface}
Some more text
\mainmatter
\openright
\chapter{First regular Chapter}
And so on.
\chapter{Second regular Chapter}
\end{document}

在此处输入图片描述

答案2

我知道这个问题是针对memoir文档类的,但无论如何这里是方法reportbook课程(参见\if@openright文档):

\documentclass{book}
\begin{document}

% let chapters start on any page, even or odd:
\makeatletter
\@openrightfalse
\makeatother

\frontmatter
\chapter{Some Stuff}
Some text
\chapter{Preface}
Some more text

% force chapters to start on an odd page:
\makeatletter
\@openrighttrue
\makeatother

\mainmatter
\chapter{First regular Chapter}
And so on.
\chapter{Second regular Chapter}

\end{document}

相关内容