付録の章の前にランダムに空白ページが表示される

付録の章の前にランダムに空白ページが表示される

ドキュメントの新しい付録の章の前にランダムに空白ページが表示され、オンラインであらゆることを試しましたが、効果がありません。

私のクラスの設定は次のとおりです:

\documentclass[11pt,openright,a4paper,draft]{report}

ここで空白ページが表示されます:

\section{Adding an Item to a Room}

\begin{enumerate}
\item
Access the Admin Panel.
\item
Click on \textit{Room Management}.
\item
Select the specified entry from the list.
\item
Click \textit{Add Item to Room}.
\item
Select the \textit{Item} from the list.
\item
Click \textit{Link}.
\end{enumerate}

%%% BLANK PAGE IS HERE %%%

\chapter{Raw Results Output}\label{app:Raw Results}

\section{Testing}

\subsection{Application Monitoring}\label{sec: Load Testing Evidence}

\begin{minipage}{\linewidth}
\begin{center}
\label{fig:Application Monitoring Evidence}
\includegraphics[width=\textwidth,height=\textheight,keepaspectratio]{website-stress.jpg}
\captionsetup{justification=centering}
\captionof{figure}{Evidence of monitoring the web-application.}
\end{center}
\end{minipage}

どのような助けでも大歓迎です。

答え1

付録の章の最初のページに分割可能なコンテンツがないため、次のページにフラッシュされます。デフォルトでは、TeX はセクション見出し ( \chapter、、、 ...)\section\subsectionそれに続くものと結び付けて、セクション見出しがページの下部で孤立するのを防ぎます。

あなたの場合、これは\chapter見出しが に結び付けられ\section、それが に結び付けられ、\subsectionそれが に結び付けられ、それが大きな分割不可能な に結び付けられていることを意味します。これらはいずれもページ全体に収まらないため、必然的に次のページにフラッシュされ、空白の が残ります。 を見て、ページ 100 付近にオーバーフル警告がある場所を特定することminipageで、この動作に気付くでしょう。.log\vbox

解決策: 分割可能なコンテンツ (段落テキストやリストなど) を導入するか、画像のサイズを縮小して、他のすべてのセクション見出しと一緒にページに収まるようにします。

関連情報