I have a two-column document, and I'm having some weird behavior at an automatic page break. I have some text followed by some equations like this:
So that abutting triangles do not double-paint pixels, a bias of 1 is subtracted from edges that are ``top'' or ``left'' \cite{fgiesen}.
\begin{gather}
A=Y_2 - Y_1 \label{eqn:a}\\
B=X_2 - X_1 \label{eqn:b}\\
C=BY_1 - AX_1 \label{eqn:c}
\end{gather}
This paragraph falls at the end of a page, so on the next page, I get a widowed line, followed by the equations:
And then it stretches out the inter-paragraph spacing on the previous page.
If I put a line break between the paragraph and the equation, it does let the paragraph end on the previous page. However, it then puts a huge blank space at the top of the next page where the equations are.
I have tried all sorts of tricks, like messing with the abovedisplayskip (no effect) and negative vspace (no effect until it got negative enough to pull the equations onto the previous page, overlapping the text).
I also did this, but to no effect:
\widowpenalty=10000
\clubpenalty=10000
Can anyone tell me how to get LaTeX to behave sensibly and let the paragraph end on the previous page and also have the equations line up at the top of the next page?
Thanks!