Monthly Archives: July 2019

LaTeX: Custom Titles / Sections

KOMA-Script

Nice customised titlepage for every section (scrartcl)

\AtBeginDocument
\def\section
\def\@sec
\renewcommand\sectionlinesformat
\newcommand\sectionpreamble

Incompatibilies

Incompatibilities between KOMA-Script and titlesec

Standard-Classes

The titlesec and titletoc Packages (PDF)
Spacing before and after section titles

\usepackage{titlesec}

\titlespacing{\section}{0em}{0em}{0em}

\titleformat{\section}[frame]
{}
{}
{}
{}