Mercurial > dottes
annotate dottes.tex.a4header @ 233:92500a8068ce
Add contact details to website.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Sun, 10 Mar 2013 20:30:56 +0000 |
parents | 4800e1f12632 |
children | 440172d9f5d6 |
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} |
230
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
6 \usepackage[svgnames]{xcolor} |
181
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
7 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
8 \usepackage{hyperref} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
9 \hypersetup{ |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
10 bookmarks=true,% |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
11 colorlinks=true,% |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
12 citecolor=black,% |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
13 filecolor=black,% |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
14 linkcolor=black,% |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
15 urlcolor=black |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
16 } |
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 % ----- Common variables |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
19 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
20 \def \build {\input{buildno.txt}} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
21 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
22 % ----- Appearance |
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 %\setmainfont{Century Schoolbook L} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
25 \setmainfont{Times New Roman} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
26 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
27 % ----- Page setup |
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 \setlength{\parindent}{0pt} |
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 |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
50 \newcommand*{\rotrt}[1]{\rotatebox{90}{#1}} % Command to rotate right 90 degrees |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
51 \newcommand*{\rotlft}[1]{\rotatebox{-90}{#1}} % Command to rotate left 90 degrees |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
52 |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
53 \newcommand*{\titleBC}{\begingroup % Create the command for including the title page in the document |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
54 \centering % Center all text |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
55 |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
56 \def\CP{\textit{\Huge Ye Crie Havock Booke of Dottes}} % Title |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
57 |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
58 \settowidth{\unitlength}{\CP} % Set the width of the curly brackets to the width of the title |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
59 {\color{LightGoldenrod}\resizebox*{\unitlength}{\baselineskip}{\rotrt{$\}$}}} \\[\baselineskip] % Print top curly bracket |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
60 \textcolor{Sienna}{\CP} \\[\baselineskip] % Print title |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
61 {\color{RosyBrown}\Large \input{subtitle.txt}} \\ % Tagline or further description |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
62 {\color{LightGoldenrod}\resizebox*{\unitlength}{\baselineskip}{\rotlft{$\}$}}} % Print bottom curly bracket |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
63 |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
64 \vfill % Whitespace between the title and the author name |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
65 |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
66 {\Large\textbf{Cry Havoc}}\\ % Author name |
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 \vfill % Whitespace between the author name and the rest |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
69 |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
70 \today % Date published |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
71 |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
72 \endgroup} |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
73 |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
74 % ----- |
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
75 |
181
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
76 \begin{document} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
77 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
78 % ----- Headers and footers |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
79 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
80 \pagestyle{fancyplain} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
81 \fancyhf{} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
82 \lfoot{Issue \build} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
83 \rfoot{\thepage} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
84 \renewcommand{\headrulewidth}{0pt} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
85 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
86 % ----- Title page and contents |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
87 |
230
4800e1f12632
Add a flashier title page to the LaTeX documents.
Jim Hague <jim.hague@acm.org>
parents:
201
diff
changeset
|
88 \titleBC |
181
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
89 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
90 \newpage |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
91 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
92 \tableofcontents |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
93 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
94 \newpage |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
95 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
96 % ----- |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
97 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
98 \section{Introduction} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
99 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
100 \input{intro.txt} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
101 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
102 This book is a work in progress. You can download the latest version from |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
103 \url{http://dottes.cryhavoc.org.uk/}. |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
104 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
105 % ----- |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
106 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
107 \section{Tunes} |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
108 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
109 Tunes are arranged in alphabetical order of tune title. |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
110 |
6a0bdabfb255
Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
111 \newpage |