Mercurial > dottes
view dottes.tex.a4header @ 264:1d9a6aaba914
Revert attempt at getting Change: notices closer to music in print.
My previous attempt appeared to work, but didn't actually centre graphics
if the graphic was less than page width.
Revert, and instead add a \vfill before the tune to leave more blank space
between multiples tunes on a page, It's more obvious then which tune the
change belongs to. Not idea, but the best I can do for now.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 21 Jun 2013 21:20:18 +0100 |
parents | 88b58f811bc6 |
children |
line wrap: on
line source
\documentclass[a4paper,11pt]{article} \usepackage{fontspec} \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{longtable} \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 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 {\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.5\textwidth,keepaspectratio]{buzzard} \vfill {Compiled by Jim Hague}\\ \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