回憶錄:使用 openleft 更正頁碼

回憶錄:使用 openleft 更正頁碼

我正在寫一本書,我希望章節從左頁開始(由於語言是從右到左書寫的......)。

但是,使用memoiropenlefttwoside我帶來了一個問題,即該章asd(請參閱下面的範例)從 page 開始ii,而不是i所需的 page :

\documentclass[twoside, openleft]{memoir}

\usepackage{textcomp}
\usepackage{blindtext}    

\begin{document}

\copypagestyle{foo}{headings}
\makeevenhead{foo}{\thepage}{}{\rightmark}
\makeoddhead{foo}{\leftmark}{}{\thepage}
\pagestyle{foo}
\aliaspagestyle{chapter}{empty}    

\frontmatter

\chapter{asd}
\Blindtext

\end{document}

我嘗試使用重置頁碼計數器\setcounter{page}{0},但無濟於事。重置計數器的正確方法是什麼?

答案1

我假設你的真實文檔會在你之前有一些東西\chapter{asd},但是對於你的 MWE,如果你把

\mbox{} % empty text
\setcounter{page}{-1}

之間\frontmatter,然後\chapter{asd}放入

\setcounter{page}{1}

之間\chapter{asd}\Blindtext我認為您會得到您所要求的內容:空白的正面頁面,帶有 ASD 章節的編號為 i 的反面頁面,然後是從 ii 開始編號的頁面。

我不喜歡它。 --- GOM

相關內容