Update page padding to work with variable length front matter.

This commit is contained in:
Jim Hague 2019-08-07 08:21:23 +01:00
parent 8450b2dfa4
commit 4b6e14d20d
3 changed files with 19 additions and 2 deletions

View File

@ -1,4 +1,16 @@
\padpages{4}{8} % Inside back cover.
\newpage
\thispagestyle{empty}
\hbox{}
% Back cover page - or it it?
\newpage
% Pad pages to multiple of 4.
\newcounter{frontpages}
\setcounter{frontpages}{3 + \thelastfrontmatterpage}
\padpages{4}{\thefrontpages}
\pagecolor{havocpurple} \pagecolor{havocpurple}
\thispagestyle{empty} \thispagestyle{empty}
\mbox{} \mbox{}

View File

@ -18,10 +18,12 @@
\includegraphics[width=0.5\textwidth,keepaspectratio]{buzzard} \includegraphics[width=0.5\textwidth,keepaspectratio]{buzzard}
\vfill \vfill
{\Large Compiled by Jim Hague}\\ {\Large Compiled by Jim Hague}\\
% Inside cover
% Inside front cover
\newpage \newpage
\pagecolor{white} \pagecolor{white}
\hbox{} \hbox{}
\newpage \newpage
{\Large \havocfont{Ye}}\\[\baselineskip] {\Large \havocfont{Ye}}\\[\baselineskip]
{\Huge \havocfont{Crie Havock}}\\[\baselineskip] {\Huge \havocfont{Crie Havock}}\\[\baselineskip]

View File

@ -270,6 +270,9 @@ in 2018.
\tableofcontents \tableofcontents
\newcounter{lastfrontmatterpage}
\setcounter{lastfrontmatterpage}{\value{page}}
% ----- % -----
\mainmatter \mainmatter