Mercurial > dottes
annotate dottes.tex.a5header @ 260:f337d024b13d
Make printed table of contents a two-column list.
| author | Jim Hague <jim.hague@acm.org> | 
|---|---|
| date | Fri, 21 Jun 2013 19:41:06 +0100 | 
| parents | e8ae4d29b52f | 
| children | 88b58f811bc6 | 
| 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[a5paper,landscape,11pt]{article} | 
| 
118
 
8f3b50ede59c
Switch to XeTeX to render. Opens up random OpenType fonts and UTF-8.
 
Jim Hague <jim.hague@acm.org> 
parents: 
117 
diff
changeset
 | 
2 \usepackage{fontspec} | 
| 13 | 3 \usepackage{graphicx} | 
| 
40
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
4 \usepackage{fancyhdr} | 
| 
50
 
e666306c5ab1
Add list of tune first lines.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
40 
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: 
252 
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} | 
| 
40
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
8 | 
| 
115
 
c4efe8b5eea1
Add internal hyperlinks to the book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
50 
diff
changeset
 | 
9 \usepackage{hyperref} | 
| 
 
c4efe8b5eea1
Add internal hyperlinks to the book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
50 
diff
changeset
 | 
10 \hypersetup{ | 
| 
 
c4efe8b5eea1
Add internal hyperlinks to the book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
50 
diff
changeset
 | 
11 bookmarks=true,% | 
| 
 
c4efe8b5eea1
Add internal hyperlinks to the book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
50 
diff
changeset
 | 
12 colorlinks=true,% | 
| 
 
c4efe8b5eea1
Add internal hyperlinks to the book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
50 
diff
changeset
 | 
13 citecolor=black,% | 
| 
 
c4efe8b5eea1
Add internal hyperlinks to the book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
50 
diff
changeset
 | 
14 filecolor=black,% | 
| 
 
c4efe8b5eea1
Add internal hyperlinks to the book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
50 
diff
changeset
 | 
15 linkcolor=black,% | 
| 
 
c4efe8b5eea1
Add internal hyperlinks to the book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
50 
diff
changeset
 | 
16 urlcolor=black | 
| 
 
c4efe8b5eea1
Add internal hyperlinks to the book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
50 
diff
changeset
 | 
17 } | 
| 
 
c4efe8b5eea1
Add internal hyperlinks to the book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
50 
diff
changeset
 | 
18 | 
| 
40
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
19 % ----- Common variables | 
| 
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
20 | 
| 
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
21 \def \build {\input{buildno.txt}} | 
| 
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
22 | 
| 
118
 
8f3b50ede59c
Switch to XeTeX to render. Opens up random OpenType fonts and UTF-8.
 
Jim Hague <jim.hague@acm.org> 
parents: 
117 
diff
changeset
 | 
23 % ----- Appearance | 
| 
 
8f3b50ede59c
Switch to XeTeX to render. Opens up random OpenType fonts and UTF-8.
 
Jim Hague <jim.hague@acm.org> 
parents: 
117 
diff
changeset
 | 
24 | 
| 
 
8f3b50ede59c
Switch to XeTeX to render. Opens up random OpenType fonts and UTF-8.
 
Jim Hague <jim.hague@acm.org> 
parents: 
117 
diff
changeset
 | 
25 %\setmainfont{Century Schoolbook L} | 
| 
 
8f3b50ede59c
Switch to XeTeX to render. Opens up random OpenType fonts and UTF-8.
 
Jim Hague <jim.hague@acm.org> 
parents: 
117 
diff
changeset
 | 
26 \setmainfont{Times New Roman} | 
| 
 
8f3b50ede59c
Switch to XeTeX to render. Opens up random OpenType fonts and UTF-8.
 
Jim Hague <jim.hague@acm.org> 
parents: 
117 
diff
changeset
 | 
27 | 
| 
40
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
28 % ----- Page setup | 
| 13 | 29 | 
| 
122
 
295ba8275ab4
Make output larger where possible.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
118 
diff
changeset
 | 
30 % Adjust margins for A5 landscape. Increase width by 4cm and height by 4cm. | 
| 
 
295ba8275ab4
Make output larger where possible.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
118 
diff
changeset
 | 
31 \addtolength{\textwidth}{4cm} | 
| 
 
295ba8275ab4
Make output larger where possible.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
118 
diff
changeset
 | 
32 \addtolength{\hoffset}{-2cm} | 
| 
19
 
305e701c5dc2
Set output to A5 landscape. Begin content and content on fresh page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
16 
diff
changeset
 | 
33 | 
| 
 
305e701c5dc2
Set output to A5 landscape. Begin content and content on fresh page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
16 
diff
changeset
 | 
34 \addtolength{\textheight}{4cm} | 
| 
 
305e701c5dc2
Set output to A5 landscape. Begin content and content on fresh page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
16 
diff
changeset
 | 
35 \addtolength{\voffset}{-2cm} | 
| 
 
305e701c5dc2
Set output to A5 landscape. Begin content and content on fresh page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
16 
diff
changeset
 | 
36 | 
| 
122
 
295ba8275ab4
Make output larger where possible.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
118 
diff
changeset
 | 
37 % Move the top margin up a further cm. | 
| 
 
295ba8275ab4
Make output larger where possible.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
118 
diff
changeset
 | 
38 \addtolength{\textheight}{1cm} | 
| 
 
295ba8275ab4
Make output larger where possible.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
118 
diff
changeset
 | 
39 \addtolength{\voffset}{-1cm} | 
| 
 
295ba8275ab4
Make output larger where possible.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
118 
diff
changeset
 | 
40 | 
| 13 | 41 % ----- | 
| 42 | |
| 
181
 
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
176 
diff
changeset
 | 
43 % Don't show section numbers. | 
| 
 
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
176 
diff
changeset
 | 
44 \setcounter{secnumdepth}{-1} | 
| 
 
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
176 
diff
changeset
 | 
45 | 
| 
 
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
176 
diff
changeset
 | 
46 % ----- | 
| 
 
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
176 
diff
changeset
 | 
47 | 
| 
230
 
4800e1f12632
Add a flashier title page to the LaTeX documents.
 
Jim Hague <jim.hague@acm.org> 
parents: 
201 
diff
changeset
 | 
48 % Title page | 
| 
248
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
49 \newfontfamily\havocfont[Scale=2.5]{English Towne} | 
| 
230
 
4800e1f12632
Add a flashier title page to the LaTeX documents.
 
Jim Hague <jim.hague@acm.org> 
parents: 
201 
diff
changeset
 | 
50 | 
| 
248
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
51 \newcommand*{\titleDB}{\begingroup | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
52 \centering | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
53 {\Large \havocfont{Ye}}\\[\baselineskip] | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
54 {\Huge \havocfont{Crie Havock}}\\[\baselineskip] | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
55 {\Large \havocfont{Booke of}}\\[\baselineskip] | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
56 {\Huge \havocfont{Dottes}}\\[2.5\baselineskip] | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
57 {\Huge \input{title.txt}}\\[\baselineskip] | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
58 {\Large \input{subtitle.txt}}\\[\baselineskip] | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
59 \newpage | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
60 \vfill | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
61 \includegraphics[width=0.3\textwidth,keepaspectratio]{buzzard} | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
62 \vfill | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
63 {Compiled by Jim Hague}\\[\baselineskip] | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
64 \vfill | 
| 
 
440172d9f5d6
Redo the printed Booke title page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
230 
diff
changeset
 | 
65 {\small\sffamily \today}\par | 
| 
230
 
4800e1f12632
Add a flashier title page to the LaTeX documents.
 
Jim Hague <jim.hague@acm.org> 
parents: 
201 
diff
changeset
 | 
66 \endgroup} | 
| 
 
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 % ----- | 
| 
 
4800e1f12632
Add a flashier title page to the LaTeX documents.
 
Jim Hague <jim.hague@acm.org> 
parents: 
201 
diff
changeset
 | 
69 | 
| 13 | 70 \begin{document} | 
| 71 | |
| 
251
 
de24a62246bc
Stop numbering the title page(s) in the printed book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
250 
diff
changeset
 | 
72 % ----- Title page | 
| 
 
de24a62246bc
Stop numbering the title page(s) in the printed book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
250 
diff
changeset
 | 
73 | 
| 
 
de24a62246bc
Stop numbering the title page(s) in the printed book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
250 
diff
changeset
 | 
74 \begin{titlepage} | 
| 
 
de24a62246bc
Stop numbering the title page(s) in the printed book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
250 
diff
changeset
 | 
75 \pagestyle{empty} | 
| 
 
de24a62246bc
Stop numbering the title page(s) in the printed book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
250 
diff
changeset
 | 
76 \titleDB | 
| 
 
de24a62246bc
Stop numbering the title page(s) in the printed book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
250 
diff
changeset
 | 
77 \end{titlepage} | 
| 
 
de24a62246bc
Stop numbering the title page(s) in the printed book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
250 
diff
changeset
 | 
78 | 
| 
40
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
79 % ----- Headers and footers | 
| 
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
80 | 
| 
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
81 \pagestyle{fancyplain} | 
| 
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
82 \fancyhf{} | 
| 
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
83 \lfoot{Issue \build} | 
| 
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
84 \rfoot{\thepage} | 
| 
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
85 \renewcommand{\headrulewidth}{0pt} | 
| 
 
93955def7313
Revise page footers, and add build number.
 
Jim Hague <jim.hague@laicatc.com> 
parents: 
39 
diff
changeset
 | 
86 | 
| 
251
 
de24a62246bc
Stop numbering the title page(s) in the printed book.
 
Jim Hague <jim.hague@acm.org> 
parents: 
250 
diff
changeset
 | 
87 % ----- Contents | 
| 
19
 
305e701c5dc2
Set output to A5 landscape. Begin content and content on fresh page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
16 
diff
changeset
 | 
88 | 
| 13 | 89 \tableofcontents | 
| 90 | |
| 
19
 
305e701c5dc2
Set output to A5 landscape. Begin content and content on fresh page.
 
Jim Hague <jim.hague@acm.org> 
parents: 
16 
diff
changeset
 | 
91 \newpage | 
