如何防止报价环境中出现分页符?

如何防止报价环境中出现分页符?
\begin{quote}
``No matter how far apart the particles are when we try to collect one of them the relative probabilities of finding it in different places are strongly affected by the `interference term' in the cross-section it is not really `free' \dots "
\end{quote}

如何防止在上面的示例中引用中间出现分页符?

答案1

\interlinepenalty=10000在环境中设置quote

\documentclass{article}
\usepackage{lipsum}
\setlength{\textheight}{10\baselineskip} % Just for the example

\newenvironment{nbquote}
 {\quote\interlinepenalty=10000 }
 {\endquote}

\begin{document}
\lipsum[2]
\begin{nbquote}
``No matter how far apart the particles are when we try to collect
one of them the relative probabilities of finding it in different
places are strongly affected by the `interference term' in the
cross-section it is not really `free' \dots''
\end{nbquote}
\end{document}

不要使用"结束引号,而是使用一对撇号''

在此处输入图片描述

quote这是原始环境的结果

在此处输入图片描述

答案2

您可以将其放入minipage牢不可破的物体块中。

\noindent\begin{minipage}{\linewidth}
\begin{quote}
``No matter how far apart the particles are when we try to collect one of them the relative probabilities of finding it in different places are strongly affected by the `interference term' in the cross-section it is not really `free' \dots "
\end{quote}
\end{minipage}

相关内容