dottes/dottes.tex.a5header

91 lines
1.7 KiB
Plaintext
Raw Normal View History

\documentclass[a5paper,landscape,11pt]{article}
\usepackage{fontspec}
2012-02-27 08:50:45 +00:00
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{longtable}
\usepackage{float}
\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
2012-02-27 08:50:45 +00:00
% Adjust margins for A5 landscape. 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}
2012-02-27 08:50:45 +00:00
% -----
% Don't show section numbers.
\setcounter{secnumdepth}{-1}
% -----
% Title page
\newfontfamily\havocfont[Scale=2.5]{English Towne}
\newcommand*{\titleDB}{\begingroup
\centering
{\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]
\newpage
\vfill
\includegraphics[width=0.3\textwidth,keepaspectratio]{buzzard}
\vfill
{Compiled by Jim Hague}\\[\baselineskip]
\vfill
{\small\sffamily \today}\par
\endgroup}
% -----
2012-02-27 08:50:45 +00:00
\begin{document}
% ----- Title page
\begin{titlepage}
\pagestyle{empty}
\titleDB
\end{titlepage}
% ----- Headers and footers
\pagestyle{fancyplain}
\fancyhf{}
\lfoot{Issue \build}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0pt}
% ----- Contents
2012-02-27 08:50:45 +00:00
\tableofcontents
\newpage