-
Notifications
You must be signed in to change notification settings - Fork 0
/
defs.tex
173 lines (154 loc) · 6.61 KB
/
defs.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
% Telemachus commands
\documentclass[12pt,twoside]{article}
\usepackage{ifthen}
% TODO: eat the preceding line ending
% Gabler edition line number
\newcommand{\gab}[1]{\marginpar[\small\raggedleft #1]{\small #1}}
% \newcommand{\gab}[1]{\fbox{#1}}
\newcommand{\sentence}[1]{\pagebreak[3]\section{#1}\indent}
%\newcommand{\stage}[1]{{\hskip 0.25em\sffamily[{\itshape{#1}\/}]\hskip 0.25em}}
\newcommand{\histstyle}[1]{\bigskip\centerline{--- \emph{{[}#1{]}} ---}\smallskip}
\newcommand{\song}[1]{\emph{#1}}
\newcommand{\Title}[1]{\emph{#1}}
\newcommand{\latin}[1]{\emph{#1}}
\newcommand{\french}[1]{\emph{#1}}
\newcommand{\german}[1]{\emph{#1}}
\newcommand{\greek}[1]{\emph{#1}}
\newcommand{\italian}[1]{\emph{#1}}
\newcommand{\spanish}[1]{\emph{#1}}
\newcommand{\irish}[1]{\emph{#1}}
\newcommand{\yiddish}[1]{\emph{#1}}
\newcommand{\hebrew}[1]{\emph{#1}}
\newcommand{\russian}[1]{\emph{#1}}
\newcommand{\role}[2]{%
% #1 is role name; #2 is the trailing ":"
{\pagebreak[0]\textbf{#1}%
{\nobreak\hskip 0.1em plus 0.25em\Large\char58\hskip 0.1em plus 0.1em minus 0.05em\relax}~}}
\newcommand{\Role}[2]{%
{\pagebreak[1]\vspace{9.5pt plus 5pt minus 4.5pt}\textbf{#1}%
{\nobreak\hskip 0.1em plus 0.25em\Large\char58\hskip 0.1em plus 0.1em minus 0.05em\relax}~}}
\newcommand{\narr}[2][N]{\role{#1#2}}
\newcommand{\Narr}[2][N]{\Role{#1#2}}
\newcommand{\nrole}[2]{\Narr{#1} #2.\par\Role{#2}}
\newcommand{\optrole}[2][0]{\ifthenelse {#1>0} {\nrole{#1}{#2}} {\Role{#2}}}
\newcounter{questions}
% Narrators 0-9
\newcommand{\N}[1] {\Narr[N]{#1}}
\newcommand{\n}[1] {\narr[n\/]{#1}}
\newcommand{\F}[1] {\Narr[F]{#1}}
\newcommand{\f}[1] {\narr[f\/]{#1}}
\newcommand{\M}[1] {\Narr[M]{#1}}
\newcommand{\m}[1] {\narr[m\/]{#1}}
\newcommand{\Q}[1] {\addtocounter{questions}{1}%
\pagebreak[2]\bigskip\textbf{Q#1~~$\langle$\arabic{questions}$\rangle$\char58~}}
\newcommand{\A} {\role{\textbf{A}}}
\newcommand{\All}[1][0] {\optrole[#1]{All}}
\newcommand{\Bloom}[1][0] {\optrole[#1]{Bloom}}
\newcommand{\BloomInt}[1][0] {\optrole[#1]{Bloom \emph{(int.)}}}
\newcommand{\Cat}[1][0] {\optrole[#1]{Cat}}
\newcommand{\Milly}[1][0] {\optrole[#1]{Milly}}
\newcommand{\Molly}[1][0] {\optrole[#1]{Molly}}
\newcommand{\ORourke}[1][0] {\optrole[#1]{O'Rourke}}
\newcommand{\Dlugacz}[1][0] {\optrole[#1]{Dlugacz}}
\newcommand{\NextDoorGirl}[1][0]{\optrole[#1]{Next Door Girl}}
\newcommand{\Stephen}[1][0] {\optrole[#1]{Stephen}}
\newcommand{\slfrac}[2]{\left.#1\middle/#2\right.}
\newcommand{\stage}[1] {\textit{\textsc{#1}}\/}
\newcommand{\he}[1] {\stage{#1}}
\newcommand{\she}[1] {\stage{#1}}
\newcommand{\arse} {\stage{arse}}
\newcommand{\beggar} {\he{Beggar}}
\newcommand{\bishop} {\he{Bishop}}
\newcommand{\bloom} {\he{Bloom}}
\newcommand{\bloomDa} {\stage{Bloom's Father}}
\newcommand{\bloomMa} {\stage{Bloom's Mother}}
\newcommand{\boatman} {\he{Boat Man}}
\newcommand{\boy} {\he{Boy}}
\newcommand{\boylan} {\he{Boylan}}
\newcommand{\breen} {\he{Denis Breen}}
\newcommand{\buddha} {\he{Buddha}}
\newcommand{\burke} {\he{Burke}}
\newcommand{\businessman} {\he{Business Man}}
\newcommand{\cards} {\stage{Cards}}
\newcommand{\cohen} {\he{Cohen}}
\newcommand{\collins} {\he{Dr~Collins}}
\newcommand{\corrigan} {\he{Fr~Corrigan}}
\newcommand{\criminal} {\he{Criminal}}
\newcommand{\cuffe} {\he{Cuffe}}
\newcommand{\dArcy} {\he{d'Arcy}}
\newcommand{\dbc} {\stage{Dublin Baking Company}}
\newcommand{\dillon} {\he{Mr~Dillon}}
\newcommand{\dignam} {\he{Paddy Dignam}}
\newcommand{\mrsdignam} {\she{Mrs~Dignam}}
\newcommand{\dog} {\he{Dog}}
\newcommand{\dollard} {\he{Ben Dollard}}
\newcommand{\henny} {\he{Henny Doyle}}
\newcommand{\emperor} {\he{Emperor}}
\newcommand{\fanny} {\she{Fanny M'Coy}}
\newcommand{\father} {\he{Molly's Father}}
\newcommand{\mrsfleming} {\she{Mrs~Fleming}}
\newcommand{\mrsjoeg} {\she{Mrs Joe Gallaher}}
\newcommand{\gardner} {\he{Gardner}}
\newcommand{\gentfash} {\he{Gentleman of Fashion}}
\newcommand{\goodwin} {\he{Goodwin}}
\newcommand{\griffith} {\he{Griffith}}
\newcommand{\groves} {\he{Groves}}
\newcommand{\gunn} {\he{Michael Gunn}}
\newcommand{\haines} {\she{Haines}}
\newcommand{\hester} {\she{Hester Stanhope}}
\newcommand{\idiot} {\he{Idiot}}
\newcommand{\josie} {\he{Josie Breen née Powell}}
\newcommand{\kc} {\he{K~C}}
\newcommand{\mrlangtry} {\he{Mr~Langtry}}
\newcommand{\mrslangtry} {\she{Mrs~Langtry}}
\newcommand{\lenehan} {\he{Lenehan}}
\newcommand{\lucan} {\he{Lucan}}
\newcommand{\mastiansky} {\he{Mr~Mastiansky}}
\newcommand{\maybrick} {\he{Mr~Maybrick}}
\newcommand{\men} {\he{Men}}
\newcommand{\menton} {\he{Menton}}
\newcommand{\milly} {\she{Milly}}
\newcommand{\molly} {\she{Molly}}
\newcommand{\mulligan} {\he{Mulligan}}
\newcommand{\mulvey} {\he{Mulvey}}
\newcommand{\oldwoman} {\she{Old Woman}}
\newcommand{\orourke} {\he{O'Rourke}}
\newcommand{\other} {\he{Other Man}}
\newcommand{\ourlord} {\he{Our Lord}}
\newcommand{\pitman} {\he{Man in Pit}}
\newcommand{\power} {\he{Jack Power}}
\newcommand{\redhead} {\he{Red~Head}}
\newcommand{\riordan} {\he{Mr~Riordan}}
\newcommand{\rudy} {\he{Rudy Bloom}}
\newcommand{\simon} {\he{Simon Dedalus}}
\newcommand{\stanhope} {\he{Mr~Stanhope}}
\newcommand{\stephen} {\he{Stephen Dedalus}}
\newcommand{\statue} {\he{Statue}}
\newcommand{\student} {\he{Student}}
\newcommand{\valdillon} {\he{Val Dillon}}
\newcommand{\wales} {\he{Prince of Wales}}
\newcommand{\wogger} {\he{Wogger}}
\newcommand{\workman} {\he{Workman}}
\newcommand{\youngman} {\he{Young Man}}
%---------------------------------------------
\usepackage[super]{nth}
\usepackage{geometry}
\geometry{letterpaper}
\usepackage[normalem]{ulem}
\usepackage{fontspec,xltxtra,xunicode}
\usepackage{fancybox}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont[Mapping=tex-text,Numbers=OldStyle]{Libertinus Serif}
% Framed box
\newcommand{\fb}[1]{
\begin{center}
\fbox{\parbox{.9\textwidth}{\setlength\parindent{1em}#1}}
\end{center}
}
\newcommand{\commentary}[1]{\bigskip\pagebreak[2]\fb{\centering #1}}
% Parenthetical remarks
\newcommand{\paren}[1]{\hskip 0.75em{\examplefont \emph{#1}}\hskip 0.75em}
\newcommand{\acting}[1]{\commentary{#1}\nobreak}
% Define | as magic separator (cadence bars)
\catcode`|=\active
\protected\def|{{\hskip 0.1em plus 0.25em\small$\wr$\hskip 0.1em plus 0.1em minus 0.05em\relax}}