[Tex/LaTex] Keep closing letter section in first page

koma-scriptletterspage-breakingscrlttr2

I have a letter which, visually and practically, will look nicer if all content, including the closing section (closing sentence + small image of a signature + name), is kept in page 1. The content, as seen in the following screenshots, is not much.

The letter is based on the following files:

(which are based on the files at invoice_el/tree/master/sources)

Update

As per one of the comments, the settings for the geometry package are overwritten by the KOMA option DIV=last. Even if so, perhaps the design of the page without the geometry options might be "ok" (as can be seen with \usepackage[showframe]{geometry}. To practically address the problem, the question can be: how can only the vertical size of the letter page be increased, so the closing and signature and name appear on page one?

Screenshots

Here is page 1

and here is page 2

Perhaps it is the (non-visible) footer that makes things hard to keep in one page? I have tried a couple of things to work this around (including suggestions from https://tex.stackexchange.com/a/4472/8272) without success.

How can I force the closing section to stay in page 1 like in the following smudged one page sample?

Best Answer

Unfortunaly there is no MWE in the question and the linked code is a mess. So I will use a different example.

Since KOMA-Script version 3.17 there is an option usegeometry. If this option is set, package typearea tries to translate all of its options into options of package geometry.

So you can add usegeometry to the class options. Then you can load geometry and change the bottom margin.

\documentclass[
  usegeometry
]{scrlttr2}

\usepackage{geometry}
\geometry{bottom=1.5cm,includefoot}

%\usepackage{showframe}% to show the page layout
\usepackage{lipsum}% only for dummy text

\begin{document}
\begin{letter}{toaddress}
\opening{Hello,}
\lipsum

\end{letter}
\end{document}
Related Question