Mercurial > dottes
view dottes.tex.a5header @ 261:88b58f811bc6
Printed title page changes.
1. Remove date from front page. Don't want it instantly out of date.
2. Add instrumen name, if present.
3. Revise A5 to single page front cover with little buzzard.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 21 Jun 2013 19:59:37 +0100 |
parents | f337d024b13d |
children | 1d9a6aaba914 |
line wrap: on
line source
\documentclass[a5paper,landscape,11pt]{article} \usepackage{fontspec} \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{longtable} \usepackage{float} \usepackage[toc]{multitoc} \usepackage{hyperref} \hypersetup{ bookmarks=true,% colorlinks=true,% citecolor=black,% filecolor=black,% linkcolor=black,% urlcolor=black } % ----- Common variables \def \build {\input{buildno.txt}} \def \instrument {\input{instrument.txt}} % ----- Appearance %\setmainfont{Century Schoolbook L} \setmainfont{Times New Roman} % ----- Page setup % 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} % ----- % Don't show section numbers. \setcounter{secnumdepth}{-1} % ----- % Title page \newfontfamily\havocfont[Scale=2.1]{English Towne} \newcommand*{\titleDB}{\begingroup \centering {\Large \havocfont{Ye}}\\[\baselineskip] {\Huge \havocfont{Crie Havock}}\\[\baselineskip] {\Large \havocfont{Booke of}}\\[\baselineskip] {\Huge \havocfont{\instrument Dottes}}\\[\baselineskip] \vfill {\huge \input{title.txt}}\\%[\baselineskip] {\large \input{subtitle.txt}}\\[\baselineskip] \vfill \includegraphics[width=0.12\textwidth,keepaspectratio]{buzzard} \vfill {Compiled by Jim Hague}\\ \endgroup} % ----- \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 \tableofcontents \newpage