1

I am currently doing the "fine-tuning" to a finished document (scrbook, flushbottom, other information from preamble does not seem to be helpful here). Everything fine, but on one page I have an annoying widow line, see picture.

Widow line marked in red. Note that the page displayed left is actually odd and the right one is even

Widow line marked in red. Note that the page displayed left is actually odd and the right one is even. So I should really get rid of it.

Simply applying \looseness=-1 to the second paragraph of the first of the two pages will not help, as a two-lined footnote is at the end of the paragraph.

The first paragraph on the first of these two pages almost fills it's last line, so adding \looseness=1 here seems to be a good solution. However, when I do this, the following happens:

Line did not move

As you can see, the first paragraph is enlarged, but LaTeX uses the additional line to fill the former space above the footnotes, and does not move the additional line to the next page which looks like in the image above (that would be my intention).

So, what do I have to do to preserve the space above of the footnotes on that page? Increasing the \widowpenalty value does not seem to be a good option, as it is global and i just need something for this one paragraph.

13
  • 1
    You could use a group around the change of \widowpenalty.
    – TeXnician
    Commented Aug 8, 2017 at 17:20
  • 1
    It seems that \enlargethispage would do.
    – egreg
    Commented Aug 8, 2017 at 17:20
  • ´\enlargethispage´does not do, but moves also the footnotes Commented Aug 8, 2017 at 17:21
  • 1
    @scienceponder: The problem is your orphan has a footnote following it, and that footnote cannot fit on the same page if the orphan was brought to the previous page. Try managing the footnote with a separate \footnotemark ... \footnotetext pair.
    – Werner
    Commented Aug 8, 2017 at 17:26
  • 1
    @scienceponder: Then it's not clear what your exact, expected output should resemble... at least not to me.
    – Werner
    Commented Aug 8, 2017 at 17:42

1 Answer 1

2

Compare with and without \pagebreak:

\documentclass{article}
\addtolength\textheight{-20\baselineskip}
\def\a{\stepcounter{enumi}\roman{enumi} one two three four five six. }
\def\b{\a\a\a\a Red blue yellow green black white. \a\a}
\def\c{\a\b\a\b\b}

\begin{document}

\c this\footnote{and that}

\c\b
%\pagebreak
\a\a\a  this\footnote{\b}

\c
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .