# Increase vertical distance between chapter title and chapter preamble (Koma Script)

I'm using Koma Script's scrbook for a document. I would like to insert some text above chapter headings, which can be done like this:

\documentclass[chapterprefix=true]{scrbook}

\begin{document}
\setchapterpreamble[o]{Text above chapter title}
\chapter{Chapter title}
\end{document}


Now I would like to increase the vertical distance (by let's say 20\baselineskip) between Text above chapter title and Chapter title. How could I do this?

I know that the command \chapterheadstartvskip exists, but it doesn't do what I want:

\documentclass[chapterprefix=true]{scrbook}

\begin{document}
\setchapterpreamble[o]{Text above chapter title}
\chapter{Chapter title}
\end{document}


20\baselineskip
Text above chapter title
Chapter title


I would like this output:

Text above chapter title
20\baselineskip
Chapter title


Text above chapter title should stay on the upper part of the page and not move down.

By the way, I know that this doesn't make much sense from a typographical point of view, but in my use case, it is required.

The chapter preamble is inserted at the bottom of the space above the chapter title. So if your preamble is one line and there should be a space of 20\baselineskip you can adjust the space above the chapter using

\RedeclareSectionCommand[beforeskip=-21\baselineskip]{chapter}


Then you can use a \parbox with the same height, outer alignment bottom and inner alignment top.

\setchapterpreamble[o]{%
\parbox[b][21\baselineskip][t]{\linewidth}{%
\strut Text above chapter title}}
\chapter{Chapter title}


Code:

\documentclass{scrbook}
\RedeclareSectionCommand[beforeskip=-21\baselineskip]{chapter}
\begin{document}
\setchapterpreamble[o]{%
\parbox[b][21\baselineskip][t]{\linewidth}{%
\strut Text above chapter title}}
\chapter{Chapter title}
Normal text
\end{document}


or

\documentclass{scrbook}
\RedeclareSectionCommand[beforeskip=-21\baselineskip]{chapter}
\newcommand\mychapterpreamble[1]{%
\parbox[b][21\baselineskip][t]{\linewidth}{\strut\ignorespaces#1}}
\begin{document}
\setchapterpreamble[o]{\mychapterpreamble{  Text above chapter title}}
\chapter{Chapter title}
Normal text
\end{document}


or only local for one chapter

\documentclass{scrbook}
\begin{document}
{
\RedeclareSectionCommand[beforeskip=-21\baselineskip]{chapter}
\setchapterpreamble[o]{%
\parbox[b][21\baselineskip][t]{\linewidth}{%
\strut Text above chapter title}}
\chapter{Chapter title}
}
\chapter{Second chapter title}
\end{document}

• Thanks a lot for the solution and explication. Is is working perfectly well in my document. Just a small remark: I noticed that there is a \ missing before baselineskip in "or only local for one chapter". – Jon Snow Sep 9 '15 at 15:48
• Thank you for the hint. Now I have inserted the missing backslash. – esdd Sep 9 '15 at 20:09
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.971646249294281, "perplexity": 2608.8937119747384}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2019-22/segments/1558232255536.6/warc/CC-MAIN-20190520021654-20190520043654-00372.warc.gz"}