forked from CryHavoc/dottes
Update page padding to work with variable length front matter.
This commit is contained in:
parent
8450b2dfa4
commit
4b6e14d20d
|
@ -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{}
|
||||||
|
|
|
@ -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]
|
||||||
|
|
|
@ -270,6 +270,9 @@ in 2018.
|
||||||
|
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
|
|
||||||
|
\newcounter{lastfrontmatterpage}
|
||||||
|
\setcounter{lastfrontmatterpage}{\value{page}}
|
||||||
|
|
||||||
% -----
|
% -----
|
||||||
|
|
||||||
\mainmatter
|
\mainmatter
|
||||||
|
|
Loading…
Reference in New Issue