diff --git a/layout.sty b/layout.sty index 704cec460886fda87bf05a19142e52d46559e428..27fd15fcd582efef540ab905e7cb07ee409d0e77 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 42734fe051ec788da77d8ec73a5b70afbb0b03ab..376549aab7b557881428c4a37d509c5a83079384 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} +} } %% _ _ _