From 2e68960a520392aa4f7e84c02e4916e49bbe3269 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Sun, 17 Jul 2022 23:39:34 +0200
Subject: [PATCH] modify config for reference version

---
 layout.sty | 11 +++++++++++
 stats.sty  | 21 +++++++++++++++------
 2 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/layout.sty b/layout.sty
index 704cec46..27fd15fc 100644
--- a/layout.sty
+++ b/layout.sty
@@ -407,6 +407,17 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
 
 \newtcolorbox{boxtext}[1][]{ornamented,colback=white,fonttitle=\scshape, #1}
 
+\newcommand{\sidebox}[1]{
+
+	\iftoggle{verbose}{
+		\begin{wrapfigure}{R}{.23\textwidth} 
+		#1
+		\end{wrapfigure}
+	}{
+		#1
+	}
+}
+
 % Chapter Heading Color
 \colorlet{chapnumcol}{black!100}
 
diff --git a/stats.sty b/stats.sty
index 42734fe0..376549aa 100644
--- a/stats.sty
+++ b/stats.sty
@@ -399,20 +399,26 @@
 \newcommand{\creaturestats}{
 	\vspace{.1cm}
 
+% Reference versions (which always are non-verbose) don't
+% have the space for full-sized stats.
+
+\iftoggle{verbose}{}{
+	\begin{footnotesize}
+}
+
 \setcounter{strb}{0}
 \setcounter{spdb}{0}
 \setcounter{dexb}{0}
 
-\iftoggle{mind}{
 \begin{tabularx}{\textwidth}{lrlrlr}
-	Strength & \arabic{str} & Dexterity & \arabic{dex} & Speed & \arabic{spd} \\
-	Intelligence & \arabic{int}  & Wits & \arabic{wts} & Charisma & \arabic{cha}  \\}{%
-\begin{tabularx}{\textwidth}{lrlrlr}
-	Strength & \arabic{str} & Dexterity & \arabic{dex} & Speed & \arabic{spd} \\ 
-	Wits & \arabic{wts} \\
+	\iftoggle{verbose}{Strength}{STR} & \arabic{str} & \iftoggle{verbose}{Dexterity}{DEX} & \arabic{dex} & \iftoggle{verbose}{Speed}{SPD} & \arabic{spd} \\
+\iftoggle{mind}{
+	\iftoggle{verbose}{Intelligence}{INT} & \arabic{int}  & \iftoggle{verbose}{Wits}{WTS} & \arabic{wts} & \iftoggle{verbose}{Charisma}{CHA} & \arabic{cha}  \\}{%
+	\iftoggle{verbose}{Wits}{WTS} & \arabic{wts} \\
 	}
 	\setcounter{hp}{\value{str}}
 \end{tabularx}
+
 \hrule
 	\addtocounter{hp}{6}
 
@@ -446,6 +452,9 @@
 
 \vspace{.1cm}
 
+\iftoggle{verbose}{}{
+	\end{footnotesize}
+}
 }
 
 %%     _               _        _
-- 
GitLab