2

How can I make, in one particular page, the last two paragraphs overflow into the white space in the bottom margin?

The class is scrartcl. I tried adding to the textheight with \addtolenght{\textheight}{3cm}, but it did not work.

I also tried using \usepackage[bottom=1cm]{geometry}, but this overrides the nice margins calculated by KOMA-Script.

\documentclass[11pt,a4paper,DIV=11,parskip]{scrartcl}
\usepackage{kantlipsum}
\pagestyle{empty}
\begin{document}

\kant[1-4]

This paragraph should be on the first page.

An so should be this one.
\end{document}

Is there a way to say "these paragraphs must remain in this page and are allowed to overflow"?

1
  • For the record: \addtolenght{\textheight}{3cm} needs a corresponding \addtolenght{\vsize}{3cm} because \vsize is not recalculated when \textheight is changed.
    – gioele
    Mar 25 '18 at 11:47
4

With \enlargethispage you can make the specific page larger:

\documentclass[11pt,a4paper,DIV=11,parskip]{scrartcl}
\usepackage{kantlipsum}
\pagestyle{empty}
\begin{document}

\kant[1-4]

\enlargethispage{4\baselineskip}
This paragraph should be on the first page.

An so should be this one.

text for next page
\end{document}
2
  • I planned to include this suggestion too, but will leave it to good care here. :)
    – gusbrs
    Mar 25 '18 at 11:39
  • @gusbrs I apologise for interfering with your plans :) Mar 25 '18 at 11:40
4

You could use a minipage with the content you want to force on the same page:

\documentclass[11pt,a4paper,DIV=11,parskip]{scrartcl}
\usepackage{kantlipsum}
\pagestyle{empty}
\begin{document}

\begin{minipage}{\textwidth}
\kant[1-4]

This paragraph should be on the first page.

An so should be this one.
\end{minipage}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.