From 9c312c4693829bd920e53146cbd3fa3e27611aa3 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Tue, 8 Aug 2023 00:34:57 +0200 Subject: [PATCH] increase subsection needspace to 12em --- layout.sty | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/layout.sty b/layout.sty index c1bdd7ce..26ca77c1 100644 --- a/layout.sty +++ b/layout.sty @@ -576,7 +576,13 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) \renewcommand*{\thesection}{\arabic{section}} \titleformat{\subsection} -{\needspace{10em}\scshape\center\Large}{\thesubsection}{1em}{}[\textcolor{\pageSideColor}{\titlerule}\vspace{1ex}\setcounter{list}{0}] + {\needspace{12em}\scshape\center\Large}% + {\thesubsection}% + {1em}% + {}% + [\textcolor{\pageSideColor}{\titlerule}% + \vspace{1ex}% + \setcounter{list}{0}] \titleformat{\subsubsection}[wrap] {\needspace{4em}\filcenter\scshape\large} -- GitLab