diff --git a/preamble.tex b/preamble.tex
index e2940925952c1e3768416c403569be1b718c1701..9761e8a82bce5de37b4f017602ce0ce46a3395bc 100644
--- a/preamble.tex
+++ b/preamble.tex
@@ -117,7 +117,7 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
 \titleformat{\subsection}{\needspace{8em}\center\large\bfseries}{}{1em}{}[\rule{.9\linewidth}{.2pt}]
 %
 \titleformat{\subsubsection}
-{\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
+{\needspace{3em}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
 
 %\titleformat{\paragraph}[runin]
 %{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
@@ -228,7 +228,7 @@ Roll & Result \\
 {\end{tabular}}
 
 
-\newenvironment{exampletext}{\needspace{4cm}\vspace{.3cm}
+\newenvironment{exampletext}{\needspace{2em}\vspace{.3cm}
 
 \rule{.9\linewidth}{0.2pt}