Mercurial > dottes
annotate dottes.tex.a4header @ 263:7b98278d6e8b
Add instrument name into title page for transpositions.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 21 Jun 2013 20:00:54 +0100 |
parents | 88b58f811bc6 |
children | 1d9a6aaba914 |
rev | line source |
---|---|
201
f606da6f8718
Revert Havoc font change. Doesn't work on build machine.
Jim Hague <jim.hague@acm.org>
parents:
194
diff
changeset
|
1 \documentclass[a4paper,11pt]{article} |
181
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
2 \usepackage{fontspec} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
3 \usepackage{graphicx} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
4 \usepackage{fancyhdr} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
5 \usepackage{longtable} |
255
e8ae4d29b52f
Move Change: notice closer to the bottom of the tune graphic.
Jim Hague <jim.hague@acm.org>
parents:
253
diff
changeset
|
6 \usepackage{float} |
260
f337d024b13d
Make printed table of contents a two-column list.
Jim Hague <jim.hague@acm.org>
parents:
255
diff
changeset
|
7 \usepackage[toc]{multitoc} |
181
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
8 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
9 \usepackage{hyperref} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
10 \hypersetup{ |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
11 bookmarks=true,% |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
12 colorlinks=true,% |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
13 citecolor=black,% |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
14 filecolor=black,% |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
15 linkcolor=black,% |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
16 urlcolor=black |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
17 } |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
18 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
19 % ----- Common variables |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
20 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
21 \def \build {\input{buildno.txt}} |
261 | 22 \def \instrument {\input{instrument.txt}} |
181
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
23 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
24 % ----- Appearance |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
25 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
26 %\setmainfont{Century Schoolbook L} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
27 \setmainfont{Times New Roman} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
28 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
29 % ----- Page setup |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
30 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
31 % Adjust margins for A4 portrait. Increase width by 4cm and height by 4cm. |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
32 \addtolength{\textwidth}{4cm} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
33 \addtolength{\hoffset}{-2cm} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
34 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
35 \addtolength{\textheight}{4cm} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
36 \addtolength{\voffset}{-2cm} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
37 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
38 % Move the top margin up a further cm. |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
39 \addtolength{\textheight}{1cm} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
40 \addtolength{\voffset}{-1cm} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
41 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
42 % ----- |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
43 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
44 % Don't show section numbers. |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
45 \setcounter{secnumdepth}{-1} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
46 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
47 % ----- |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
48 |
230
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
49 % Title page |
248
440172d9f5d6
Redo the printed Booke title page.
Jim Hague <jim.hague@acm.org>
parents:
230
diff
changeset
|
50 \newfontfamily\havocfont[Scale=3.5]{English Towne} |
230
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
51 |
248
440172d9f5d6
Redo the printed Booke title page.
Jim Hague <jim.hague@acm.org>
parents:
230
diff
changeset
|
52 \newcommand*{\titleDB}{\begingroup |
440172d9f5d6
Redo the printed Booke title page.
Jim Hague <jim.hague@acm.org>
parents:
230
diff
changeset
|
53 \centering |
440172d9f5d6
Redo the printed Booke title page.
Jim Hague <jim.hague@acm.org>
parents:
230
diff
changeset
|
54 {\Large \havocfont{Ye}}\\[\baselineskip] |
440172d9f5d6
Redo the printed Booke title page.
Jim Hague <jim.hague@acm.org>
parents:
230
diff
changeset
|
55 {\Huge \havocfont{Crie Havock}}\\[\baselineskip] |
440172d9f5d6
Redo the printed Booke title page.
Jim Hague <jim.hague@acm.org>
parents:
230
diff
changeset
|
56 {\Large \havocfont{Booke of}}\\[\baselineskip] |
261 | 57 {\Huge \havocfont{\instrument Dottes}}\\[\baselineskip] |
58 \vfill | |
248
440172d9f5d6
Redo the printed Booke title page.
Jim Hague <jim.hague@acm.org>
parents:
230
diff
changeset
|
59 {\Huge \input{title.txt}}\\[\baselineskip] |
440172d9f5d6
Redo the printed Booke title page.
Jim Hague <jim.hague@acm.org>
parents:
230
diff
changeset
|
60 {\Large \input{subtitle.txt}}\\[\baselineskip] |
440172d9f5d6
Redo the printed Booke title page.
Jim Hague <jim.hague@acm.org>
parents:
230
diff
changeset
|
61 \vfill |
261 | 62 \includegraphics[width=0.5\textwidth,keepaspectratio]{buzzard} |
248
440172d9f5d6
Redo the printed Booke title page.
Jim Hague <jim.hague@acm.org>
parents:
230
diff
changeset
|
63 \vfill |
261 | 64 {Compiled by Jim Hague}\\ |
230
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
65 \endgroup} |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
66 |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
67 % ----- |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
68 |
181
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
69 \begin{document} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
70 |
251
de24a62246bc
Stop numbering the title page(s) in the printed book.
Jim Hague <jim.hague@acm.org>
parents:
250
diff
changeset
|
71 % ----- Title page |
de24a62246bc
Stop numbering the title page(s) in the printed book.
Jim Hague <jim.hague@acm.org>
parents:
250
diff
changeset
|
72 |
de24a62246bc
Stop numbering the title page(s) in the printed book.
Jim Hague <jim.hague@acm.org>
parents:
250
diff
changeset
|
73 \begin{titlepage} |
de24a62246bc
Stop numbering the title page(s) in the printed book.
Jim Hague <jim.hague@acm.org>
parents:
250
diff
changeset
|
74 \titleDB |
de24a62246bc
Stop numbering the title page(s) in the printed book.
Jim Hague <jim.hague@acm.org>
parents:
250
diff
changeset
|
75 \end{titlepage} |
de24a62246bc
Stop numbering the title page(s) in the printed book.
Jim Hague <jim.hague@acm.org>
parents:
250
diff
changeset
|
76 |
181
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
77 % ----- Headers and footers |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
78 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
79 \pagestyle{fancyplain} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
80 \fancyhf{} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
81 \lfoot{Issue \build} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
82 \rfoot{\thepage} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
83 \renewcommand{\headrulewidth}{0pt} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
84 |
251
de24a62246bc
Stop numbering the title page(s) in the printed book.
Jim Hague <jim.hague@acm.org>
parents:
250
diff
changeset
|
85 % ----- Contents |
181
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
86 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
87 \tableofcontents |