view dottes.tex.a4header @ 252:4fb2e5728879

Put book intro text into its own file. Stop duplicating it between A4 and A5 headers.
author Jim Hague <jim.hague@acm.org>
date Sat, 15 Jun 2013 00:11:23 +0100
parents de24a62246bc
children 1d0cc9a016db
line wrap: on
line source

\documentclass[a4paper,11pt]{article}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{longtable}

\usepackage{hyperref}
\hypersetup{
    bookmarks=true,%
    colorlinks=true,%
    citecolor=black,%
    filecolor=black,%
    linkcolor=black,%
    urlcolor=black
}

% ----- Common variables

\def \build {\input{buildno.txt}}

% ----- Appearance

%\setmainfont{Century Schoolbook L}
\setmainfont{Times New Roman}

% ----- Page setup

% Adjust margins for A4 portrait. Increase width by 4cm and height by 4cm.
\addtolength{\textwidth}{4cm}
\addtolength{\hoffset}{-2cm}

\addtolength{\textheight}{4cm}
\addtolength{\voffset}{-2cm}

% Move the top margin up a further cm.
\addtolength{\textheight}{1cm}
\addtolength{\voffset}{-1cm}

% -----

% Don't show section numbers.
\setcounter{secnumdepth}{-1}

% -----

% Title page
\newfontfamily\havocfont[Scale=3.5]{English Towne}

\newcommand*{\titleDB}{\begingroup
\centering
\vspace*{0.10\textheight}
{\Large \havocfont{Ye}}\\[\baselineskip]
{\Huge \havocfont{Crie Havock}}\\[\baselineskip]
{\Large \havocfont{Booke of}}\\[\baselineskip]
{\Huge \havocfont{Dottes}}\\[2.5\baselineskip]
{\Huge \input{title.txt}}\\[\baselineskip]
{\Large \input{subtitle.txt}}\\[\baselineskip]
\vfill
\includegraphics[width=0.3\textwidth,keepaspectratio]{buzzard}
\vfill
{Compiled by Jim Hague}\\[\baselineskip]
\vfill
{\small\sffamily \today}\par
\endgroup}

% -----

\begin{document}

% ----- Title page

\begin{titlepage}
\titleDB
\end{titlepage}

% ----- Headers and footers

\pagestyle{fancyplain}
\fancyhf{}
\lfoot{Issue \build}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0pt}

% ----- Contents

\tableofcontents

% -----

\section{Introduction}

\input{intro.txt}

All tunes in this book are believed to be in the public domain, or at the
very least enjoy widespread currency on the folk music scene. If I have
inadvertantly transgressed on anyone's copyright, please contact me at
\href{mailto:dottes@cryhavoc.org.uk}{dottes@cryhavoc.org.uk} and I will
remove the offending tune.

Being folk tunes, many of the tunes herein have many variations.
The music presented here is my attempt at reflecting what the musicians
of Cry Havoc play. I'm in no way suggesting that they are
in any way \emph{correct}. This is just how we go about them.

The Booke of Dottes is a constant work in progress. You can download the latest
version from \url{http://dottes.cryhavoc.org.uk/}.

% -----

\section{Tunes}

Tunes are arranged in alphabetical order of tune title.

\newpage