章節從右側開始,將文字放在左側

章節從右側開始,將文字放在左側

我正在使用經典論文模板。 (編輯:實際上,我沒有在任何地方加載麥粒腫,所以我想我只是使用 srcbook?但是麥粒腫位於同一個資料夾中...)

與許多書籍範本一樣,章節在雙頁模式下從右側頁面開始。這就是我想要的。

不過,我想將文字放在該章起始頁的左頁上。這種情況如何參考本章。

我怎樣才能做到這一點?因此,正文與章節開頭相聯繫。

我可能會搞亂 \clearpage,但這是一個“骯髒”的解決方案,因為每次我更改文字時它都可能會跳轉...

答案1

我不確定我是否明白你想做什麼。

您可以用來\cleardoubleevenpage確保在新章節開始之前附加資訊位於左側頁面上。但這可能會導致附加資訊之前的右側頁面為空,如以下範例中的第 1 頁和第 7 頁所示。

\documentclass{scrbook}
\newcommand\chapterinfo[1]{\cleardoubleevenpage\thispagestyle{empty} #1}

\usepackage{blindtext}% only dummy text
\begin{document}
\chapterinfo{Infos for the following chapter}
\chapter{A chapter}
\blindtext

\chapterinfo{Other informations for the second chapter}
\chapter{Second chapter}
\Blindtext

\chapterinfo{\minisec{More information}Some explanations.}
\chapter{Next chapter}
\Blindtext
\end{document}

在此輸入影像描述

答案2

這是一個解決方案。

人們可以修補替換\scr@startchapter並定義以滿足人們的需求。\cleardoublepage\mtcleardoublepage\mtcleardoublepage

\documentclass{scrbook}
\usepackage{lipsum}

\usepackage{etoolbox}

\newcommand*\mtleftpage{\hbox{}}
\makeatletter
\newcommand*\mtcleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
    \mtleftpage\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\patchcmd{\scr@startchapter}{\cleardoublepage}{\mtcleardoublepage}{}{\errmessage{error in patching \string\scr@startchapter}}
\makeatother

\renewcommand*\mtleftpage{some thing}
\begin{document}
\chapter{One}
\lipsum[1-2]
\chapter{Two}
\lipsum[1-2]
\renewcommand*\mtleftpage{onther thing}
\chapter{Three}
\lipsum[1-2]
\renewcommand*\mtleftpage{Bye}
\chapter{Four}
\lipsum[1-2]

\end{document}

相關內容