Cannot adjust space between header and text
KOMA-Script is a bundle of versatile LaTeX classes and packages
Brought to you by:
kohm
Using current KOMA script classes, I cannot find a way to adjust the space between the page header and the text (this would probably be headsep
in the standard LaTeX classes or in geometry
. This can be important because certain font choices and page sizes make the default separation a bit too thin unless you use a separation line. Particularly when you use a large line skip with setspaceenhanced (e.g. 1 line + 1/2) the default separation is thin.
It looks to me that the separation is somehow hardwired to something slightly larger than an empty line. Is it the case? Or is the value adjustable?
typearea
setsheadsep
to1.5\baselineskip
. So a large font isn't a problem, because larger font sizes result in larger\baselineskip
. For the same reason a large lineskip usingsetspace
orsetspaceenhanced
or\linespread
isn't a problem at all. Maybe you've not read the examples usingsetspace
in thetypearea
chapter. They would be the same usingsetspaceenhanced
, e.g.:Instead of
\KOMAoptions{DIV=last}
you can alternatively use\recalctypearea
.However, if you really want to change the head separation space, you can use
\AfterCalculatingTypearea
:or even
geometry
(which is also recommended in the manual, when you want changes to the calculation oftypearea
):Because of this, I see no need to change anything.
Last edit: Markus Kohm 2024-08-06
Thanks, I had completely missed the existence of the
\AfterCalculatingTypearea
hook.Let me add that I am always impressed not just by the helpfulness but also by your speed in providing advice!