1 %% Author: Garst R. Reese reese@isn.net
2 %% This is file `hollywood.cls', which provides the current
3 %% preferred format for submission of "spec" scripts
4 %% It is a pretty dull and uninteresting format, but it sells
5 %% Derived from report.cls. There is probably still a lot of stuff
6 %% that could be deleted.
7 \NeedsTeXFormat{LaTeX2e}
8 \ProvidesClass{hollywood} [2001/9/10 v1.2 uses hollywood.layout]
10 %%\usepackage{extramarks}
12 %%\usepackage{lastpage}
13 %%\usepackage{geometry}
15 %%\usepackage{setspace}
19 \renewcommand{\ref}[1]{#1}
25 \DeclareOption{letterpaper}
26 {\setlength\paperheight {11in}%
27 \setlength\paperwidth {8.5in}%
29 \DeclareFontFamily{OT1}{pcr}{\hyphenchar\font=-1}
30 \DeclareFontShape{OT1}{pcr}{m}{n}{<12> pcrr7t}{}
31 \DeclareFontFamily{T1}{pcr}{\hyphenchar\font=-1}
32 \DeclareFontShape{T1}{pcr}{m}{n}{<12> pcrr8t}{}
33 \DeclareOption{12pt}{\renewcommand\@ptsize{0}}
34 \DeclareOption{12pt}{\renewcommand\@ptsize{1}}
35 \DeclareOption{12pt}{\renewcommand\@ptsize{2}}
36 \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
37 \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
38 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
39 \DeclareOption{final}{\setlength\overfullrule{0pt}}
40 \DeclareOption{titlepage}{\@titlepagetrue}
41 \DeclareOption{notitlepage}{\@titlepagefalse}
42 \DeclareOption{openright}{\@openrighttrue}
43 \DeclareOption{openany}{\@openrightfalse}
44 \DeclareOption{onecolumn}{\@twocolumnfalse}
45 \ExecuteOptions{letterpaper,12pt,oneside,onecolumn,final,openany}
47 \input{size1\@ptsize.clo}
48 \setlength\lineskip{1\p@}
49 \setlength\normallineskip{1\p@}
50 \renewcommand\baselinestretch{}
51 \setlength\parskip{0\p@ \@plus \p@}
55 \setcounter{topnumber}{2}
56 \renewcommand{\headrulewidth}{0pt}
57 \renewcommand\topfraction{.7}
58 \setcounter{bottomnumber}{1}
59 \renewcommand\bottomfraction{.3}
60 \setcounter{totalnumber}{3}
61 \renewcommand\textfraction{.2}
62 \renewcommand\floatpagefraction{.5}
63 \setcounter{dbltopnumber}{2}
64 \renewcommand\dbltopfraction{.7}
65 \renewcommand\dblfloatpagefraction{.5}
68 \def\@oddhead{{\slshape\rightmark}\hfil\thepage.}%
72 \let\@oddfoot\@empty\let\@evenfoot\@empty
73 \def\@evenhead{\thepage.\hfil\slshape\leftmark}%
74 \def\@oddhead{{\slshape\rightmark}\hfil\thepage.}%
75 \let\@mkboth\@gobbletwo
78 \newcommand{\address}{\renewcommand{\@address}}
79 \newcommand{\@address}{}
80 \newcommand\maketitle{\begin{titlepage}%
81 \let\footnotesize\small
82 \let\footnoterule\relax
83 \let \footnote \thanks
87 %% { \underline{\@title} \par}%
91 \begin{tabular}[t]{c}%
105 \setcounter{footnote}{0}%
106 \global\let\thanks\relax
107 \global\let\maketitle\relax
108 % \global\let\@address\@empty
109 \global\let\@thanks\@empty
110 \global\let\@author\@empty
111 \global\let\@date\@empty
112 \global\let\@title\@empty
113 % \global\let\address\relax
114 \global\let\title\relax
115 \global\let\author\relax
116 \global\let\date\relax
117 \global\let\and\relax
120 \setlength\leftmargini {2.5em}
121 \leftmargin \leftmargini
122 \setlength \labelsep {.5em}
123 \setlength \labelwidth{\leftmargini}
124 \addtolength\labelwidth{-\labelsep}
125 \@beginparpenalty -\@lowpenalty
126 \@endparpenalty -\@lowpenalty
127 \@itempenalty -\@lowpenalty
128 \renewcommand\theenumi{\@arabic\c@enumi}
129 \newcommand\labelenumi{\theenumi.}
130 \renewcommand\p@enumii{\theenumi}
131 \newcommand\labelitemi{\textbullet}
132 \newenvironment{titlepage}
135 \@restonecoltrue\onecolumn
137 \@restonecolfalse\newpage
139 \thispagestyle{empty}%
140 \setcounter{page}\@ne
141 %% \addtocounter{page}{1}
143 {\if@restonecol\twocolumn \else \newpage \fi
145 \setcounter{page}\@ne
146 %% \addtocounter{page}{1}
149 \setlength\tabbingsep{\labelsep}
150 \skip\@mpfootins = \skip\footins
151 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
152 \DeclareOldFontCommand{\sl}{\normalfont\ttfamily}{\mathtt}
153 \newcommand\@pnumwidth{1.55em}
154 \newcommand\@tocrmarg{2.55em}
155 \newcommand\@dotsep{4.5}
156 \setcounter{tocdepth}{2}
157 \setlength\columnsep{10\p@}
158 \setlength\columnseprule{0\p@}
160 \pagenumbering{arabic}
163 %%\rfoot{\pageref{LastPage}[]{}}
165 % This is what we want for a spec script
167 \setlength{\rightmargin}{.75in}
168 \setlength{\leftmargin}{1.5in}%
169 \setlength{\textwidth}%
170 {\paperwidth -\leftmargin -\rightmargin}%
171 %% Set vertical spacing
172 \setlength\topmargin {48bp}%
173 \setlength\headheight {12bp}%
174 \setlength\headsep {24bp}%
175 \setlength\footskip {0bp}% there are no footnotes
177 \newlength{\bmargin}%
178 \setlength{\bmargin}{.75in}%
179 \setlength{\textheight}%
180 {\paperheight -\bmargin -\topmargin -\headheight -\headsep }%
190 % This one is needed to get real adobe courier, but you can use
191 % cmtt which is also correct
192 \renewcommand{\familydefault}{pcr}
193 % This is to negate the effect of the ~ that LyX adds everywhere
195 % this protects you against the fact that TeX does not want to
196 % hyphenate in typewriter font. It is possible to enable
197 % hyphenation, but I do not remember how.
198 % That's good because we -do not- want any hyphenation.
201 \setlength{\lnspace}{6bp plus 3bp minus 3bp}
203 \newcommand{\fadein}[1]{\filbreak\raggedright\par FADE IN:
204 \uppercase{#1}\par\vspace{2bp}}%
205 \newcommand{\fadeout}{\filbreak\raggedright\par FADE OUT }%
206 \newcommand{\intercut}{\filbreak\par INTERCUT WITH: }%
207 \newcommand{\interiorshot}[1]%
215 \newcommand{\exteriorshot}[1]%
223 %% Generalized Scene command in case INT. EXT. etc is not sufficient.
224 \newcommand{\scene}[1]%
231 \newlength{\dialogLength}
232 \setlength{\dialogLength}{4in minus 1in}
233 \newlength{\parenLength}
234 \setlength{\parenLength}{2.2in plus .5in minus .7in}
235 \newlength{\dialogindent}
236 \setlength{\dialogindent}{1in plus .5in}
238 \newcommand{\dialogue}[1]%
240 \hspace{\dialogindent}
241 \parbox{\dialogLength}{#1}
245 \newcommand{\narrative}[1]%
251 \newcommand{\description}[1]%
258 \newsavebox{\currentspeaker}
259 \newlength{\speakeroffset}
260 \setlength{\speakeroffset}{1in plus .25in}
261 \newlength{\speakerindent}
262 \setlength{\speakerindent}{\dialogindent +\speakeroffset}
264 \newcommand{\speaker}[1]%
267 \hspace{\speakerindent}
268 \sbox{\currentspeaker}{\uppercase{#1}}
269 \usebox{\currentspeaker}
276 \hspace{\speakerindent}\usebox{\currentspeaker} (CONT'D)
283 \hspace{\speakerindent}\uppercase{(MORE)}
287 \newlength{\parenindent}
288 \newlength{\parenoffset}
289 \setlength{\parenoffset}{.5in}
290 \setlength{\parenindent}{\speakerindent -\parenoffset}
292 \newcommand{\parenthetical}[1]%
294 \hspace{\parenindent}
296 \parbox{\parenLength}{(#1)}
299 \newcommand{\titleover}[1]%
302 \par\hspace{\parenindent}{#1}\par\raggedright}
304 \newcommand{\continuing}[0]%
307 \hspace{\speakerindent}
308 \usebox{\currentspeaker}{ (continuing})\par
315 %% End of file `hollywood.cls'