From bb36cb2ae6395e6bcde155e49857c1dd095fe355 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Thu, 3 Aug 2023 00:58:54 +0200
Subject: [PATCH] add 8em needspace to subsubsection

---
 layout.sty | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layout.sty b/layout.sty
index 3d510d79..979c5e6c 100644
--- a/layout.sty
+++ b/layout.sty
@@ -579,7 +579,7 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
 {\needspace{10em}\scshape\center\Large}{\thesubsection}{1em}{}[\textcolor{\pageSideColor}{\titlerule}\vspace{1ex}\setcounter{list}{0}]
 
 \titleformat{\subsubsection}[wrap]
-{\filright\scshape\large}
+{\needspace{8em}\filright\scshape\large}
 {}{.5em}{}
 
 \titlespacing{\subsubsection}
-- 
GitLab