[Tex/LaTex] Force KOMA-Script title to fill whole page

koma-scripttitlesvertical alignment

I’m using KOMA-Script (scrreprt) and its excellent set of macros to define a rich title page:

\documentclass{scrreprt}

\usepackage[showframe,pass]{geometry}

\subject{Subject}
\title{Title}
\author{Author}
\publishers{Publishers}

\begin{document}
\maketitle
\end{document}

Unfortunately, this leaves rather large vertical spaces above and below the actual content (made visible by the showframe option of the geometry package).

screenshot

(Image cropped and rescaled)

This is very annoying, since now the content doesn’t align with the previous and next page. Is there a way to prevent that, i.e. stretch the title page’s content so that it touches the frame above and below?

I tried introducing a vertical space above the publishers:

\publishers{
  \vspace{\stretch{10000}}
  Publishers}

This does indeed produce the desired stretch, but no matter how large I set the stretch factor, a too large space still remains.

How can I change that, and still use the KOMA title page macros, without major rewrite?

What’s a “major rewrite”?!

Consider this: \maketitle in KOMA-Script produces up to six pages (half-title, title, title back, dedication …). I’m not opposed to rewrite the \maketitle macro, as long as the rewrite is along the following lines:

\edef\maketitle{
  \do\some\adjustments%
  \maketitle}

That is, re-use the existing \maketitle and just tweak it. I don’t want to have to produce the aforementioned six pages manually.

Best Answer

You can't change that and continue using \maketitle. The \vfill and arguments of \vskip are hardcoded in the definition of this macro: no option can change them or suppress them.

I guess your best bet is to do the title page yourself using the titlepage environment. You can still look at the definition of \maketitle in scrreport.cls (kpsewhich will tell you the location of this file), especially if you want to reuse the arguments of \title and the like (don't forget to use \makeatletter). Also, don't use the center environment since it adds vertical space, use the \centering command instead.

I'm aware that it probably doesn't satisfy your "without major rewrite" requirement, but there is no way to satisfy it. Sometimes even KOMA is not as configurable as one may wish.

Related Question