I am using the documentclass scrreprt
with the twoside
option. Therefore, LaTeX tries to stretch the content on a whole page rather then leaving a gap on the bottom of the page. This produces sometimes large gaps. This is the most extreme case that I was able to produce (notice the gap on top and below of the proof):
I find these gaps totally acceptable. However, when I include the setspace
package,
I often have to cope with much larger gaps, as I was able to produce in the following example:
Is it possible to avoid those gaps and still use scrreprt
and setspace
? Here is the code that produces the huge gaps.
\documentclass[twoside=true]{scrreprt}
\usepackage{setspace}
\usepackage{amsthm}
\newtheorem{prop}{Proposition}[section]
\usepackage{amsmath}
\usepackage{blindtext}
\begin{document}
\begin{prop}
\label{itExists2}
This is a non-sense proof to show that I have
serious problems with the geometry and setspace package!
\end{prop}
\begin{proof}
\begin{align*}
1 \\ 2\\ 3\\ 4\\ 5\\6\\
\end{align*}
Hi
\[ 1+ 1 =2\]
\end{proof}
\blindtext\blindtext
Some nice equations:
\begin{align*}
1 +1 = 2 \\1+1 =3 \\ 1+1 =3 \\1+1 =3 \\ 1+1 =3 \\1+1 =3
\end{align*}
\end{document}
This is how it looks if everything fits on the page:
twoside=true
key for thescrreprt
class seems to get rid of the space. – 1010011010 Oct 17 '14 at 20:28\raggedbottom
would put all the space at the bottom of the page. also, since you're usingamsthm
, you can use\qedhere
just before the\]
ending the end-of-proof display to move the tombstone up onto that last line. – barbara beeton Oct 17 '14 at 20:34setspace
for? – cfr Oct 9 '15 at 21:26