From 146ed394c0dbe51637bf4c70ea635096bbcb90f0 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Mon, 18 Jul 2022 01:19:52 +0200 Subject: [PATCH] make all sideboxes small --- layout.sty | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/layout.sty b/layout.sty index 27fd15fc..6cbb0135 100644 --- a/layout.sty +++ b/layout.sty @@ -407,15 +407,11 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) \newtcolorbox{boxtext}[1][]{ornamented,colback=white,fonttitle=\scshape, #1} -\newcommand{\sidebox}[1]{ +\newcommand{\sidebox}[2][23]{ - \iftoggle{verbose}{ - \begin{wrapfigure}{R}{.23\textwidth} - #1 + \begin{wrapfigure}{R}{.#1\textwidth} + #2 \end{wrapfigure} - }{ - #1 - } } % Chapter Heading Color -- GitLab