章の始まりは右側、テキストは左側

章の始まりは右側、テキストは左側

私はクラシックな論文テンプレートを使用しています。(編集: 実際には、どこにも sty を読み込んでいないので、srcbook だけを使用していると思います。ただし、sty は同じフォルダーにあります...)

多くの本のテンプレートでは、章は見開きモードで右側のページから始まります。それが私が望んでいることです。

ただし、その章の開始ページの左ページにテキストを配置したいと思います。この場合、この章を参照する方法を教えてください。

どうすればこれを実行できますか? テキストが章の先頭にリンクされます。

\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}

関連情報