Skip to content
Snippets Groups Projects
Commit e686b12a authored by Malin Freeborn's avatar Malin Freeborn
Browse files

Merge commit '31081225' into dev

parents fce0b029 31081225
Branches
Tags
No related merge requests found
\ProvidesPackage{layout}
\ProvidesPackage{config/layout}
\RequirePackage[table]{xcolor}
\RequirePackage[acronym]{glossaries}
\setacronymstyle{short-long-desc}
......@@ -37,6 +38,7 @@
\RequirePackage{tikz}
\usetikzlibrary{calc,mindmap,trees}% calc for fancy borders
\usetikzlibrary{intersections}% for very fancy borders with intersecting lines
\usetikzlibrary{shapes.misc}% for very fancy \section
\RequirePackage{pifont}
\RequirePackage{colortbl}
\RequirePackage[poster]{tcolorbox}
......@@ -463,20 +465,22 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
{\Huge}
\titleformat{\section}[frame]
{\needspace{20em}\normalfont}
{\filright
\footnotesize
\enspace SECTION \thesection\enspace}
{8pt}
{\Large\bfseries\filcenter}
\titleformat{\subsection}%
{\needspace{13em}\center\large\bfseries}%
{}%
{1em}%
{}%
[\rule{.9\linewidth}{.2pt}]
\newcommand\titlebar{%
\tikz[baseline,trim left=1em,trim right=3cm] {
\fill [\pageSideColor] (2.5cm,-1ex) rectangle (\linewidth+1.5em,2.5ex);
\node [
fill=white,
text= \pageSideColor,
anchor= base east,
rounded rectangle,
minimum height=3.5ex] at (2.9cm,0) {
\textbf{\arabic{section}}
};
}%
}
\titleformat{\section}{\large\needspace{8em}}{\titlebar}{0.1cm}{\textcolor{white}}
\renewcommand*{\thesection}{\arabic{section}}
%
\titleformat{\subsubsection}
{\needspace{4em}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
......@@ -512,8 +516,6 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
\newcommand{\N}{\leftmoon} % nura
\newcommand{\D}{\fullmoon} % undead
\newcommand{\monster}[1]{\needspace{4em}\vspace{.38cm} \ding{70} #1 \ding{70}\vspace{.18cm}}
%%%%%%%%%%%%%%%%%%%% TOGGLES %%%%%%%%%%%%%%%%%%%%
\newtoggle{verbose}
......
\ProvidesPackage{config/stats}
\ProvidesPackage{config/loot}
%%%%%%%%%%%%%%%%%%%% LOOT %%%%%%%%%%%%%%%%%%%%
\newcommand{\lootSmall}{%
......
\ProvidesPackage{config/monsters}
% _
% _ __ ___ ___ _ __ ___| |_ ___ _ __ ___
% | '_ ` _ \ / _ \| '_ \/ __| __/ _ \ '__/ __|
......
......@@ -388,7 +388,9 @@
% Reference versions (which always are non-verbose) don't
% have the space for full-sized stats.
\iftoggle{verbose}{}{
\iftoggle{verbose}{
\begin{small}%
}{%
\begin{footnotesize}
}
......@@ -443,9 +445,11 @@
\vspace{.1cm}
\iftoggle{verbose}{}{
\end{footnotesize}
}
\iftoggle{verbose}{%
\end{small}%
}{%
\end{footnotesize}%
}%
}
%% _ _ _
......
......@@ -114,7 +114,9 @@ Roll & Result \\\hline
\end{multicols}
\chapter{Humanoids}
\chapter{Stat Blocks}
\section{Humanoids}
\begin{multicols}{2}
......@@ -178,7 +180,7 @@ Roll & Result \\\hline
\end{multicols}
\chapter{Forest Critters}
\section{Forest Critters}
\begin{multicols}{2}
......@@ -192,7 +194,7 @@ Roll & Result \\\hline
\end{multicols}
\chapter{Undead}
\section{Undead}
\begin{multicols}{2}
......@@ -246,6 +248,8 @@ Roll & Result \\\hline
\chapter{Outsiders}
\section{Weird Ones}
\begin{multicols}{2}
\archmage
......@@ -260,6 +264,22 @@ Roll & Result \\\hline
\end{multicols}
\section{Same}
\begin{multicols}{2}
\rockman
\archmage
\dragon
\archmage
\lavaman
\end{multicols}
\chapter{Bestiary Chapters}
\begin{multicols}{2}
......@@ -407,7 +427,53 @@ When using a bestiary chapter, the stats appear as dice rolls, rather than fixed
\noindent
\lipsum
\end{multicols}
\newcommand{\tests}{
\chapter{Another Test}
\section{Test Section}
\begin{multicols}{2}
\lipsum[3]
\humanbard
\lipsum[2]
\subsection{Test subsection}
\elf
\lipsum[3]
\elf
\subsubsection{Test sub-sub-section}
\lipsum[10]
\subsubsection{Test sub-sub-section again}
\subsection{Test subsection}
\lipsum[2]
\elf
\lipsum[10]
\section{Last Section}
\lipsum[3]
\end{multicols}
}
\Repeat{4}{\tests}
\end{document}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment