forked from CryHavoc/dottes
Automated merge with ssh://hg.cryhavoc.org.uk/dottes
This commit is contained in:
commit
fc0d494ad6
|
@ -1,3 +1,16 @@
|
|||
% 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}
|
||||
\thispagestyle{empty}
|
||||
\mbox{}
|
||||
|
|
|
@ -18,10 +18,12 @@
|
|||
\includegraphics[width=0.5\textwidth,keepaspectratio]{buzzard}
|
||||
\vfill
|
||||
{\Large Compiled by Jim Hague}\\
|
||||
% Inside cover
|
||||
|
||||
% Inside front cover
|
||||
\newpage
|
||||
\pagecolor{white}
|
||||
\hbox{}
|
||||
|
||||
\newpage
|
||||
{\Large \havocfont{Ye}}\\[\baselineskip]
|
||||
{\Huge \havocfont{Crie Havock}}\\[\baselineskip]
|
||||
|
@ -38,5 +40,5 @@
|
|||
|
||||
% Page appearance.
|
||||
\newcommand*{\pagestylemod}{}
|
||||
\newcommand*{\tunestart}{}
|
||||
\newcommand*{\tuneend}{\vfill}
|
||||
\newcommand*{\tunestart}{\filbreak\vfill}
|
||||
\newcommand*{\tuneend}{}
|
||||
|
|
38
dottes.tex
38
dottes.tex
|
@ -1,11 +1,13 @@
|
|||
\input{docclass.tex}
|
||||
|
||||
\usepackage{array}
|
||||
\usepackage{calc}
|
||||
\usepackage{caption}
|
||||
\usepackage{color}
|
||||
\usepackage{fontspec}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{ifthen}
|
||||
\usepackage[defaultlines=4,all]{nowidow}
|
||||
\usepackage{tabularx}
|
||||
\usepackage{longtable}
|
||||
|
@ -47,6 +49,15 @@
|
|||
\fi}
|
||||
\makeatother
|
||||
|
||||
% Replace \mainmatter with one that does a \clearpage
|
||||
% not a \cleardoublepage.
|
||||
\makeatletter
|
||||
\renewcommand\mainmatter{%
|
||||
\clearpage
|
||||
\@mainmattertrue
|
||||
\pagenumbering{arabic}}
|
||||
\makeatother
|
||||
|
||||
% Show the main tune graphic and optional change.
|
||||
% Args are:
|
||||
% 1. Tune name
|
||||
|
@ -89,6 +100,28 @@
|
|||
\end{figure}
|
||||
}
|
||||
|
||||
% Add blank pages to make total page count up to a multiple
|
||||
% Args are:
|
||||
% 1. Multiple desired
|
||||
% 2. Pages before start of current page count
|
||||
\newcounter{modpage}
|
||||
\newcounter{modpageno}
|
||||
\newcounter{modpagenodiv}
|
||||
\newcommand{\padpages}[2]{%
|
||||
\pagestyle{empty}%
|
||||
\setcounter{modpageno}{\thepage + #2}%
|
||||
\setcounter{modpagenodiv}{\themodpageno/#1}%
|
||||
\setcounter{modpage}{\themodpageno - #1*\themodpagenodiv}%
|
||||
\ifthenelse{\themodpage=0}%
|
||||
{\relax}%
|
||||
{\setcounter{modpage}{#1 - \themodpage}%
|
||||
\whiledo{\themodpage>0}{%
|
||||
\mbox{}\clearpage\mbox{}%
|
||||
\setcounter{modpage}{\themodpage - 1}%
|
||||
}% end whiledo
|
||||
}% end ifthenelse
|
||||
}% end padpages
|
||||
|
||||
% ----- Paper size document setup
|
||||
|
||||
\input{docsetup.tex}
|
||||
|
@ -237,6 +270,9 @@ in 2018.
|
|||
|
||||
\tableofcontents
|
||||
|
||||
\newcounter{lastfrontmatterpage}
|
||||
\setcounter{lastfrontmatterpage}{\value{page}}
|
||||
|
||||
% -----
|
||||
|
||||
\mainmatter
|
||||
|
@ -245,8 +281,6 @@ in 2018.
|
|||
|
||||
% -----
|
||||
|
||||
\cleardoublepage
|
||||
|
||||
\chapter{List of tune first lines}
|
||||
|
||||
You know the feeling. Everyone has just launched into a well-loved tune.
|
||||
|
|
Loading…
Reference in New Issue