diff --git a/layout.sty b/layout.sty index f5c78f14cf493fe92bfb335024b109efa4d48751..d58d08ba868cdfeffe6eca964ce0581ca79def15 100644 --- a/layout.sty +++ b/layout.sty @@ -441,7 +441,7 @@ bookmarks=true]% toptitle=14.5pt, top=15pt, bottom=9.5pt, - fontupper={\iftoggle{verbose}{\normalsize}{\footnotesize}}, + fontupper={\normalsize}, coltitle=black, } } @@ -484,18 +484,13 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) colback=white, before={\paragraph*{}\noindent}, fonttitle=\scshape, #1 - } +} \newcommand{\sidebox}[2][23]{ - \iftoggle{verbose}{ \needspace{4em} \begin{wrapfigure}{R}{.#1\textwidth} #2 \end{wrapfigure}% - }{ - #2 - - }% } % Chapter Heading Color @@ -504,7 +499,6 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) %%%%% Section Formatting %%%%% \newcommand{\frontpage}[3]{ - \iftoggle{verbose}{ \begin{titlepage} \centering \vspace{2cm} @@ -519,7 +513,6 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) \end{titlepage} \cleardoublepage - }{} } \newcommand\startappendix{ @@ -623,12 +616,8 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west) \newtoggle{personality} \settoggle{personality}{false} -% This toggle tells you if this is just one creature or a team. - -\iftoggle{verbose}{ - \setcounter{tocdepth}{1} - \setcounter{secnumdepth}{1} -} +\setcounter{tocdepth}{1} +\setcounter{secnumdepth}{1} %%%%%%%%%%%%%%%%%%%% RANDOM NUMBERS %%%%%%%%%%%%%%%%%%%% diff --git a/stats.sty b/stats.sty index f03e4d45dc4119abe25cb177fcbdf97a978868fb..8c9d1a86f717d4cf323d02de7b1dc807a0c1640f 100644 --- a/stats.sty +++ b/stats.sty @@ -517,12 +517,6 @@ You don't need to fall unconscious when making a Vitality check)% % Reference versions (which always are non-verbose) don't % have the space for full-sized stats. -\iftoggle{verbose}{ - \begin{small}% -}{% - \begin{footnotesize} -} - \footnotesize \begin{tabularx}{\textwidth}{lr|lr|lr} @@ -530,10 +524,10 @@ You don't need to fall unconscious when making a Vitality check)% % but that doesn't work with creature stats, so we suppress it here \hiderowcolors - \iftoggle{verbose}{Strength}{STR} & \arabic{str} & \iftoggle{verbose}{Dexterity}{DEX} & \arabic{dex} & \iftoggle{verbose}{Speed}{SPD} & \arabic{spd} \\ + Strength & \arabic{str} & Dexterity & \arabic{dex} & Speed & \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} \\ + Intelligence & \arabic{int} & Wits & \arabic{wts} & Charisma & \arabic{cha} \\}{% + && Wits & \arabic{wts} \\ } \setcounter{hp}{\value{str}} @@ -550,13 +544,6 @@ You don't need to fall unconscious when making a Vitality check)% \weaponknackone \weaponknacktwo - - -\iftoggle{verbose}{% - \end{small}% -}{% - \end{footnotesize}% -}% } %% _ _ _ diff --git a/test.tex b/test.tex index 1cab2611b3361ecfd24dd6328b9138a605942df9..de6a60b7d00fe253653898ac49ae132a7699bb99 100644 --- a/test.tex +++ b/test.tex @@ -140,6 +140,9 @@ Roll & Result \\\hline \humandiplomat +This section is non-verbose, so only basic stats are shown. +\settoggle{verbose}{false} + \humanbard \humanbard @@ -152,6 +155,8 @@ Roll & Result \\\hline \subsection{Dwarves} +\settoggle{verbose}{true} + \dwarvensoldier \dwarventrader @@ -473,7 +478,6 @@ When using a bestiary chapter, the stats appear as dice rolls, rather than fixed \subsubsection{Test sub-sub-section again} - \subsection{Test subsection} \lipsum[2]