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} [1998/10/27 v1.0 uses hollywood.layout]
9 \renewcommand{\ref}[1]{#1}
15 \DeclareOption{letterpaper}
16 {\setlength\paperheight {11in}%
17 \setlength\paperwidth {8.5in}}
18 \DeclareOption{12pt}{\renewcommand\@ptsize{0}}
19 \DeclareOption{12pt}{\renewcommand\@ptsize{1}}
20 \DeclareOption{12pt}{\renewcommand\@ptsize{2}}
21 \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
22 \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
23 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
24 \DeclareOption{final}{\setlength\overfullrule{0pt}}
25 \DeclareOption{titlepage}{\@titlepagetrue}
26 \DeclareOption{notitlepage}{\@titlepagefalse}
27 \DeclareOption{openright}{\@openrighttrue}
28 \DeclareOption{openany}{\@openrightfalse}
29 \DeclareOption{onecolumn}{\@twocolumnfalse}
30 \ExecuteOptions{letterpaper,12pt,oneside,onecolumn,final,openany}
32 \input{size1\@ptsize.clo}
33 \setlength\lineskip{1\p@}
34 \setlength\normallineskip{1\p@}
35 \renewcommand\baselinestretch{}
36 \setlength\parskip{0\p@ \@plus \p@}
40 \setcounter{topnumber}{2}
41 % \renewcommand{\headrulewidth}{0pt}
42 \renewcommand\topfraction{.7}
43 \setcounter{bottomnumber}{1}
44 \renewcommand\bottomfraction{.3}
45 \setcounter{totalnumber}{3}
46 \renewcommand\textfraction{.2}
47 \renewcommand\floatpagefraction{.5}
48 \setcounter{dbltopnumber}{2}
49 \renewcommand\dbltopfraction{.7}
50 \renewcommand\dblfloatpagefraction{.5}
53 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
57 \let\@oddfoot\@empty\let\@evenfoot\@empty
58 \def\@evenhead{\thepage\hfil\slshape\leftmark}%
59 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
60 \let\@mkboth\@gobbletwo
63 \newcommand{\address}{\renewcommand{\@address}}
64 \newcommand{\@address}{}
65 \newcommand\maketitle{\begin{titlepage}%
66 \let\footnotesize\small
67 \let\footnoterule\relax
68 \let \footnote \thanks
72 { \underline{\@title} \par}%
75 \begin{tabular}[t]{c}%
89 \setcounter{footnote}{0}%
90 \global\let\thanks\relax
91 \global\let\maketitle\relax
92 % \global\let\@address\@empty
93 \global\let\@thanks\@empty
94 \global\let\@author\@empty
95 \global\let\@date\@empty
96 \global\let\@title\@empty
97 % \global\let\address\relax
98 \global\let\title\relax
99 \global\let\author\relax
100 \global\let\date\relax
101 \global\let\and\relax
104 \setlength\leftmargini {2.5em}
105 \leftmargin \leftmargini
106 \setlength \labelsep {.5em}
107 \setlength \labelwidth{\leftmargini}
108 \addtolength\labelwidth{-\labelsep}
109 \@beginparpenalty -\@lowpenalty
110 \@endparpenalty -\@lowpenalty
111 \@itempenalty -\@lowpenalty
112 \renewcommand\theenumi{\@arabic\c@enumi}
113 \newcommand\labelenumi{\theenumi.}
114 \renewcommand\p@enumii{\theenumi}
115 \newcommand\labelitemi{\textbullet}
116 \newenvironment{titlepage}
119 \@restonecoltrue\onecolumn
121 \@restonecolfalse\newpage
123 \thispagestyle{empty}%
124 \setcounter{page}\@ne
126 {\if@restonecol\twocolumn \else \newpage \fi
128 \setcounter{page}\@ne
131 \setlength\tabbingsep{\labelsep}
132 \skip\@mpfootins = \skip\footins
133 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
134 \DeclareOldFontCommand{\sl}{\normalfont\ttfamily}{\mathtt}
135 \newcommand\@pnumwidth{1.55em}
136 \newcommand\@tocrmarg{2.55em}
137 \newcommand\@dotsep{4.5}
138 \setcounter{tocdepth}{2}
139 \setlength\columnsep{10\p@}
140 \setlength\columnseprule{0\p@}
142 \pagenumbering{arabic}
154 \usepackage{fancyhdr}
155 \usepackage{extramarks}
157 \usepackage{lastpage}
159 % This stuff is for a shooting script
160 % \lhead{\ifthenelse{ \not \value{page} = 1}{CONTINUED:}{}}
161 % \rfoot{\ifthenelse{ \not \value{page}=\pageref{LastPage}}{(CONT'D)}
162 % {\ifthenelse{\value{page}=\pageref{LastPage}}{(END)}{}}}
165 % This is what we want for a spec script
168 % \renewcommand{\headrulewitdh}{0pt}
169 % This one is needed to get real adobe courier, but you can use
170 % cmtt which is also correct
171 \renewcommand{\familydefault}{pcr}
172 % This is to negate the effect of the ~ that LyX adds everywhere
174 % this protects you against the fact that TeX does not want to
175 % hyphenate in typewriter font. It is possible to enable
176 % hyphenation, but I do not remember how.
177 % That's good because we -do not- want any hyphenation.
179 \newcommand{\fadein}{\filbreak\raggedright\par FADE IN: }%
180 \newcommand{\fadeout}{\filbreak\raggedright\par FADE OUT }%
181 \newcommand{\interiorshot}{\filbreak\raggedright\par INT. }%
182 \newcommand{\exteriorshot}{\filbreak\raggedright\par EXT. }%
183 \newenvironment{dialogue}%
186 \setlength{\leftmargin}{1.2in}
187 \setlength{\rightmargin}{1.2in}
188 \setlength{\parsep}{0mm}
189 \setlength{\topsep}{0mm}}
190 \item[] \ignorespaces}
193 \newenvironment{narrative}%
197 \leftmargin \rightmargin
198 \setlength{\parsep}{2mm}
199 \setlength{\topsep}{2mm}}
200 \item[] \ignorespaces}
203 \newenvironment{speaker}%
206 \setlength{\leftmargin}{2.5in}
207 \setlength{\partopsep}{4mm}
208 \setlength{\parsep}{0mm}
209 \setlength{\topsep}{0mm}}
210 \item[] \ignorespaces}
213 \newenvironment{parenthetical}%
215 \setlength{\leftmargin}{2in}
216 \setlength{\parsep}{0mm}
217 \setlength{\topsep}{0mm}}
218 \item[](\ignorespaces}
226 %% End of file `hollywood.cls'.