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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
|
%%
%% This is file `screenplay.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% screenplay.dtx (with options: `class')
%% +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
%%
%% Authored by and Copyright (C)2006 by
%% John Pate <johnny@dvc.org.uk>
%% http://dvc.org.uk
%% Latest version is available as:
%% http://dvc.org.uk/sacrific.txt/screenplay.zip
%%
%% This program is free software; you can redistribute it and/or
%% modify it under the terms of the GNU General Public License as
%% published by the Free Software Foundation; either version 2 of
%% the License, or (at your option) any later version.
%%
%% This program is distributed in the hope that it will be useful,
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
%% GNU General Public License for more details.
%%
%% You should have received a copy of the GNU General Public
%% License along with this program; if not, write to the Free
%% Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
%% MA 02110-1301 USA
%%
%% GPL v2 text also available as:
%% http://dvc.org.uk/gplv2.txt
%%
%% +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
\NeedsTeXFormat{LaTeX2e}[2003/12/01]
\ProvidesClass{screenplay}[2006/09/27 v1.487
LaTeX2e Draft Screenplay document class
(C)2006 John Pate
released under the GNU General Public License]
\DeclareOption*{%
\PackageError{screenplay}{Unwanted option '\CurrentOption'}%
{There are no options available for class screenplay v1.487}}
\ProcessOptions\relax
\RequirePackage{ifthen}
\LoadClass[12pt,letterpaper,onecolumn,oneside]{article}[2004/02/16]
\RequirePackage[dvips,letterpaper]{geometry}
\setlength{\paperheight}{11in}
\setlength{\paperwidth}{8.5in}
\RequirePackage{courier}
\renewcommand*\familydefault{\ttdefault}
\raggedright
\pagenumbering{arabic}
\pagestyle{myheadings}
\setlength{\baselineskip}{12pt plus 0pt minus 0pt}
\renewcommand*{\baselinestretch}{0.8}
\newcommand{\dialfix}{\vspace{3pt}}
\setlength{\parskip}{\baselineskip}
\setlength{\parindent}{0in}
\setlength{\evensidemargin}{0.5in}
\setlength{\oddsidemargin}{0.5in}
\setlength{\topmargin}{-0.5in}
\setlength{\headsep}{0.4in}
\setlength{\topskip}{0in}
\setlength{\textheight}{9.5in}
\setlength{\textwidth}{6.1in}
\newcommand{\slugspace}{\hspace{2.0em plus 0em minus 0em}}
\newcommand{\dialwidth}{3.2in}
\newcommand{\dialtab}{\hspace*{1.5in}}
\newcommand{\dialnametab}{\hspace*{1.2in}}
\newcommand{\parenwidth}{1.7in}
\newcommand{\parentab}{\hspace{0.7in}}
\newcommand{\parenkludge}{\dialfix}
\renewcommand*{\textfraction}{1}
\renewcommand*{\topfraction}{0}
\renewcommand*{\bottomfraction}{0}
\newcommand{\nicholl}[1]{
\thispagestyle{empty}
\vspace*{2.25in}
\begin{center}\MakeUppercase{#1}\end{center}
\newpage\setcounter{page}{1}
}%nicholl
\newcommand{\titlesepspace}{\vspace{3.75in plus 0in minus 1.0in}}
\newcommand{\copyspace}{\vspace*{2ex plus 0ex minus 0ex}}
\newcommand{\titleauthor}[4][]{
\thispagestyle{empty}
\vspace*{2.25in}
\begin{center}{\textbf{\MakeUppercase{#2}}}\\
\vspace{\baselineskip}
by\\
\vspace{\baselineskip}
#3\\
\vspace*{\baselineskip}
\ifthenelse{\not\equal{#1}{}}
{
\scriptsize\copyright\normalsize#1
}{
\copyspace
}
\end{center}
\titlesepspace
\hspace*{4.0in}\parbox[t]{2.0in}{\raggedright#4}
\newpage\setcounter{page}{1}
}%titleauthor
\newcommand{\titleextra}[4]{
\thispagestyle{empty}
\vspace*{2.25in}
\begin{center}{\textbf{\MakeUppercase{#2}}}\\
\vspace{\baselineskip}
by\\
\vspace{\baselineskip}
#3\\
\vspace*{\baselineskip}
\copyspace
\end{center}
\titlesepspace
\parbox[t]{2.0in}{\raggedright#1}\hspace*{2.0in}
\parbox[t]{2.0in}{\raggedright#4}
\newpage\setcounter{page}{1}
}%titleextra
\newcommand{\paren}[2][\\]{%
#1\parentab\parbox[t]{\parenwidth}{\raggedright(#2)\parenkludge}\\
}%paren
\newenvironment{dialogue}[2][]{
\dialtab\dialnametab\hbox{\MakeUppercase{#2}}\nopagebreak\\
\dialtab\begin{minipage}[b]{\dialwidth}
\dialfix
\raggedright
\ifthenelse{\not\equal{#1}{}}
{
\paren[]{#1}
}{}
}{
\end{minipage}
}%dialogue
\newcommand{\dialbreak}[2][]{
\\\dialnametab\hbox{(MORE)}%
\end{dialogue}
\pagebreak
\ifthenelse{\not\equal{#1}{}}
{
\begin{dialogue}[#1]{\MakeUppercase{#2} (CONT'D)}
}{
\begin{dialogue}{\MakeUppercase{#2} (CONT'D)}
}
}%dialbreak
\newcommand{\intslug}[2][]{
\MakeUppercase{INT. #2}%
\ifthenelse{\not\equal{#1}{}}
{%
\slugspace\MakeUppercase{#1}\hspace{\fill}
}{}
\nopagebreak
}%intslug
\newcommand{\extslug}[2][]{
\MakeUppercase{EXT. #2}%
\ifthenelse{\not\equal{#1}{}}
{%
\slugspace\MakeUppercase{#1}\hspace{\fill}
}{}
\nopagebreak
}%extslug
\newcommand{\intextslug}[2][]{
\MakeUppercase{INT./EXT. #2}%
\ifthenelse{\not\equal{#1}{}}
{%
\slugspace\MakeUppercase{#1}\hspace{\fill}
}{}
\nopagebreak
}%intextslug
\newcommand{\extintslug}[2][]{
\MakeUppercase{EXT./INT. #2}%
\ifthenelse{\not\equal{#1}{}}
{%
\slugspace\MakeUppercase{#1}\hspace{\fill}
}{}
\nopagebreak
}%extintslug
\newenvironment{titleover}[1][]{
\ifthenelse{\not\equal{#1}{}}
{%true
TITLE OVER (#1):\\
}{%false
TITLE OVER:\\
}%ifthenelse
\vspace{\baselineskip}
\nopagebreak
\dialtab\begin{minipage}[b]{\dialwidth}
\raggedright
}{
\end{minipage}
}%titleover
\newcommand{\titbreak}{
\\\dialnametab\hbox{(MORE)}%
\end{titleover}
\pagebreak
\begin{titleover}[CONT'D]
}%titbreak
\newcommand{\centretitle}[1]{
TITLE OVER:
\nopagebreak
\hspace*{\fill}{#1}\hspace{\fill}
}%centretitle
\newcommand{\fadein}{
FADE IN:
}%fadein
\newcommand{\fadeout}{
\hspace*{\fill}FADE OUT:
}%fadeout
\newcommand{\intercut}{
\hspace*{\fill}INTERCUT WITH:
}%intercut
\newcommand{\pov}{P.O.V. }
\newcommand{\nb}{NOTE: }
\newcommand{\theend}{
\hspace*{\fill}THE END\hspace{\fill}
}%THE END
%%
%% Hail Eris! All Hail Discordia!
%%
%% End of file `screenplay.cls'.
|