我知道有带有 onehalfspacing 等的 setspace 包,但是当我使用该命令(对于 doublespacing 来说甚至更糟)时,它会改变所有内容(包括方程式)之间的空间,最终导致页面顶部和底部出现大量空白。
如何才能仅更改文本行之间的间距而不影响其他环境中的公式间距?
谢谢!
编辑:一些示例代码。我希望能够独立控制文本行和方程行之间的间距。
\documentclass{article}
\usepackage{setspace}
\onehalfspacing
\begin{document}
The quick brown fox jumped over the lazy dog, who couldn't even be bothered to learn to FOIL, a technique that even the densest puppies can usually master. The dog under consideration can't even do this:
\begin{eqnarray}
(x+1)(x+2) &=& x^2+2x+x+2\nonumber\\
&=& x^2+3x+2.\nonumber
\end{eqnarray}
Tell me, what do you make of that? Is there any hope for this uninspired pooch? I think not!
\end{document}