diff --git a/layout.sty b/layout.sty index 4863f73751aec680625a5467a14282ac9cbe4d8b..1c04503febe8e1ba5a8526078e08bf419b0fc4d8 100644 --- a/layout.sty +++ b/layout.sty @@ -62,8 +62,6 @@ \newcounter{chapshift} \addtocounter{chapshift}{-1} -%% Redefine plain page style, and use it for every page. - \renewcommand\headrule{% \vspace{-6pt}% \textcolor{\pageSideColor}{\hrulefill}% @@ -72,11 +70,12 @@ \textcolor{\pageSideColor}{\hrulefill}% } +%% Redefine plain page style, and use it for every page. + \fancypagestyle{plain}{ \fancyhf{}% clear all header and footer fields - \fancyfoot[LE]{--~\thepage} - \fancyfoot[RO]{\thepage~--} - \renewcommand{\headrulewidth}{0pt}% + \fancyfoot[LE]{\bf\scshape\thepage} + \fancyfoot[RO]{\bf\scshape\thepage} } \pagestyle{plain} diff --git a/test.tex b/test.tex index 32b9a8ff075096bc0fbac4f35c5419681e554bb7..3ed5b29fc0a4712f7e4a42266869d923c73d7ce8 100644 --- a/test.tex +++ b/test.tex @@ -8,6 +8,8 @@ \begin{document} +\frontmatter + \chapter{Random Stuff} \section{Introduction} @@ -92,6 +94,8 @@ Roll & Result \\\hline \end{multicols} +\mainmatter + \chapter{Stat Blocks} \section{Humanoids} @@ -554,6 +558,8 @@ When using a bestiary chapter, the stats appear as dice rolls, rather than fixed } +\tableofcontents + \Repeat{2}{\tests} \settoggle{verbose}{false}