Debian Codegraph @

texmf-dist/source/latex/screenplay/screenplay.dtx

raw
1 % \iffalse
2 % +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
3 % screenplay.dtx
4 % Latest version is available as:
5 % http://dvc.org.uk/sacrific.txt/screenplay.zip
6 %
7 % Authored by and Copyright (C)2006 by
8 % John Pate <[email protected]>
9 % http://dvc.org.uk
10 %
11 % This program is free software; you can redistribute it and/or modify it
12 % under the terms of the GNU General Public License as published by the
13 % Free Software Foundation; either version 2 of the License, or (at your
14 % option) any later version.
15 %
16 % This program is distributed in the hope that it will be useful, but
17 % WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18 % or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19 % for more details.
20 %
21 % You should have received a copy of the GNU General Public License along
22 % with this program; if not, write to the Free Software Foundation, Inc.,
23 % 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24 %
25 % GPL v2 text also available as:
26 % http://dvc.org.uk/gplv2.txt
27 % +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
28 % \fi
29 %
30 % \iffalse
31 %<*dtx>
32 \ProvidesFile{screenplay.dtx}
33 \NeedsTeXFormat{LaTeX2e}[2003/12/01]
34 %</dtx>
35 %<driver>\ProvidesFile{screenplay.drv}
36 % \fi
37 %\ProvidesFile{screenplay}[2012/06/30 v1.6
38 % LaTeX2e Draft Screenplay document class
39 % (C)2006 John Pate
40 % released under the GNU General Public License]
41 % \iffalse
42 %<*driver>
43 \documentclass{article}
44 \usepackage{doc}
45 \usepackage[dvips,letterpaper,pdfauthor=John\ Pate,
46 pdftitle=A\ LaTeX2e\ class\ for\ Draft\ Screenplays,
47 pdfsubject=LaTeX2e\ class\ documentation\ and\ source\ (C)2006\ John\ Pate]
48 {hyperref}
49 \RecordChanges
50 \CodelineIndex
51 \begin{document}
52 \DocInput{screenplay.dtx}
53 \end{document}
54 %</driver>
55 % \fi
56 %
57 %% \CheckSum{356}
58 % \changes{1.0.0}{2006 Sep 23}{first \texttt{screenplay.dtx, 2006/09/23, v1.457}}
59 % \changes{1.0.1}{2006 Sep 24}{minor code changes, revision to documentation,
60 % v1.461}
61 % \changes{1.0.2}{2006 Sep 26}{minor code changes, revision to documentation,
62 % added \texttt{test} file, \texttt{example} file, to \texttt{.dtx},
63 % amended \texttt{.ins}, v1.465}
64 % \changes{1.0.3}{2006 Sep 27}{minor code changes, revision to documentation,
65 % added change history, v1.487}
66 % \changes{1.0.4}{2006 Sep 28}{enabled hyperlinks in documentation, v1.491}
67 % \changes{1.0.5}{2006 Sep 29}{minor code changes, revision to documentation,
68 % v1.494}
69 % \changes{1.0.6}{2006 Sep 30}{fixed typos, v1.496}
70 % \changes{1.0.7}{2006 Oct 01}{revision to documentation, v1.499}
71 % \changes{1.2.9}{2012 Jun 30}{v1.6, moved to Github}
72 %
73 % \MakeShortVerb{\|}
74 %
75 % \GetFileInfo{screenplay}
76 % \title{\bfseries A \LaTeXe\ class for Draft Screenplays}
77 % \author{by\\John Pate}
78 % \date{This paper describes class \texttt{\filename}\\
79 % version \fileversion, released \filedate}
80 % \maketitle
81 %
82 % \section{Introduction}
83 %
84 % Every year \textit{The Academy of Motion Picture Arts
85 % and Sciences} runs a competition for screenplay writers,
86 % the \textit{Nicholl Fellowships in Screenwriting}.
87 % Full-length feature film screenplays are submitted (for
88 % a fee). You can win money but, more importantly, placing in
89 % the competition will make agents take notice.
90 % \textit{The Academy} recommends a particular format which this
91 % \texttt{class} file attempts to duplicate, using a
92 % \texttt{.pdf} available from \textit{The Academy} website as the
93 % model. This format has various functions, amongst which is a
94 % gate-keeping function to show you have at least a first idea.
95 % It also gives readers a better chance of assessing how long,
96 % in filmic terms, your screenplay would be. Formatted along
97 % the lines recommended, you should aim to have your screenplay
98 % in the region of 120 pages long. Although they say A4
99 % paper is acceptable, it is widely held that you severely
100 % handicap yourself if you don't use American 8.5" by 11"
101 % Letter size paper. I have a ream on my lap as I type: 20
102 % pound, 106 bright, acid free. My sister brought it from
103 % America for me---it's very expensive to buy outside the US
104 % and not easy to find. One might imagine it's at the
105 % photocopy stage that dealing with A4 in America becomes
106 % a nuisance---one more reason to put your magnum opus
107 % to the bottom of the pile.
108 %
109 % Of course, if you didn't know this already you likely
110 % need to do some serious reading and research \emph{before}
111 % you start writing. I guess trying to understand what's
112 % going on here is a start.
113 %
114 % The format specifications are pretty straightforward.
115 % You'll have to believe me when I say it wasn't quite so
116 % straightforward for me to start from a minimal understanding
117 % of \TeX\ and \LaTeXe\ to a usable \texttt{.dtx} file.
118 %
119 % This is an attempt to turn \TeX\ into a typewriter emulator.
120 % A crazy idea---which is why it appealed to me, obviously.
121 % Fortunately I'm easily entertained.
122 %
123 % I hope \texttt{screenplay.dtx} proves of use (and
124 % instruction) to others as it has to me.
125 %
126 % Anyhoo, on with the show\dots
127 % \pagebreak
128 % \section{Getting started}
129 %
130 % You should have:
131 % \begin{itemize}
132 % \item\texttt{README}---plain text file
133 % \item\texttt{screenplay.dtx}---the source file
134 % \item\texttt{screenplay.ins}---driver file
135 % \item\texttt{screenplay.pdf}---the file I assume you're reading right now
136 % \item\texttt{test.pdf}---format test \texttt{.pdf} result
137 % \item\texttt{COPYING}---GNU General Public License
138 % \end{itemize}
139 %
140 % If not, get \texttt{screenplay.zip} via, \\
141 % \href{http://dvc.org.uk/sacrific.txt/screenplay.zip}%
142 % {\texttt{http://dvc.org.uk/sacrific.txt/screenplay.zip}}
143 %
144 % Use the command, \\
145 % \texttt{> latex screenplay.ins} \\
146 % to generate from \texttt{screenplay.dtx}\dots
147 % \begin{itemize}
148 % \item\texttt{screenplay.cls}---class file
149 % \item\texttt{hardmarg.sty}---optional style package
150 % \item\texttt{example.tex}---example (very) mini-screenplay
151 % \item\texttt{test.tex}---format test source file
152 % \end{itemize}
153 %
154 % Once you've unpacked the bundle and generated the \texttt{class}
155 % file do, \\
156 % \texttt{> latex test} \\
157 % to generate the \texttt{test.dvi} you can compare with the
158 % \texttt{test.pdf}.
159 %
160 % Make sure everything in the printing chain can deal properly
161 % with 8.5ins by 11ins Letter paper. Print out your
162 % version of \texttt{test} and the provided \texttt{test.pdf}
163 % (on Letter paper of course!) and compare them. The two
164 % printouts should be dimensionally identical. The left margin
165 % should measure as \emph{exactly} 1.5ins. If not you have
166 % an old version of \texttt{dvips} and/or your printer driver
167 % is configured incorrectly and you'll need to fix things before
168 % you proceed further.
169 %
170 % \section{Some example markup}
171 %
172 % Although \texttt{screenplay.cls} builds on the standard \TeX\ document
173 % class \texttt{article}, it is not intended you pass it any options
174 % (except for the release date specification, see below).
175 % The formatting required is minimalist. \texttt{screenplay.cls} will
176 % issue an error message if you use any options.
177 %
178 % |\documentclass{screenplay}[2012/06/30]| \\
179 % is your first command, you can give the optional date argument in
180 % case of any earlier copies of \texttt{screenplay.cls} lying around.
181 %
182 % You are now in the \textit{document preamble} where you should
183 % initialise the values of some commands.
184 %
185 % You must define the title of the screenplay\ldots\\
186 % |\title{The Title of Your Opus}| \\
187 % \ldots it will be uppercased automagically so don't fuss.
188 % If it's for the \textit{Nicholl Competition} you're done.
189 % However, you may as well also initialise\ldots \\
190 % |\author{Your Name}| \\
191 % \ldots capitalised as in ordinary writing, it's not munged
192 % in the typesetting, and\ldots\\
193 % |\address{99 Any Street \\| \\
194 % |Any Town \\ Postcode / Zip \\| \\
195 % |Phone \\| \\
196 % |email@whereami }| \\
197 % \ldots which you will need for a ``proper'' title page.
198 %
199 % The preamble is closed, of course, by\ldots\\
200 % |\begin{document}|
201 %
202 % The first typesetting command, in the body of the document, should
203 % be one to build the title page.
204 % For the \textit{Nicholl Competition} this is |\nicholl|,
205 % \emph{alternatively} for the style used when submitting to
206 % an Agent, etc.\ use |\coverpage| (which uses your address
207 % and name from the preamble).
208 %
209 % The first thing you need to see in your screenplay is
210 % FADE~IN: left justified with a blank line underneath.
211 % Screenplays always start this way, because they do. You deploy
212 % the |\fadein| command for this.
213 %
214 % Next would typically be a slugline, \\
215 % |\intslug[day]{Johnny's House}| \\
216 % which would produce\ldots \\
217 % INT.~JOHNNY'S HOUSE \quad DAY
218 %
219 % I made the time of day optional because my screenplay had
220 % stuff happening in space where there is no time of
221 % day. You will likely \emph{always} use either \textit{day}
222 % or \textit{night}. (Refer to \textit{The Academy's} information
223 % on formatting.) Likewise there's an |\extslug[]{}| for EXT.
224 %
225 % After a slugline you would typically have some description. This
226 % is simply ordinary text with paragraph breaks as per usual.
227 %
228 % When you get to dialogue, you have the |dialogue environment|.
229 %
230 % |\begin{dialogue}{Johnny}| |After| |some| |description| |you|\\
231 % |would| |typically| |have|\quad |some| |dialogue.| |\end{dialogue}|
232 %
233 % Directions (short) can be put inside dialogue text either as an optional
234 % argument to the dialogue environment, |\begin{dialogue}[shouting]{Johnny}|
235 % which will result in parenthesized text below the dialogue name, or
236 % the |\paren{}| command can be used to put parentheticals into the
237 % blocks of dialogue text.
238 %
239 % Do not put any blank lines in dialogue text.
240 %
241 % So you wander on with your screenplay requiring little in the
242 % way of \LaTeXe's powers until you reach the end of the
243 % final scene. Personally I use \texttt{Elvis} with a selection
244 % of macros in my \texttt{.exrc} to save me having to type the
245 % commands I've invented.
246 %
247 % The command at the end of the final scene is always
248 % |\fadeout| to produce the words FADE~OUT: flushright.
249 %
250 % Then it's simply a case of |\theend| and |\end{document}|.
251 %
252 % \changes{1.2.7}{2006 Nov 15}{revision to documentation}
253 % The only tricky part of the formatting is deciding where to
254 % put any \emph{pagebreaks} that are required to help \TeX\ out
255 % with formatting.
256 %
257 % \textbf{Do not put in pagebreaks until you have really, really,
258 % really finished editing.}
259 %
260 % The bottom margin should be between a half and one and a half inches.
261 % \texttt{screenplay} will format pages avoiding breaks in blocks of
262 % dialogue or titleover passages, will not widow sluglines or ``TITLE
263 % OVER'' headers.
264 %
265 % Putting in manual pagebreaks will likely involve using the |\dialbreak|
266 % command, though for description text |\pagebreak| is all that
267 % is required.
268 %
269 % The |\dialbreak| command needs to know the character name and any
270 % optional directions as required.
271 %
272 % If you've used the |\titleover environment| you may
273 % need the |\titbreak| command (more tea, vicar?). However, mostly
274 % for TITLE OVER: you'll be doing a date to accommodate flash\-backs
275 % or flash\-forwards, I expect, so use the |\centretitle| command
276 % as in\\
277 % |\centretitle{December 21, 2012}|.\\
278 % Yes, that's the English (or for that matter French and Canadian)
279 % ``centre'' not ``center'' in a stunning break from tradition.
280 %
281 % For further enlightenment, you should scrutinise the markup of
282 % \texttt{example.tex} and peruse \textbf{The Coding}
283 % section of this document where other useful commands may
284 % be found.
285 %
286 % Here are lists of the \texttt{screenplay} commands you should
287 % familiarise yourself with.
288 %
289 % For the title page\ldots
290 % \begin{itemize}
291 % \item |\title{}|
292 % \item |\author{}|
293 % \item |\realauthor{}|
294 % \item |\address{}|
295 % \item |\agent{}|
296 % \item |\coverpage|
297 % \item |\nicholl|
298 % \end{itemize}
299 %
300 % In your screenplay text\ldots
301 % \begin{itemize}
302 % \item |\fadein|
303 % \item |\intslug[]{}|
304 % \item |\extslug[]{}|
305 % \item |\intextslug[]{}|
306 % \item |\extintslug[]{}|
307 % \item |\begin{dialogue}[]{}| \ldots\ |\end{dialogue}|
308 % \item |\paren{}| (for use inside dialogue environment);
309 % \item |\dialbreak[]{}| for pagebreak in dialogue environment;
310 % \item |\begin{titleover}| \ldots\ |\end{titleover}|
311 % \item |\titbreak| for pagebreak in titleover environment;
312 % \item |\centretitle{}|
313 % \item |\intercut| gives ``INTERCUT~WITH:'' flushright;
314 % \item \verb*|\pov\ | gives ``P.O.V.'' as a ``word'' (n.b.\
315 % the \verb*| | symbol denotes a space);
316 % \item \verb*|\revert\ | gives ``REVERSE~P.O.V.'' as a ``word'';
317 % \item |\fadeout|
318 % \item |\theend|
319 % \end{itemize}
320 % (|\fadeout| and |\fadein| should not be confused with ``FADE~TO:''
321 % which is, IMHO, unnecessary in a Draft Screenplay.)
322 %
323 % You can see a completed screenplay marked-up via \LaTeXe\ and
324 % typeset with the latest revision of \texttt{screenplay.cls}
325 % at \href{http://dvc.org.uk/sacrific.txt/}%
326 % {\texttt{http://dvc.org.uk/sacrific.txt/}}.
327 % There is also, at time of writing, a ``work-in-progress''
328 % uncompleted screenplay that has not had manual pagebreaks inserted.
329 %
330 % \section{Hard Margins package}
331 % \changes{1.0.9}{2006 Oct 06}{added \texttt{hardmarg.sty}, v1.502}
332 % \changes{1.2.6}{2006 Nov 10}{revision to documentation, v1.533}
333 %
334 % Here we're emulating a typewriter. On a typewriter, the
335 % left margin is a hard stop, whereas the right margin was
336 % signified by a bell warning you to to hit the carriage return
337 % (those of us who typed in the stone age well remember that
338 % ``ding''). Even the best typist (let alone me) would hit the
339 % margin release and run past the right margins by a character
340 % or two once in a while, sometimes deliberately. Hence the
341 % ``fudge factors'' interpolated by me, which in days of yore
342 % would perhaps have been referred to as the \textit{gutter}.
343 %
344 % The provided \texttt{hardmarg.sty} shows you what happens
345 % with the \textit{fudge factors} eliminated. Place the command
346 % |usepackage{hardmarg}| in the document preamble
347 % (i.e.\ between |\documentclass{|\ldots|}| and |\begin{document}|)
348 % and judge for yourself. Personally I'll stick with my
349 % \textit{fudge}. All the brain-work makes me crave carbs anyway.
350 % But if you want then use it to fix your screenplay to tighter
351 % margins, or perhaps compose an amended version to give your
352 % interpretation of ``the standard.''
353 %
354 % \section{User customisation}
355 %
356 % \emph{\textbf{Don't!}} It really is a case of KISS for Draft
357 % Screenplay formatting. The margins are already ``relaxed,''
358 % unless you use \texttt{hardmarg.sty}. There are a few things
359 % you might get away with though\ldots
360 %
361 % You may want to change how the time of day is spaced from the
362 % rest of the slugline. You can do this without editing the
363 % class file by redefining the |\slugspace| command
364 % e.g.\ |\renewcommand*{\slugspace}{ - }|
365 % which will change the default 3em space to |em hyphen em| spacing.
366 % Likewise you could |\renewcommand*{\pov}{POV}| to lose the dots.
367 % If for some strange reason you don't like \textit{The Academy's} use
368 % of uppercase for (MORE) and (CONT'D) you can |\renewcommand*| the
369 % |\more| and |\contd| macros.
370 %
371 % Should you not want page number~1 to appear on the first page
372 % of the body of the screenplay put the |\thispagestyle{empty}| command
373 % in your document source file immediately \emph{after} the command
374 % to build the title page.
375 %
376 % Likely, in the usual \LaTeXe\ fashion, you should develop your own
377 % style package depending on what conventions you want to use.
378 % If you feel you must, the lengths/widths and texts used are defined
379 % as macros you can redefine in your own style packages without having
380 % to amend the |class| file---refer to \textbf{The Coding}.
381 %
382 % \changes{1.2.9}{2012 Jun 30}{fixed URLs}
383 % \section{Specs from \textit{The Academy}}
384 %
385 % Be sure to read, carefully, and inwardly digest and re-read, \\
386 % \href{http://www.oscars.org/awards/nicholl/resources.html}%
387 % {\texttt{http://www.oscars.org/awards/nicholl/resources.html}} \\
388 % and, \\
389 % \href{http://www.oscars.org/awards/nicholl/scriptsample.pdf}%
390 % {\texttt{http://www.oscars.org/awards/nicholl/scriptsample.pdf}}, \\
391 % (the model document).
392 %
393 % \begin{itemize}
394 % \item 20lb Letter paper (8.5"x11.0") \\*
395 % Courier 12pt, 10 pitch
396 %
397 % \item\textbf{Page} \\*
398 % Top margin: 1.0" \\*
399 % Bottom margin: 0.5"-1.5" \\*
400 % Left margin: 1.5" \\*
401 % Right margin: 1.0"
402 %
403 % \item\textbf{Dialogue} \\*
404 % tab NAME to: 4.2" \\*
405 % Left margin: 3.0" \\*
406 % Right margin: 2.5" \\*
407 % \textsl{Parenthetical} \\*
408 % Left margin: 3.7" \\*
409 % Right margin: 3.3"
410 %
411 % \item\textbf{Numbering} \\*
412 % top right, Arabic \\*
413 % Top margin: 0.5" \\*
414 % Right margin: 0.75"
415 % \end{itemize}
416 %
417 % INT/EXT. SLUG LINE DESCRIPTION \quad DAY/NIGHT \nopagebreak \\
418 % (with some kind of extra spacing before time of day)
419 %
420 % \StopEventually{\PrintIndex\PrintChanges}
421 %
422 % \section{The Coding}
423 % \changes{1.0.8}{2006 Oct 02}{minor format fix, v1.500}
424 % \changes{1.1.0}{2006 Oct 08}{minor code changes, v1.503}
425 % \changes{1.1.1}{2006 Oct 08}{minor code changes, v1.504}
426 % \changes{1.1.5}{2006 Oct 19}{minor code changes, revision to
427 % comments, v1.511}
428 % \changes{1.2.0}{2006 Nov 04}{minor code, documentation, changes, v1.521}
429 % \changes{1.2.3}{2006 Nov 07}{revisions to macros (code cleanups)}
430 % \changes{1.2.7}{2006 Nov 15}{revisions (bugfixes) to macros, v1.535}
431 %
432 % \texttt{screenplay.cls v1.538} was tested with\ldots
433 % \begin{itemize}
434 % \item pdfe\TeX\ 3.141592-1.21a-2.2 (\Web2C\ 7.5.4)
435 % \item \texttt{dvips(k)} 5.95a
436 % \item \texttt{kpathsea} version 3.5.4
437 % \item \texttt{article} 2004/02/16 v1.4f
438 % \end{itemize}
439 %
440 %\iffalse
441 %<*class>
442 %\fi
443 % We are a \LaTeXe\ thang\ldots
444 % \begin{macrocode}
445 \NeedsTeXFormat{LaTeX2e}[2003/12/01]
446 % \end{macrocode}
447 % Say it like it is\ldots
448 % \begin{macrocode}
449 \ProvidesClass{screenplay}[2012/06/30 v1.6
450 LaTeX2e Draft Screenplay document class
451 (C)2006 John Pate
452 released under the GNU General Public License]
453 % \end{macrocode}
454 % Whinge if the user is being a bozo\ldots
455 % \begin{macrocode}
456 \DeclareOption*{%
457 \PackageError{screenplay}{Unwanted option '\CurrentOption'}%
458 {There are no options available for class screenplay v1.538}}
459 \ProcessOptions\relax
460 % \end{macrocode}
461 % |ifthen| needed for testing for optional args\ldots
462 % \begin{macrocode}
463 \RequirePackage{ifthen}[2001/05/26]
464 % \end{macrocode}
465 % Use \texttt{article} class for its base functionality,
466 % \emph{must} be
467 % American Letter paper \emph{not} A4, \texttt{screenplay.cls}
468 % eats any papersize options and ignores them\ldots
469 % \begin{macrocode}
470 \LoadClass[12pt,letterpaper,onecolumn,oneside]{article}[2004/02/16]
471 % \end{macrocode}
472 % \texttt{geometry} package puts marks in to suggest to dvi interpretors
473 % to do the right thang for Letter paper\ldots
474 % \begin{macrocode}
475 \RequirePackage[dvips,letterpaper]{geometry}[2002/07/08]
476 % \end{macrocode}
477 % \ldots and make sure your printer driver (which means
478 % \textit{Ghostscript} in my case) knows Letter.
479 % I say again, you \emph{must} use American 8.5"x11" Letter
480 % paper---stationers in the UK may call it ``US Quarto'' if they've
481 % even heard of it, see\ldots\\
482 % \href{http://www.gwydir.demon.co.uk/jo/units/print.htm}%
483 % {\texttt{http://www.gwydir.demon.co.uk/jo/units/print.htm}}
484 % \begin{macrocode}
485 \setlength{\paperheight}{11in}
486 \setlength{\paperwidth}{8.5in}
487 % \end{macrocode}
488 %
489 % \emph{Must} have \texttt{Courier} as font (may cause warnings about
490 % font stuff, ignore)\ldots
491 % \begin{macrocode}
492 \RequirePackage{courier}[2004/09/15]
493 \renewcommand*{\familydefault}{\ttdefault}
494 % \end{macrocode}
495 % You should \emph{not} hyphenate or full justify for Nicholl format\ldots
496 % \begin{macrocode}
497 \raggedright
498 % \end{macrocode}
499 % \begin{macro}{Page Nums}
500 % Arabic top right, I'll live with where \TeX\ puts the margin\ldots
501 % \begin{macrocode}
502 \pagenumbering{arabic}
503 \pagestyle{myheadings}
504 % \end{macrocode}
505 % (You can force the page numbers out towards the right with \\
506 % |\markright{\hspace*{6.2in}}| \\
507 % in the document preamble, at the cost of `|Overfull hbox|' warnings,
508 % if you like.)
509 % \end{macro}
510 % \begin{macro}{CR/LF}
511 % Line spacing / pitch---it looks to me the standard
512 % \LaTeXe\ \texttt{courier} font is correct pitch,
513 % 12pt skip is what's in \texttt{scriptsample.pdf}\ldots
514 % \begin{macrocode}
515 \setlength{\baselineskip}{12pt plus 0pt minus 0pt}
516 % \end{macrocode}
517 % and this |\baselinestretch| appears to emulate \texttt{scriptsample.pdf}
518 % closely and, more importantly, measures up as matching the effect
519 % of the |\baselineskip| value---it matches what \textit{Movie Magic
520 % Screenwriter} does, for instance\dots
521 % \begin{macrocode}
522 \renewcommand*{\baselinestretch}{0.8}
523 % \end{macrocode}
524 % \textit{vspace} adjustment in |\minipage| and |\parbox| in dialogue
525 % to correct line spacing, should likely be adjusted if
526 % |\baselinestretch| is altered for some (crazy) reason\ldots
527 % \changes{1.1.3}{2006 Oct 16}{minor format fix, v1.508}
528 % \begin{macrocode}
529 \newcommand*{\dialfix}{\vspace{2pt}}
530 % \end{macrocode}
531 % skip one line between paras\ldots
532 % \begin{macrocode}
533 \setlength{\parskip}{\baselineskip}
534 % \end{macrocode}
535 % no paragraph indent\ldots
536 % \begin{macrocode}
537 \setlength{\parindent}{0in}
538 % \end{macrocode}
539 % \end{macro}
540 % \begin{macro}{\slugspace}
541 % Extra inter-word spacing in sluglines\ldots
542 % \begin{macrocode}
543 \newcommand*{\slugspace}{\hspace{2.0em plus 0em minus 0em}}
544 % \end{macrocode}
545 % (will result in a total of |3em| space). See also, |\placesep| and
546 % |\sepintext|, below.
547 % \end{macro}
548 % \begin{macro}{Margins/tabs}
549 % \changes{1.1.4}{2006 Oct 17}{minor code changes, revision to documentation, v1.509}
550 % See specs,
551 % fudge factors (i.e.\ a ``gutter'') are needed to resemble
552 % the ``correct'' layout---take a ruler to it and \texttt{scriptsample.pdf}.
553 %
554 % 0.1" represents |1 em| in \texttt{courier} 12pt 10 pitch.
555 % \begin{macro}{left margin}
556 % 1.5", default 1" +
557 % \begin{macrocode}
558 \setlength{\evensidemargin}{0.5in}
559 \setlength{\oddsidemargin}{0.5in}
560 % \end{macrocode}
561 % \end{macro}
562 % \begin{macro}{top margin}
563 % 0.5" to number, 1" to body\ldots
564 % \begin{macrocode}
565 \setlength{\topmargin}{-0.5in}
566 \setlength{\headsep}{0.4in}
567 \setlength{\topskip}{0in}
568 % \end{macrocode}
569 % \end{macro}
570 % \begin{macro}{bottom margin}
571 % 11" - (1" top margin) - (0.5" bottom) =
572 % \begin{macrocode}
573 \setlength{\textheight}{9.5in}
574 % \end{macrocode}
575 % \ldots bottom can go to 1.5" for page breaking purposes.
576 % \end{macro}
577 % \begin{macro}{right margin}
578 % 6" width for description text to give 1" right margin, +0.1" fudge\ldots
579 % \begin{macrocode}
580 \setlength{\textwidth}{6.0in}
581 \newlength{\widthgutter}
582 \setlength{\widthgutter}{0.1in}
583 \addtolength{\textwidth}{\widthgutter}
584 % \end{macrocode}
585 % (later on, we must adjust centring and flush right to the ``correct''
586 % margin by subtracting |\widthgutter|).
587 % \end{macro}
588 %
589 % \textbf{Tabbing / spacing dialogues}\\
590 % Width of dialogue text, 3" with 0.2" fudge\ldots
591 % \begin{macrocode}
592 \newlength{\dialwidth}
593 \setlength{\dialwidth}{3.0in}
594 \newlength{\dialgutter}
595 \setlength{\dialgutter}{0.2in}
596 \addtolength{\dialwidth}{\dialgutter}
597 % \end{macrocode}
598 % 3" from left edge of page (1.5" left margin + 1.5")\ldots
599 % \begin{macrocode}
600 \newcommand*{\dialtab}{\hspace*{1.5in}}
601 % \end{macrocode}
602 % \textbf{name}, tab in 4.2" (margin + |\dialtab| + |\dialnametab|)
603 % from left edge of page\ldots
604 % \begin{macrocode}
605 \newcommand*{\dialnametab}{\hspace*{1.2in}}
606 % \end{macrocode}
607 % parenthetical 1.5" with 0.2" fudge\ldots
608 % \begin{macrocode}
609 \newlength{\parenwidth}
610 \setlength{\parenwidth}{1.5in}
611 \addtolength{\parenwidth}{\dialgutter}
612 % \end{macrocode}
613 % parenthetical, tab in 3.7" (margin + |\dialtab| + |\parentab|)
614 % from left edge of page\ldots
615 % \begin{macrocode}
616 \newcommand*{\parentab}{\hspace{0.7in}}
617 % \end{macrocode}
618 %
619 % AFAICS floats not involved\ldots
620 % \begin{macrocode}
621 \renewcommand*{\textfraction}{1}
622 \renewcommand*{\topfraction}{0}
623 \renewcommand*{\bottomfraction}{0}
624 % \end{macrocode}
625 % \end{macro}
626 % \begin{macro}{Title Pages}
627 % \changes{1.1.8}{2006 Nov 01}{revisions to title page build,
628 % documentation, v1.517}
629 % \changes{1.1.9}{2006 Nov 03}{minor revision to title page build, v1.518}
630 % \changes{1.2.2}{2006 Nov 06}{minor revisions to title page code, v1.526}
631 % \changes{1.2.3}{2006 Nov 07}{revisions to title page code comments, v1.530}
632 % Use one of |\nicholl| or |\coverpage| to taste.
633 % This should be the first typesetting command after |\begin{document}|,
634 % presuming you want \texttt{screenplay} to generate a title page for you.
635 % \begin{macro}{\title}
636 % |\title{The Title}| with |\\| if you feel you must.\\
637 % The code is already defined in the |article| class, here I
638 % helpfully set a default title in case you can't decide\ldots
639 % \begin{macrocode}
640 \title{My First Screenplay}
641 % \end{macrocode}
642 % \end{macro}
643 % \begin{macro}{\titheadskip}
644 % Distance down from top of page for title\ldots
645 % \begin{macrocode}
646 \newlength{\titheadskip}
647 \setlength{\titheadskip}{2.25in}
648 % \end{macrocode}
649 % \end{macro}
650 % \begin{macro}{\nicholl}
651 % For Nicholl Competition---just the title\ldots
652 % \begin{macrocode}
653 \newcommand{\nicholl}{
654 \thispagestyle{empty}
655 \vspace*{\titheadskip}
656 \begin{center}\MakeUppercase{\@title}\end{center}
657 \newpage\setcounter{page}{1}
658 }
659 % \end{macrocode}
660 % \end{macro}
661 % \begin{macro}{\author}
662 % |\author{Author Details}| \\
663 % The code is already defined in the |article| class, here
664 % I helpfully define a default author in case you can't decide\ldots
665 % \begin{macrocode}
666 \author{Alan Smithee}
667 % \end{macrocode}
668 % \end{macro}
669 % \begin{macro}{\realauthor}
670 % |\realauthor{Your Name}| with no formatting code. \\
671 % This is for when you've used a pseudonym for |\author{}|, or
672 % if there are multiple authors and/or formatting code in |\author{}|.
673 % It's used by |\coverpage| when typesetting the ``author's address
674 % details.'' It will default to the whatever is set as |\author{}|
675 % if you don't set it\ldots
676 % \begin{macrocode}
677 \newcommand{\@realauthor}{\@author}
678 \newcommand{\realauthor}[1]{\renewcommand{\@realauthor}{#1}}
679 % \end{macrocode}
680 % \end{macro}
681 % \begin{macro}{\address}
682 % |\address{Contact Address}| (\emph{without} name) with |\\| as
683 % appropriate.\\
684 % Your address details for the title page\ldots
685 % \begin{macrocode}
686 \newcommand{\@address}{Contact via Agency}
687 \newcommand{\address}[1]{\renewcommand{\@address}{#1}}
688 % \end{macrocode}
689 % \ldots see also\ldots
690 % \end{macro}
691 % \begin{macro}{\agent}
692 % |\agent{Agent name and address details}| with |\\| as appropriate. \\
693 % Some people like to put copyright and WGA registration
694 % details on their submitted screenplays---although the received
695 % wisdom is that this marks you as an amateur, you can use
696 % this macro.
697 %
698 % I'm calling this |\agent{}| to pretend you're putting
699 % your Agent's details instead of your own address---hence
700 % if you don't define |\address{}| (and use |\coverpage|) you'll
701 % get the boilerplate text ``Contact via Agency'' under the
702 % name in the ``author's address details'' area. What
703 % you would do is omit your own contact details and only have your
704 % Agent's address (you could define |\realauthor{}| and |\address{}|
705 % as a non-printing character, e.g.\ |~|, to make your contact
706 % details blank if you like). Putting this the other side of
707 % the page makes it immediately clear what's who. No really,
708 % there's no need to use this \emph{unless} you're with an
709 % agency but it's your screenplay\dots
710 % \begin{macrocode}
711 \newcommand{\@agent}{~}
712 \newcommand{\agent}[1]{\renewcommand{\@agent}{#1}}
713 % \end{macrocode}
714 % \end{macro}
715 % \begin{macro}{\titskip}
716 % Determines how far down below the title the extra info
717 % on the title page is written.
718 % You may have to adjust the |\titskip| if you put in
719 % a lot of text for |\address| and/or |\agent| but if you do
720 % there's probably too much---it's a rubber length\ldots
721 % \begin{macrocode}
722 \newlength{\titskip}
723 \setlength{\titskip}{3.75in plus 0in minus 1.5in}
724 % \end{macrocode}
725 % \end{macro}
726 % \begin{macro}{\addrwidth}
727 % Size of boxes for |\agent| and |\realname|/|\address|
728 % (19 characters wide at 2")\ldots
729 % \begin{macrocode}
730 \newlength{\addrwidth}
731 \setlength{\addrwidth}{2.0in}
732 % \end{macrocode}
733 % \end{macro}
734 % \begin{macro}{\addrseplen}
735 % \changes{1.2.1}{2006 Nov 05}{minor revision to title page code, v1.523}
736 % Separation between Agent and author/address details, rubber to
737 % allow for possible use of |hardmarg.sty|\ldots
738 % \begin{macrocode}
739 \newlength{\addrseplen}
740 \setlength{\addrseplen}{2.0in plus 0in minus 0.5in}
741 % \end{macrocode}
742 % \end{macro}
743 % \begin{macro}{\coverpage}
744 % Now the ability to make the the type of title page for
745 % Draft Screenplays submitted to Agents\ldots
746 % \begin{macro}{\bytext \byskip}
747 % \changes{1.2.4}{2006 Nov 08}{revisions to title page code, v1.531}
748 % In case you want to fiddle with this\ldots
749 % \begin{macrocode}
750 \newcommand*{\bytext}{by}
751 \newcommand*{\byskip}{\baselineskip}
752 % \end{macrocode}
753 % \end{macro}
754 % |\coverpage| will build a title page\ldots
755 % \begin{macrocode}
756 \newcommand{\coverpage}{
757 \thispagestyle{empty}
758 \vspace*{\titheadskip}
759 \begin{center}{\MakeUppercase{\@title}}\\
760 \vspace{\byskip}
761 \bytext\\
762 \vspace{\byskip}
763 \@author
764 \end{center}
765 \vspace{\titskip}
766 % \end{macrocode}
767 % |\agent| (if any, otherwise |\addrwidth| space) details at left margin in
768 % a |\parbox|, |\addrseplen| space then contact details for the author
769 % (|\realname|, which will default to |\author| if not defined, and |\address|)
770 % in a |\parbox|\ldots
771 % \begin{macrocode}
772 \parbox[t]{\addrwidth}{\@agent}\hspace{\addrseplen}
773 \parbox[t]{\addrwidth}{\@realauthor\\\@address}
774 % \end{macrocode}
775 % Reset page numbers\ldots
776 % \begin{macrocode}
777 \newpage\setcounter{page}{1}
778 }
779 % \end{macrocode}
780 % \end{macro}
781 % End title page---author details
782 % \end{macro}
783 % \begin{macro}{\more \contd}
784 % \changes{1.1.6}{2006 Oct 22}{minor code changes, revision to
785 % documentation, v1.512}
786 % \textbf{More and Continued.} You may want to use these
787 % macros if you feel it's necessary to follow what appears to
788 % be the ``older'' style where they aren't only used for
789 % pagebreaks\ldots
790 % \begin{macrocode}
791 \newcommand*{\more}{(MORE)}
792 % \end{macrocode}
793 % \begin{macrocode}
794 \newcommand*{\contd}{(CONT'D)}
795 % \end{macrocode}
796 % \end{macro}
797 % \textbf{Dialogue blocks}\ldots
798 % \begin{macro}{\paren}
799 % \changes{1.2.8}{2006 Nov 15}{bugfix}
800 % |\paren{hello world}| \\
801 % parenthetical within dialogue environment\ldots
802 % only for \emph{very short} text (directions) within
803 % dialogue\ldots
804 % \begin{macrocode}
805 \newcommand{\paren}[1]{%
806
807 \parentab\parbox[t]{\parenwidth}{\raggedright(#1)\dialfix}\\
808 }
809 % \end{macrocode}
810 % \end{macro}
811 % \begin{macro}{dialogue env}
812 % |\begin{dialogue}[directions]{character name}| \ \ldots\ |\end{dialogue}|\\
813 % |\begin{dialogue}{character name}| \ \dots\ |\end{dialogue}|\\
814 % |\minipage| won't allow pagebreaks, see below for new manual
815 % pagebreak command for this environment. Do \emph{not} have blank lines
816 % inside this environment.
817 % \textbf{Name} is outside |\minipage| to mitigate `|Overfull \hbox|'
818 % warnings with long names\ldots
819 % \begin{macrocode}
820 \newenvironment{dialogue}[2][]{%
821
822 \dialtab\dialnametab\hbox{\MakeUppercase{#2}}\\*
823 \dialtab\begin{minipage}[b]{\dialwidth}
824 \dialfix
825 \raggedright
826 \ifthenelse{\not\equal{#1}{}}
827 {
828 \paren{#1}
829 }{}
830 }{%
831 \end{minipage}
832
833 }
834 % \end{macrocode}
835 % \end{macro}
836 % \begin{macro}{\dialbreak}
837 % \changes{1.2.8}{2006 Nov 15}{bugfix}
838 % Forcing pagebreak in dialogue,\\
839 % |\dialbreak{Character}| \\
840 % |\dialbreak[directions]{Character}|\\
841 % (need to know character name---\LaTeXe\ scoping rules don't
842 % seem to like global vars, somebody tell me otherwise)
843 % \emph{Note:}
844 % only do any manual pagebreaks when you absolutely positively
845 % have killed every muthafucka in the room!\dots
846 % \begin{macrocode}
847 \newcommand{\dialbreak}[2][]{%
848 \nopagebreak
849 \dialnametab\hbox{\more}%
850 \end{dialogue}
851 \newpage
852 \ifthenelse{\not\equal{#1}{}}
853 {
854 \begin{dialogue}[#1]{\MakeUppercase{#2} \contd}
855 }{
856 \begin{dialogue}{\MakeUppercase{#2} \contd}
857 }
858 }
859 % \end{macrocode}
860 % \end{macro}
861 % \textbf{Sluglines}\\
862 % Optional arg for night/day.
863 % You probably should not consider time of day optional when
864 % you're writing descriptions---unless you're in a spaceship,
865 % of course\ldots
866 % \begin{macro}{\placesep}
867 % What punctuation/spacing comes after the likes of INT and EXT\ldots
868 % \begin{macrocode}
869 \newcommand*{\placesep}{.~}
870 % \end{macrocode}
871 % \end{macro}
872 % \begin{macro}{\slug} internal command used for building
873 % the various user commands\ldots
874 % \begin{macrocode}
875 \newcommand{\slug}[3][]{%
876
877 \MakeUppercase{#2\placesep#3}%
878 \ifthenelse{\not\equal{#1}{}}
879 {%
880 \slugspace\MakeUppercase{#1}\hspace{\fill}
881 }{}
882 \nopagebreak
883
884 }
885 % \end{macrocode}
886 % \end{macro}
887 % \begin{macro}{\intslug}
888 % INT. SLUGLINE DESCRIPTION \quad DAY\\
889 % |\intslug[time of day]{description text}|\\
890 % |\intslug{description text}|
891 % \begin{macrocode}
892 \newcommand*{\inttext}{INT}
893 \newcommand{\intslug}[2][]{\slug[#1]{\inttext}{#2}}
894 % \end{macrocode}
895 % \end{macro}
896 % \begin{macro}{\extslug}
897 % EXT. SLUGLINE DESCRIPTION \quad DAY\\
898 % |\extslug[time of day]{description text}| \\
899 % |\extslug{description text}|
900 % \begin{macrocode}
901 \newcommand*{\exttext}{EXT}
902 \newcommand{\extslug}[2][]{\slug[#1]{\exttext}{#2}}
903 % \end{macrocode}
904 % \end{macro}
905 % \begin{macro}{\sepintext}
906 % Complementary to |\placesep|\ldots
907 % \begin{macrocode}
908 \newcommand*{\sepintext}{./}
909 % \end{macrocode}
910 % \end{macro}
911 % \begin{macro}{\intextslug}
912 % Apparently people do this\dots \\
913 % INT./EXT. SLUGLINE DESCRIPTION \quad DAY\\
914 % |\intextslug[time of day]{description text}| \\
915 % |\intextslug{description text}|
916 % \begin{macrocode}
917 \newcommand{\intextslug}[2][]{%
918 \slug[#1]{\inttext\sepintext\exttext}{#2}}
919 % \end{macrocode}
920 % \end{macro}
921 % \begin{macro}{\extintslug}
922 % and/or this\dots \\
923 % EXT./INT. SLUGLINE DESCRIPTION \quad DAY\\
924 % |\extintslug[time of day]{description text}| \\
925 % |\extintextslug{description text}|
926 % \begin{macrocode}
927 \newcommand{\extintslug}[2][]{%
928 \slug[#1]{\exttext\sepintext\inttext}{#2}}
929 % \end{macrocode}
930 % \end{macro}
931 % \begin{macro}{\sccentre \scflushright}
932 % Internal formatting commands for various macros\ldots \\
933 % |\sccentre{}| used in macros todo centring, you should use this if rolling
934 % your own\ldots
935 % \begin{macrocode}
936 \newcommand*{%
937 \sccentre}[1]{\hspace*{\fill}{#1}\hspace{\fill}\hspace{\widthgutter}}
938 % \end{macrocode}
939 % |\scflushright{}| used in macros todo flushright, you should use this if rolling
940 % your own\ldots
941 % \begin{macrocode}
942 \newcommand*{%
943 \scflushright}[1]{\hspace*{\fill}{#1}\hspace{\widthgutter}}
944 % \end{macrocode}
945 % \end{macro}
946 % \begin{macro}{\punctchar}
947 % What you use to punctuate things like FADE~TO and TITLE~OVER\ldots
948 % \begin{macrocode}
949 \newcommand*{\punctchar}{:}
950 % \end{macrocode}
951 % \end{macro}
952 % \textbf{Title Over}
953 %
954 % \begin{macro}{titleover env}
955 % |\begin{titleover}| \ \ldots\ |\end{titleover}| \\
956 % as pseudo dialogue environment (think ``Star Wars'')
957 % the optional argument is for internal use \emph{only}\ldots
958 % \begin{macrocode}
959 \newcommand*{\titleovertext}{TITLE~OVER}
960 \newenvironment{titleover}[1][]{%
961
962 \ifthenelse{\not\equal{#1}{}}
963 {%
964 \titleovertext #1\punctchar
965 }{%
966 \titleovertext\punctchar
967 }%
968 \\*[\baselineskip]
969 \dialtab\begin{minipage}[b]{\dialwidth}
970 \raggedright
971 }{%
972 \end{minipage}
973
974 }
975 % \end{macrocode}
976 % \end{macro}
977 %
978 % \begin{macro}{\titbreak}
979 % \changes{1.2.8}{2006 Nov 15}{bugfix, v1.538}
980 % pagebreak for titleover environment\ldots
981 % \begin{macrocode}
982 \newcommand{\titbreak}{%
983 \nopagebreak
984 \dialnametab\hbox{\more}%
985 \end{titleover}
986 \newpage
987 \begin{titleover}[\contd]%
988 }
989 % \end{macrocode}
990 % \end{macro}
991 % \begin{macro}{\centretitle}
992 % |\centretitle| |{short text}| \\
993 % titleover for short text most often a date, centred with
994 % adjustment for gutter\ldots
995 % \begin{macrocode}
996 \newcommand{\centretitle}[1]{%
997
998 \titleovertext\punctchar\\*[\baselineskip]%
999 \sccentre{#1}
1000
1001 }
1002 % \end{macrocode}
1003 % \end{macro}
1004 % \textbf{Other macros}
1005 %
1006 % \begin{macro}{\fadein}
1007 % Always the \emph{first} thing in your screenplay, for some reason\ldots
1008 % \begin{macrocode}
1009 \newcommand*{\fadeintext}{FADE~IN}
1010 \newcommand{\fadein}{%
1011
1012 \fadeintext\punctchar
1013
1014 }
1015 % \end{macrocode}
1016 % \end{macro}
1017 % \begin{macro}{\fadeout}
1018 % Always the last thing in your screenplay, for some reason,
1019 % flush right with adjustment for gutter\ldots
1020 %
1021 % \begin{macrocode}
1022 \newcommand*{\fadeouttext}{FADE~OUT}
1023 \newcommand{\fadeout}{%
1024
1025 \scflushright{\fadeouttext\punctchar}
1026
1027 }
1028 % \end{macrocode}
1029 % \end{macro}
1030 % \begin{macro}{\intercut}
1031 % flush right with adjustment for gutter\ldots
1032 % \begin{macrocode}
1033 \newcommand*{\intercuttext}{INTERCUT~WITH}
1034 \newcommand{\intercut}{%
1035
1036 \scflushright{\intercuttext\punctchar}
1037
1038 }
1039 % \end{macrocode}
1040 % \end{macro}
1041 % \begin{macro}{\pov \revert}
1042 % \changes{1.1.7}{2006 Oct 25}{minor revisions, v1.516}
1043 % Switch point of view\ldots
1044 % \begin{macrocode}
1045 \newcommand*{\pov}{P.O.V.}
1046 % \end{macrocode}
1047 % \ldots switch it back\ldots
1048 % \begin{macrocode}
1049 \newcommand*{\revert}{REVERSE~\pov}
1050 % \end{macrocode}
1051 % \end{macro}
1052 %
1053 % \begin{macro}{\theend}
1054 % But this is what we've all been waiting for\ldots
1055 % OK, so this is actually the \emph{last} thing in the screenplay\ldots
1056 % \begin{macrocode}
1057 \newcommand*{\thirty}{THE~END}
1058 \newcommand{\theend}{%
1059
1060 \sccentre{\thirty}
1061
1062 }%THE END
1063 % \end{macrocode}
1064 % \end{macro}
1065 %\iffalse
1066 %</class>
1067 %\fi
1068 %\iffalse
1069 %<*hard>
1070 %\fi
1071 % \begin{macro}{hardmarg.sty}
1072 %
1073 % \textbf{Hard Margins package} \\
1074 % Re-defines margins to exactly as stated in \texttt{scriptsample.pdf}.
1075 % Try it out and see if you like it. Also shows you what
1076 % todo if you want to fiddle with some of the margin settings\ldots
1077 %
1078 % Issue info as to what we do\ldots
1079 % \begin{macrocode}
1080 \ProvidesPackage{hardmarg}[2012/06/30 v1.6
1081 For use with class screenplay
1082 (C)2006 John Pate
1083 released under the GNU General Public License]
1084 % \end{macrocode}
1085 % Hard 1" right margin\ldots
1086 % \begin{macrocode}
1087 \setlength{\textwidth}{6.0in}
1088 % \end{macrocode}
1089 % Flushright and centring use this, so eliminate it\ldots
1090 % \begin{macrocode}
1091 \setlength{\widthgutter}{0in}
1092 % \end{macrocode}
1093 % Set dialogue to 3" width, right margin 2.5"\dots
1094 % \begin{macrocode}
1095 \setlength{\dialwidth}{3.0in}
1096 % \end{macrocode}
1097 % Set parentheticals to 1.5" width, right margin 3.3"\ldots
1098 % \begin{macrocode}
1099 \setlength{\parenwidth}{1.5in}
1100 % \end{macrocode}
1101 % \end{macro}
1102 %\iffalse
1103 %</hard>
1104 %\fi
1105 %
1106 % \section{More about paper}
1107 % \changes{1.1.2}{2006 Oct 12}{revision to documentation, v1.507}
1108 %
1109 % Unless you're in America, getting Letter paper will be a problem.
1110 % Another issue is that the recommended 20lb weight paper is
1111 % equivalent to 75gsm, a non-standard weight for metric papers.
1112 % (Well, strictly speaking the Americans have defined their measures
1113 % using metric standards but let's not get into that.)
1114 % Americans have a 24lb weight paper that's close to 80gsm.
1115 % I've got samples of Letter in both 20lb and 80gsm. The same
1116 % screenplay, with the same card covers (240gsm plain white card)
1117 % measures 12mm vs 15mm in thickness. The 80gsm stuff is
1118 % noticeably heavier and thicker (less flexible).
1119 %
1120 % IMHO good quality 20lb is nicer in handling and you can very much
1121 % tell the difference. Old-style typing paper was usually pretty
1122 % thin for ``normal'' use.
1123 %
1124 % Copy Shops will cut down A3 paper to 8.5" by 11" for you but
1125 % whether they'll get you 75gsm weight is another matter. One
1126 % told me he could ``probably'' get 75gsm paper if I really
1127 % wanted it.
1128 %
1129 % Buying Letter paper mail order in the UK is very expensive and
1130 % I haven't seen American-style pound bond weights quoted---the
1131 % ``heavy'' paper I have was sourced in the UK as
1132 % XEROX PREMIER 216mm~x~279mm 80gsm.
1133 %
1134 % Another issue is that the paper must be three-hole punched. Specs
1135 % gleaned from the Internet suggest that Letter three-hole paper is
1136 % a central hole (i.e.\ 140mm down from the top edge) with the other
1137 % two holes 108mm up, and down, from that central hole. I'm hoping
1138 % to get some genuine three-hole from America to check that out,
1139 % meantime I got a Copy Shop to drill a ream of paper for me (and
1140 % some card for covers). I'd advise that if you can't buy punched
1141 % paper, get a Copy Shop to drill it for you. It produces a vastly
1142 % neater result than using a hole punch---and a suitable hole punch
1143 % for ``home use'' is going to be rather expensive in any case.
1144 %
1145 % And then there's the paper fasteners\ldots\\
1146 % To cut a long story short, here's what you want:
1147 % \begin{itemize}
1148 % \item ACCO solid brass \#5 brads, 1.25" long, part number 71505;
1149 % \item ACCO \#2 brass washers, part number 71511.
1150 % \end{itemize}
1151 % \ldots and a rubber mallet to hammer them in with.
1152 % The rubber mallet is easy enough to come by but
1153 % you'll have to source the paper fasteners from America (it seems to
1154 % be mainly the screenwriting fraternity that call them ``brads''
1155 % rather than paper fasteners, BTW). The brass-plated ersatz
1156 % versions available in the UK are clearly \emph{not} up to the job
1157 % by a long shot. And beware that ACCO make a version that isn't
1158 % solid brass and is inferior to these all-brass ones, hence the
1159 % necessity for part numbers.
1160 %
1161 % The washers are for the back, where the prongs are folded over;
1162 % you use \emph{two brads}, each with a single washer, one in the
1163 % top and one in the bottom hole leaving the central hole empty.
1164 %
1165 % And while I'm on about paper, 120 pages is really the absolute
1166 % longest you should go. A screenplay that runs between 100 and 110
1167 % pages is a better bet---and that's with plenty of whitespace in the
1168 % passages of description.
1169 %
1170 % \section{\LaTeX\ for the impatient}
1171 % \changes{1.2.5}{2006 Nov 09}{additions to documentation, v1.532}
1172 %
1173 % You will likely need to be familiar with the following standard \LaTeX\
1174 % foibles and constructs.
1175 %
1176 % In \TeX\ the \textsl{space} or \textsl{blank} character has special
1177 % properties:
1178 % \begin{itemize}
1179 % \item one blank is the same as a thousand and counts as one,
1180 % except for \textsl{carriage returns} where two, or more, consecutive
1181 % carriage returns signal a paragraph break. A single carriage
1182 % return is treated as a blank;
1183 % \item blanks at the beginning of a line are ignored;
1184 % \item blanks terminating a command name are removed (except
1185 % in the case of printing \textsl{command characters}, see for example
1186 % |\$| below);
1187 % \item blanks following \textsl{full stop} (period) get extra
1188 % space inserted, except where the full stop follows an uppercase
1189 % character. Blanks following a \textsl{colon} get extra space
1190 % inserted, as do those after an \textsl{exclamation mark};
1191 % \end{itemize}
1192 % So to work with this you likely need to know:
1193 % \begin{itemize}
1194 % \item \verb*|\ | force single space (e.g.\ after e.g. and
1195 % see |\pov| and |\revert| \texttt{screenplay} commands which follow
1196 % convention and therefore need this to get a space after them);
1197 % \item |\@| force double space after full stop
1198 % following an uppercase character (place it before the offending
1199 % full stop);
1200 % \item |%| is the \textsl{comment character} (makes things invisible
1201 % to \TeX)---the comment character used immediately before a carriage
1202 % return suppresses the space \TeX\ would otherwise substitute for
1203 % the carriage return;
1204 % \item |\\| force a linebreak;
1205 % \item |\\*| force a linebreak but don't allow a pagebreak;
1206 % \item |\pagebreak| (works in description text)
1207 % \item |\nopagebreak|
1208 % \item |~| non-breaking space, |$\sim$| gives a $\sim$ symbol;
1209 % \end{itemize}
1210 % You \emph{do} want \TeX\ to munge space for you, I advise you
1211 % \emph{against} the use of the |\frenchspacing| command
1212 % with \texttt{screenplay} (even if you're French).
1213 %
1214 % Special characters you might want:
1215 % \begin{itemize}
1216 % \item |\#| to produce a \# symbol;
1217 % \item |\$| to produce a \$ symbol;
1218 % \item |\%| to produce a \% symbol;
1219 % \item |$\backslash$| to produce a $\backslash$ symbol;
1220 % \item |\ldots| ellipsis \ldots
1221 % \end{itemize}
1222 %
1223 % A \LaTeX\ installation comes with extensive
1224 % documentation---\emph{read it}!
1225 %
1226 % Also check out the \textit{\TeX\ Users Group}
1227 % \href{http://www.tug.org/}%
1228 % {\texttt{http://www.tug.org}}.
1229 %
1230 % \section{Todo}
1231 % If anybody else uses it maybe they'll spot stuff that's
1232 % wrong but \textsl{Johnny} says, ``It works for me.''
1233 %
1234 % The test file \texttt{test.tex} shows \texttt{screenplay}
1235 % markup applied to ``FOR A FEW DAYS MORE''
1236 % (\href{http://www.oscars.org/awards/nicholl/scriptsample.pdf}%
1237 % {\texttt{http://www.oscars.org/awards/nicholl/scriptsample.pdf}})
1238 % and the \texttt{test.pdf} file was generated from that.
1239 %
1240 % A printout of the first page \texttt{scriptsample.pdf} and
1241 % \texttt{test.pdf} show identical pitch and the inter-line
1242 % spacing is pretty close. However, I chose a |\baselinestretch|
1243 % value to complement the |\baselineskip| and be more typographically
1244 % appropriate rather than exactly match \texttt{scriptsample.pdf}
1245 % (i.e.\ we're emulating a typewriter).
1246 %
1247 % You can tell which is which because \texttt{test.pdf}
1248 % numbers the first page whilst \texttt{scriptsample.pdf} starts
1249 % numbering on the second page of the screenplay.
1250 %
1251 % If I get any \emph{useful} feedback I \emph{may} alter things
1252 % accordingly. In that regard Don (the webmaster) at,
1253 % \href{http://www.simplyscripts.com/}%
1254 % {\texttt{http://www.simplyscripts.com}}
1255 % has judged the results as, ``Script is in some generally agreed
1256 % upon screenplay format or close enough,'' which is my intention
1257 % for this |class|.
1258 %
1259 % If anyone comes up with additional |style| package(s) suitably
1260 % applicable I'll add such to the |.dtx| bundle. Having researched
1261 % the subject I believe it's inappropriate to use constructs like
1262 % CUT TO:, DISSOLVE TO:, FADE TO:, etc.\ in a Draft Screenplay, though
1263 % they might legitimately appear in a Shooting Script or something
1264 % getting close to it. This |class| is aimed at Draft Screenplays,
1265 % IMHO any further elaboration of capabilities should be via
1266 % additional |style| packages---which I leave as an exercise for the
1267 % reader.
1268 %
1269 % Please ensure you have tried latest available version before
1270 % reporting any bugs.
1271 %
1272 % \section{Disclaimer}
1273 % The arcane art of writing screenplays has spawned a whole industry
1274 % of books and software. \texttt{screenplay} is my modest and, more
1275 % importantly, \emph{free} contribution. It is \copyright 2006
1276 % John Pate, released under the \textit{GNU General Public License}.
1277 % Your mileage may vary. E\&OE.
1278 %
1279 % The source for \texttt{screenplay} can be found on \textbf{github}, \\
1280 % \href{https://github.com/JohnPate/Screenplay}%
1281 % {\texttt{https://github.com/JohnPate/Screenplay}}
1282 %
1283 %
1284 % For howto contact the author see,
1285 % \href{http://dvc.org.uk/johnny.html}%
1286 % {\texttt{http://dvc.org.uk/johnny.html}}.
1287 %
1288 % \newpage
1289 % \section{A note for our Sponsor}
1290 %
1291 % I don't think I'm alone when I say\ldots
1292 % \bigskip
1293 %
1294 % \Huge Hail Eris!
1295 %
1296 % \bigskip
1297 % All Hail Discordia!
1298 % \normalsize
1299 % \newpage
1300 %
1301 %\iffalse
1302 %<*rider>
1303 %% Test document: facsimile of title and first page
1304 %% of http://www.oscars.org/awards/nicholl/scriptsample.pdf
1305 %% to demonstrate veracity of class screenplay
1306 %% see http://www.dvc.org.uk/sacrific.txt/
1307 %% for more information on the document class.
1308 %%
1309 \documentclass{screenplay}[2012/06/30]
1310 \title{For a Few Days More}
1311 \author{April Rider}
1312 \address{555 George St NNW\\
1313 Kaplan, ND 77777\\
1314 999-999-9999}
1315 \begin{document}
1316 \coverpage
1317 \fadein
1318 \intslug[day]{Driskill Hotel Seminar Room}
1319 JOE and APRIL burst through the doors into a clean, well-lit
1320 seminar room.
1321 \begin{dialogue}{Joe}
1322 Are we in time?
1323 \end{dialogue}
1324 \begin{dialogue}{April}
1325 How could they start without us?
1326 We're the main attraction.
1327 \end{dialogue}
1328 Joe catches his breath as he leans against the podium at the
1329 front of the room.
1330 \begin{dialogue}[looking about the room]{Joe}
1331 We are?
1332 \end{dialogue}
1333 \begin{dialogue}{April}
1334 Don't be a moron. You know we've
1335 been invited to Austin to discuss
1336 script format.
1337 \end{dialogue}
1338 \begin{dialogue}{Joe}
1339 But why is the room empty?
1340 \end{dialogue}
1341 April and Joe both look out across the room~-- rows of empty
1342 chairs and nary a person in sight.
1343 \begin{dialogue}{April}
1344 Okay, okay, don't panic.
1345 \end{dialogue}
1346 She takes three deep breaths. Then she looks at her watch
1347 and smiles.
1348 \begin{dialogue}[continuing]{April}
1349 We're an hour early.\dots We should
1350 rehearse.
1351 \end{dialogue}
1352 \begin{dialogue}{Joe}
1353 Okay, you start. Margins?
1354 \end{dialogue}
1355 \begin{dialogue}{April}
1356 Left, 1.5 inches. Right, 1.0
1357 inches. Top, 1.0 inches to the
1358 body, 0.5 inches to the number.
1359 Bottom, 0.5 to 1.5 inches,
1360 depending on where the page break
1361 comes.
1362 \end{dialogue}
1363 \end{document}
1364 %</rider>
1365 %\fi
1366 %\iffalse
1367 %<*example>
1368 \documentclass{screenplay}[2012/06/30]
1369
1370 \title{Example .tex File}
1371
1372 \author{John Pate}
1373
1374 \address{the address\\
1375 here if you're\\
1376 going postal\\
1377 UK\\
1378 +44~(0)131~999~9999\\
1379 [email protected]
1380 }
1381
1382 %% ... preamble finished, let's go ...
1383 \begin{document}
1384
1385 %% Make a title page ...
1386 \coverpage
1387 %% ...or use \nicholl
1388
1389 %% TeX allows quite a lot of leeway in whitespace, so I've messed this
1390 %% up a bit. I find keeping the format structured helps me a lot tho.
1391 %% Note: but don't have blank lines *inside* the body of text in
1392 %% a dialogue environment.
1393 %% I use vi (Elvis) with macros to make a lot of typing disappear.
1394 %% You can, of course, define LaTeX macros to shorten the command names.
1395 %%
1396 %% Anyhoo, on with the show ...
1397
1398 %% for some reason this always happens at the start ...
1399 \fadein
1400
1401 \intslug[illumination]{example sample -- screenplay.cls}
1402
1403 In space, nobody knows what time of day it is. Wait, there is no
1404 day.
1405
1406 So BOB, a cross-dressing Republican, and BROWN, a Christian
1407 fundamentalist Democrat, are talking nonsense instead.
1408
1409
1410 \begin{dialogue}{Bob}
1411 That means that someone
1412 sabotaged the unit and killed the
1413 President! Was it one of us?
1414 \end{dialogue}
1415 \begin{dialogue}{Brown}
1416 Who else is mad but us, Condi\ldots
1417 \paren{beat}
1418 and Bliar?
1419 \end{dialogue}
1420
1421 Bob buries his head in his hands.
1422
1423 \intslug{Atlantis -- somewhere ANyway}
1424
1425 JOHN and MARK are at adjacent consoles. FRED is with them. TOM
1426 is at another console slightly further away.
1427
1428 \begin{dialogue}{John}
1429 The planetoid seems to have a thin crust
1430 covering a nickel-iron core. Could have
1431 been an Earth-like planet at one time.
1432 \end{dialogue}
1433
1434 \begin{dialogue}{Mark}
1435 We're coming up on the radio source now.
1436 \end{dialogue}
1437
1438 Brown walks in and goes to a console.
1439
1440 He has a PARROT on his shoulder.
1441
1442 The Parrot has an air of quiet insouciance.
1443
1444 \begin{dialogue}{Fred}
1445 Switch the visual to main screen so we
1446 can get a good look.\end{dialogue}
1447
1448 They look up at the main screen.
1449
1450 \begin{dialogue}[to John and Mark]{Fred}
1451 Lock on to that.
1452 \dialbreak[to Tom]{Fred}
1453 Establish planetary orbit.
1454 \end{dialogue}
1455
1456 \intextslug[day]{in or out}
1457 Apparently some people do this.
1458
1459 \intercut
1460 \extintslug[night]{out or in}
1461 Or even this.
1462
1463 \extslug[day or nite]{NO WARRANTY -- EXPRESS OR IMPLIED}
1464
1465 \pov\ I made the slugline DAY/NIGHT optional 'cause in space no-one can
1466 tell the time. You probably will need to specify.
1467
1468 Don't put in pagebreaks by hand until you're really, really
1469 finished editing!
1470
1471 It isn't the done thing to hyphenate for formatting purposes.
1472 \centretitle{http://dvc.org.uk/sacrific.txt/}
1473
1474 That was a centred titleover.
1475 \begin{titleover}There's a titleover environment for dialogue-like layout if you're
1476 doing the "Star Wars" thing.\end{titleover}\extslug[All Hail Discordia!]{where to find us}
1477 http://dvc.org.uk/sacrific.txt/screenplay.zip
1478
1479 Use the source, Luke.
1480
1481 \extslug[illumination]{for definitive info on layout}
1482
1483 http://www.oscars.org/awards/nicholl/resources.html
1484
1485 %% and this always happens at the end ...
1486 \fadeout
1487
1488 \theend
1489
1490 \end{document}
1491 %</example>
1492 %\fi
1493 % \Finale
1494 \endinput