diff --git a/config/preamble.tex b/config/preamble.tex index c064f18619aa28410cd019955e40de1ff1a70f44..4c40d72fc7d56d0aa54543d73d12e21c278c91c8 100644 --- a/config/preamble.tex +++ b/config/preamble.tex @@ -95,6 +95,15 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) \end{wrapfigure} } +\newcommand{\sidejpg}[3][5]{ + \iftoggle{verbose}{ + \begin{wrapfigure}{O}{.#1\linewidth} + \noindent\includegraphics[width=\linewidth]{images/#2} + #3 + \end{wrapfigure} +} +} + \colorlet{chapnumcol}{black!55} \titleformat{\chapter}[display] @@ -108,7 +117,7 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) {\Huge} \titleformat{\section}[frame] -{\needspace{18em}\normalfont} +{\needspace{20em}\normalfont} {\filright \footnotesize \enspace SECTION \thesection\enspace}