From bd95922fb1756b4fca7a8d7dc33c4b3f099e7508 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Tue, 29 Aug 2023 23:25:05 +0200 Subject: [PATCH] make page numbers larger --- layout.sty | 9 ++++----- test.tex | 6 ++++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/layout.sty b/layout.sty index 4863f737..1c04503f 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 32b9a8ff..3ed5b29f 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} -- GitLab