Make page one line longer
November 20, 2009
Mark Senn

How can I make the page one line longer?

In the LaTeX input put

            \enlargethispage{\baselineskip}
near the top of the page.

Here is a complete, self-contained example:

            \documentclass[ece,dissertation]{puthesis}

            % Define \Repeat so, for example,
            %     \Repeat{whatever}{10}
            % is the same as typing whatever 10 times.
            \newcount{\myi}
            \newcommand{\Repeat}[2]{%
                \myi=0
                \loop
                    \ifnum\myi<#2
                #1
                    \advance\myi by 1
                \repeat
            }

            \begin{document}

            \chapter{Answer enlagethispage}

            \newpage

            \Repeat{This is a sentence.}{31}

            \Repeat{This is a sentence.}{31}

            \Repeat{This is a sentence.}{31}

            \Repeat{This is a sentence.}{31}

            xxxxx

            \newpage

            \enlargethispage{\baselineskip}

            \Repeat{This is a sentence.}{31}

            \Repeat{This is a sentence.}{31}

            \Repeat{This is a sentence.}{31}

            \Repeat{This is a sentence.}{31}

            xxxx

            \end{document}

Revised: November 20, 2009
Created: November 20, 2009