\documentclass[a5paper,landscape,11pt]{article} \usepackage{graphicx} \usepackage{helvet} \usepackage{newcent} \usepackage{fancyhdr} \usepackage{longtable} % ----- Common variables \def \build {\input{buildno.txt}} % ----- Page setup \setlength{\parindent}{0pt} % Adjust margins for A5 landscape. Increase width by 2cm and height by 4cm. \addtolength{\textwidth}{2cm} \addtolength{\hoffset}{-1cm} \addtolength{\textheight}{4cm} \addtolength{\voffset}{-2cm} % ----- \begin{document} % ----- Headers and footers \pagestyle{fancyplain} \fancyhf{} \lfoot{Issue \build} \rfoot{\thepage} \renewcommand{\headrulewidth}{0pt} % ----- Title page and contents \title{Ye Crie Havock Booke of Dottes \\ \input{subtitle.txt}} \author{Cry Havoc} \date{\today} \maketitle \newpage \tableofcontents \newpage % ----- \section{Introduction} \input{intro.txt} % ----- \section{Tunes} Tunes are arranged in alphabetical order of tune title. \newpage