With the KOMA-script
scrreprt class the vertical spacing before and after chapter titles can be adjusted the following way:
However, I can't find a way to do the same with section, subsection (and, possibly, subsubsection) titles. I know there is the
titlesec package with the command
but using KOMA-Script with titlesec gives me the warning "Usage of package `titlesec' together with a KOMA-Script class is not recommended". Is there some other way to adjust the vertical spacing around section headings that is compatible with the KOMA-Script classes?