Mercurial > dottes
annotate dottes.tex.a5header @ 194:af1d1009305f
Use Havoc font for the title.
Also change the general font size to 12pt. I think it's a bit nicer.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Sat, 16 Feb 2013 02:03:12 +0000 |
parents | 6a0bdabfb255 |
children | f606da6f8718 |
rev | line source |
---|---|
194
af1d1009305f
Use Havoc font for the title.
Jim Hague <jim.hague@acm.org>
parents:
181
diff
changeset
|
1 \documentclass[a5paper,landscape,12pt]{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} |
40
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
6 |
115
c4efe8b5eea1
Add internal hyperlinks to the book.
Jim Hague <jim.hague@acm.org>
parents:
50
diff
changeset
|
7 \usepackage{hyperref} |
c4efe8b5eea1
Add internal hyperlinks to the book.
Jim Hague <jim.hague@acm.org>
parents:
50
diff
changeset
|
8 \hypersetup{ |
c4efe8b5eea1
Add internal hyperlinks to the book.
Jim Hague <jim.hague@acm.org>
parents:
50
diff
changeset
|
9 bookmarks=true,% |
c4efe8b5eea1
Add internal hyperlinks to the book.
Jim Hague <jim.hague@acm.org>
parents:
50
diff
changeset
|
10 colorlinks=true,% |
c4efe8b5eea1
Add internal hyperlinks to the book.
Jim Hague <jim.hague@acm.org>
parents:
50
diff
changeset
|
11 citecolor=black,% |
c4efe8b5eea1
Add internal hyperlinks to the book.
Jim Hague <jim.hague@acm.org>
parents:
50
diff
changeset
|
12 filecolor=black,% |
c4efe8b5eea1
Add internal hyperlinks to the book.
Jim Hague <jim.hague@acm.org>
parents:
50
diff
changeset
|
13 linkcolor=black,% |
c4efe8b5eea1
Add internal hyperlinks to the book.
Jim Hague <jim.hague@acm.org>
parents:
50
diff
changeset
|
14 urlcolor=black |
c4efe8b5eea1
Add internal hyperlinks to the book.
Jim Hague <jim.hague@acm.org>
parents:
50
diff
changeset
|
15 } |
c4efe8b5eea1
Add internal hyperlinks to the book.
Jim Hague <jim.hague@acm.org>
parents:
50
diff
changeset
|
16 |
40
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
17 % ----- Common variables |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
18 |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
19 \def \build {\input{buildno.txt}} |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
20 |
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
|
21 % ----- 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
|
22 |
194
af1d1009305f
Use Havoc font for the title.
Jim Hague <jim.hague@acm.org>
parents:
181
diff
changeset
|
23 \newfontfamily\titlefont [ Path = ../fonts/ ]{EnglishTowne.ttf} |
af1d1009305f
Use Havoc font for the title.
Jim Hague <jim.hague@acm.org>
parents:
181
diff
changeset
|
24 |
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
|
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 |
30 \setlength{\parindent}{0pt} | |
31 | |
122
295ba8275ab4
Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
118
diff
changeset
|
32 % 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
|
33 \addtolength{\textwidth}{4cm} |
295ba8275ab4
Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
118
diff
changeset
|
34 \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
|
35 |
305e701c5dc2
Set output to A5 landscape. Begin content and content on fresh page.
Jim Hague <jim.hague@acm.org>
parents:
16
diff
changeset
|
36 \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
|
37 \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
|
38 |
122
295ba8275ab4
Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
118
diff
changeset
|
39 % Move the top margin up a further cm. |
295ba8275ab4
Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
118
diff
changeset
|
40 \addtolength{\textheight}{1cm} |
295ba8275ab4
Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
118
diff
changeset
|
41 \addtolength{\voffset}{-1cm} |
295ba8275ab4
Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
118
diff
changeset
|
42 |
13 | 43 % ----- |
44 | |
181
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
176
diff
changeset
|
45 % 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
|
46 \setcounter{secnumdepth}{-1} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
176
diff
changeset
|
47 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
176
diff
changeset
|
48 % ----- |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
176
diff
changeset
|
49 |
13 | 50 \begin{document} |
51 | |
40
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
52 % ----- Headers and footers |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
53 |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
54 \pagestyle{fancyplain} |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
55 \fancyhf{} |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
56 \lfoot{Issue \build} |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
57 \rfoot{\thepage} |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
58 \renewcommand{\headrulewidth}{0pt} |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
59 |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
60 % ----- Title page and contents |
93955def7313
Revise page footers, and add build number.
Jim Hague <jim.hague@laicatc.com>
parents:
39
diff
changeset
|
61 |
194
af1d1009305f
Use Havoc font for the title.
Jim Hague <jim.hague@acm.org>
parents:
181
diff
changeset
|
62 \title{{\titlefont \Huge Ye Crie Havock Booke of Dottes} \\ |
af1d1009305f
Use Havoc font for the title.
Jim Hague <jim.hague@acm.org>
parents:
181
diff
changeset
|
63 {\Large \input{subtitle.txt}}} |
13 | 64 |
38
01c4d873153f
Quick attempt to parameterise different book builds.
Jim Hague <jim.hague@laicatc.com>
parents:
34
diff
changeset
|
65 \author{Cry Havoc} |
13 | 66 |
67 \date{\today} | |
68 | |
69 \maketitle | |
70 | |
19
305e701c5dc2
Set output to A5 landscape. Begin content and content on fresh page.
Jim Hague <jim.hague@acm.org>
parents:
16
diff
changeset
|
71 \newpage |
305e701c5dc2
Set output to A5 landscape. Begin content and content on fresh page.
Jim Hague <jim.hague@acm.org>
parents:
16
diff
changeset
|
72 |
13 | 73 \tableofcontents |
74 | |
19
305e701c5dc2
Set output to A5 landscape. Begin content and content on fresh page.
Jim Hague <jim.hague@acm.org>
parents:
16
diff
changeset
|
75 \newpage |
305e701c5dc2
Set output to A5 landscape. Begin content and content on fresh page.
Jim Hague <jim.hague@acm.org>
parents:
16
diff
changeset
|
76 |
13 | 77 % ----- |
78 | |
79 \section{Introduction} | |
80 | |
39
9681f6cd9c2b
Change subtitle and intro files to .txt extension.
Jim Hague <jim.hague@laicatc.com>
parents:
38
diff
changeset
|
81 \input{intro.txt} |
13 | 82 |
117
9ccdb7c3ec45
Add reference to web location.
Jim Hague <jim.hague@acm.org>
parents:
115
diff
changeset
|
83 This book is a work in progress. You can download the latest version from |
176 | 84 \url{http://dottes.cryhavoc.org.uk/}. |
117
9ccdb7c3ec45
Add reference to web location.
Jim Hague <jim.hague@acm.org>
parents:
115
diff
changeset
|
85 |
13 | 86 % ----- |
87 | |
88 \section{Tunes} | |
16 | 89 |
90 Tunes are arranged in alphabetical order of tune title. | |
91 | |
92 \newpage |