diff dottes.tex.a4header @ 181:6a0bdabfb255

Add a A4 portrait book with multiple tunes per page. Also add a script to make all variants of a single book, and look for <tune name>.tex files, and if one exists add it after the tune.
author Jim Hague <jim.hague@acm.org>
date Sat, 26 Jan 2013 13:47:01 +0000
parents
children af1d1009305f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dottes.tex.a4header	Sat Jan 26 13:47:01 2013 +0000
@@ -0,0 +1,89 @@
+\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
+
+\setlength{\parindent}{0pt}
+
+% 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}
+
+% -----
+
+\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}
+
+This book is a 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