annotate dottes.tex @ 330:473d335235b8

Put tune title, image and following content into a table. Use tabularx to put tune title, image and any following content into a table. This should (a) get the following content closer to the tune image, and (b) stop LaTeX splitting them over a page.
author Jim Hague <jim.hague@acm.org>
date Mon, 05 Aug 2013 18:06:00 +0100
parents 48eb1da4a4c8
children 583c06d0e9ef
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
1 \input{docclass.tex}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
2
315
b4d568b70c33 Revise first line table.
Jim Hague <jim.hague@acm.org>
parents: 312
diff changeset
3 \usepackage{array}
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
4 \usepackage{color}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
5 \usepackage{fontspec}
320
c0262e58abf6 Fix up graphics overflow caused by change to Latex headers.
Jim Hague <jim.hague@acm.org>
parents: 319
diff changeset
6 \usepackage[margin=0.75in]{geometry}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
7 \usepackage{graphicx}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
8 \usepackage{fancyhdr}
330
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
9 \usepackage{tabularx}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
10 \usepackage{longtable}
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
11 \usepackage[UKenglish]{babel}
317
01399eb43c0d Back out accidental change.
Jim Hague <jim.hague@acm.org>
parents: 315
diff changeset
12 \usepackage[UKenglish]{isodate}
267
1b08069e5cc4 Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents: 266
diff changeset
13
1b08069e5cc4 Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents: 266
diff changeset
14 % Non-indented paragraphs with space between them.
1b08069e5cc4 Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents: 266
diff changeset
15 \usepackage{parskip}
1b08069e5cc4 Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents: 266
diff changeset
16
1b08069e5cc4 Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents: 266
diff changeset
17 % 2 column table of contents.
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
18 \usepackage[toc]{multitoc}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
19
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
20 \usepackage{hyperref}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
21 \hypersetup{
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
22 bookmarks=true,%
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
23 colorlinks=true,%
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
24 citecolor=black,%
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
25 filecolor=black,%
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
26 linkcolor=black,%
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
27 urlcolor=black
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
28 }
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
29
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
30 % ----- Common variables
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
31
312
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
32 \newcommand{\build}{\input{buildno.txt}}
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
33 \newcommand{\instrument}{\input{instrument.txt}}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
34
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
35 % Havoc purple is #9900cc.
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
36 \definecolor{havocpurple}{rgb}{0.597,0,0.797}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
37
312
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
38 % ----- Macros
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
39
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
40 \makeatletter
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
41 \def\ifemptyarg#1{%
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
42 \if\relax\detokenize{#1}\relax % H. Oberdiek
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
43 \expandafter\@firstoftwo
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
44 \else
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
45 \expandafter\@secondoftwo
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
46 \fi}
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
47 \makeatother
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
48
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
49 % Show the main tune graphic and optional change.
323
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
50 % Args are tune name, tune title, tune subtitle, composer, tune graphic
326
27f29e8aafea Add --contains flag to abcfield.py.
Jim Hague <jim.hague@acm.org>
parents: 325
diff changeset
51 % filename, change name, change title, credit.
27f29e8aafea Add --contains flag to abcfield.py.
Jim Hague <jim.hague@acm.org>
parents: 325
diff changeset
52 \newcommand{\showtune}[8]{%
330
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
53 \phantomsection
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
54 \begin{tabularx}{\textwidth}{LCR}
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
55 \addcontentsline{toc}{section}{#2}
329
48eb1da4a4c8 Reindent tune macro.
Jim Hague <jim.hague@acm.org>
parents: 328
diff changeset
56 & \hypertarget{#1}{\Large{#2}} & \emph{#4} \\
48eb1da4a4c8 Reindent tune macro.
Jim Hague <jim.hague@acm.org>
parents: 328
diff changeset
57 \ifemptyarg{#3}{}{%
48eb1da4a4c8 Reindent tune macro.
Jim Hague <jim.hague@acm.org>
parents: 328
diff changeset
58 & #3 & \\
330
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
59 }
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
60 \multicolumn{3}{c}{%
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
61 \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#5}%
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
62 }\tabularnewline
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
63 \multicolumn{3}{p{\textwidth}}{%
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
64 \ifemptyarg{#8}{}{From {#8}. }%
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
65 \ifemptyarg{#6}{}{Change: \hyperlink{#6}{#7}.}%
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
66 }\tabularnewline
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
67 \end{tabularx}
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
68 \vfill
312
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
69 }
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
70
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
71 % Show the tune first line. Generate table row.
323
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
72 % Args are the tune name, tune title and the first line graphic filename.
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
73 \newcommand{\showfirstline}[3]{%
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
74 \hyperlink{#1}{#2} & %
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
75 \raisebox{-.4\height}{\includegraphics[width=0.77\textwidth]{#3}} \\
312
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
76 }
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
77
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
78 % ----- Paper size document setup
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
79
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
80 \input{docsetup.tex}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
81
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
82 % ----- Appearance
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
83
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
84 % Lettering in the tune images is in Times, so go with that for consistency.
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
85 \setmainfont{Times New Roman}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
86
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
87 % Don't show section numbers.
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
88 \setcounter{secnumdepth}{-1}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
89
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
90 % -----
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
91
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
92 \begin{document}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
93
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
94 % ----- Headers and footers
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
95
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
96 \pagestyle{fancyplain}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
97 \fancyhf{}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
98 \cfoot{\thepage}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
99 \renewcommand{\headrulewidth}{0pt}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
100
269
3b40937a3f95 Convert from article to a one-sided book.
Jim Hague <jim.hague@acm.org>
parents: 268
diff changeset
101 \frontmatter
3b40937a3f95 Convert from article to a one-sided book.
Jim Hague <jim.hague@acm.org>
parents: 268
diff changeset
102
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
103 % No page numbering for now, thanks.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
104 \pagenumbering{gobble}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
105
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
106 % ----- Title page
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
107
307
217768907fa8 Change how page geometry is handled.
Jim Hague <jim.hague@acm.org>
parents: 306
diff changeset
108 \newgeometry{margin=0.5in}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
109 \begin{titlepage}
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
110 \pagecolor{havocpurple}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
111 \titleBoD
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
112 \end{titlepage}
307
217768907fa8 Change how page geometry is handled.
Jim Hague <jim.hague@acm.org>
parents: 306
diff changeset
113 \restoregeometry
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
114
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
115 \pagecolor{white}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
116
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
117 % ----- First inside pages. No page numbering here, thanks.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
118
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
119 % Publisher info page.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
120 \vspace*{\fill}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
121
325
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
122 {\small \raggedright
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
123
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
124 \textbf{Ye Crie Havoc Booke of Dottes}
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
125
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
126 Tune collection and presentation is copyright \copyright{} Jim Hague 2013
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
127 and is licensed under a Creative Commons
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
128 Attribution-NonCommercial-ShareAlike 2.0 UK: England \& Wales License.
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
129 Details at \url{http://creativecommons.org/licenses/by-nc-sa/2.0/uk/}.
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
130
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
131 Some tunes are reproduced from Paul Hardy's Session Tunebook
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
132 (\url{www.paulhardy.net}).
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
133
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
134 The right of Jim Hague to be identified as the author of this work has been
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
135 asserted by him in accordance with the Copyright, Designs and Patents Act 1998.
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
136
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
137 First published in the UK 2013 by Jim Hague.
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
138
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
139 The Booke of Dottes is a constant work in progress. The latest version
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
140 is always available from \url{http://dottes.cryhavoc.org.uk/}.
325
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
141 This is issue \build, generated \today.
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
142
325
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
143 \textbf{Technical data}
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
144
325
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
145 Book sources can be found at in a Mercurial
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
146 (\url{http://mercurial.selenic.com}) repository at
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
147 \url{http://hg.cryhavoc.org.uk/dottes/}. Tunes are
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
148 in abc notation (\url{http://abcnotation.com/}).
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
149
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
150 Music typeset by abcm2ps (\url{http://moinejf.free.fr/}).
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
151 Document typeset by {\LaTeX} using {\TeX} Live on a Debian Linux system.
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
152 Grateful thanks to all contributors to abc, {\LaTeX}, Debian,
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
153 Linux and related software.
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
154
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
155 }
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
156
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
157 \newpage
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
158
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
159 % Dedication page.
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
160
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
161 \vspace*{\fill}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
162
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
163 \begin{center}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
164 {\Large to Jane} \\
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
165 {\large \emph{for the music, and the dance}}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
166 \end{center}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
167
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
168 \vspace*{\fill}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
169
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
170 \newpage
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
171
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
172 % ----- Here we go with numbered frontmatter pages.
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
173
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
174 \pagenumbering{roman}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
175
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
176 \chapter{Introduction}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
177
308
22759794b31f Revise intro wording on documents and website.
Jim Hague <jim.hague@acm.org>
parents: 307
diff changeset
178 Music forms a core part of Cry Havoc Botley Morris. Of course, the
22759794b31f Revise intro wording on documents and website.
Jim Hague <jim.hague@acm.org>
parents: 307
diff changeset
179 musicians provide the music we dance to. And after every practice or
22759794b31f Revise intro wording on documents and website.
Jim Hague <jim.hague@acm.org>
parents: 307
diff changeset
180 dance-out, there is a music-playing session.
268
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
181
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
182 Havoc musicians come in all shades of experience and ability.
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
183 This collection is intended to help those like me who are inexpert with
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
184 instrument and folk music generally, but have a little musical background.
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
185
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
186 \input{intro.txt}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
187
268
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
188 Being folk tunes, many of the tunes herein have many variations.
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
189 The music presented here is my attempt at reflecting what the musicians
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
190 of Cry Havoc play. I'm in no way suggesting that they are
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
191 in any way \emph{correct}. This is just how we go about them.
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
192
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
193 The majority of tunes in this book have no identifiable author, and
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
194 are unquestionably in the public domain. Rather than litter the
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
195 pages with \emph{Trad.} or \emph{Anon.}, I have left them unattributed.
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
196 Some, however, have an identifiable author or arranger and copyright
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
197 unquestionably remains with that person. I believe these tunes to
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
198 enjoy widespread currency on the folk music scene, and therefore there
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
199 is at least tacit approval by the authors for their dissemination.
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
200 If this is not the case, please contact me at
327
55afb58d4a9a Make emails \url{} to that they will wrap at the end of a line.
Jim Hague <jim.hague@acm.org>
parents: 326
diff changeset
201 \href{mailto:dottes@cryhavoc.org.uk}{\url{dottes@cryhavoc.org.uk}} and I will
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
202 remove the offending tune.
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
203
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
204 \section{About Cry Havoc}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
205
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
206 Cry Havoc are a friendly mixed Cotswold Morris side based in Botley, Oxford.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
207 We practice between September and April on Thursday evenings at the
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
208 Botley Womens' Institute Hall, North Hinksey Lane, Botley, Oxford OX2 0LT and
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
209 dance out in the summer months at locations around Oxfordshire.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
210
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
211 Find out more at \url{http://www.cryhavoc.org.uk/}, or email
327
55afb58d4a9a Make emails \url{} to that they will wrap at the end of a line.
Jim Hague <jim.hague@acm.org>
parents: 326
diff changeset
212 \href{mailto:bag@cryhavoc.org.uk}{\url{bag@cryhavoc.org.uk}} for more
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
213 information. Would-be dancers or musicians always welcome.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
214
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
215 The Booke of Dottes was first produced to mark Cry Havoc's 20th
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
216 anniversary in 2013.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
217
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
218 % -----
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
219
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
220 \tableofcontents
268
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
221
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
222 % -----
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
223
269
3b40937a3f95 Convert from article to a one-sided book.
Jim Hague <jim.hague@acm.org>
parents: 268
diff changeset
224 \mainmatter
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
225
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
226 \addcontentsline{toc}{chapter}{Tunes}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
227
330
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
228 {
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
229 \newcolumntype{L}{p{0.25\textwidth}}%
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
230 \newcolumntype{R}{>{\raggedleft\arraybackslash}p{0.25\textwidth}}%
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
231 \newcolumntype{C}{>{\centering\arraybackslash}X}%
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
232 \renewcommand{\tabularxcolumn}[1]{m{#1}}%
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
233 \renewcommand{\tabcolsep}{0pt}
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
234
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
235 \input{tunes.tex}
330
473d335235b8 Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents: 329
diff changeset
236 }
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
237
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
238 % -----
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
239
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
240 \cleardoublepage
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
241
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
242 \chapter{List of tune first lines}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
243
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
244 You know the feeling. Everyone has just launched into a well-loved tune.
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
245 You've heard it before, but don't remember the name. So here's a list of
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
246 tune first lines to help you figure out what it is in time to join in.
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
247
315
b4d568b70c33 Revise first line table.
Jim Hague <jim.hague@acm.org>
parents: 312
diff changeset
248 {\renewcommand{\arraystretch}{2.5}
b4d568b70c33 Revise first line table.
Jim Hague <jim.hague@acm.org>
parents: 312
diff changeset
249 \setlength\LTleft{0pt}
306
c3b300378738 Revise first lines table.
Jim Hague <jim.hague@acm.org>
parents: 305
diff changeset
250 \setlength\LTright{\fill}
315
b4d568b70c33 Revise first line table.
Jim Hague <jim.hague@acm.org>
parents: 312
diff changeset
251 \begin{longtable}{@{}>{\raggedright\arraybackslash}m{0.2\textwidth}r@{}}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
252 \input{firstlines.tex}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
253 \end{longtable}
315
b4d568b70c33 Revise first line table.
Jim Hague <jim.hague@acm.org>
parents: 312
diff changeset
254 }
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
255
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
256 % ----- Back cover page. A plain purple page.
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
257
294
35403bccf334 Make only post-tune list items back matter.
Jim Hague <jim.hague@acm.org>
parents: 282
diff changeset
258 \backmatter
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
259
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
260 \pagecolor{havocpurple}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
261 \thispagestyle{empty}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
262 \mbox{}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
263
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
264 \end{document}