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]
10 \usepackage{extramarks}
14 \renewcommand{\ref}[1]{#1}
20 \DeclareOption{letterpaper}
21 {\setlength\paperheight {11in}%
22 \setlength\paperwidth {8.5in}}
23 \DeclareFontFamily{OT1}{pcr}{\hyphenchar\font=-1}
24 \DeclareFontShape{OT1}{pcr}{m}{n}{<12> pcrr7t}{}
25 \DeclareFontFamily{T1}{pcr}{\hyphenchar\font=-1}
26 \DeclareFontShape{T1}{pcr}{m}{n}{<12> pcrr8t}{}
27 \DeclareOption{12pt}{\renewcommand\@ptsize{0}}
28 \DeclareOption{12pt}{\renewcommand\@ptsize{1}}
29 \DeclareOption{12pt}{\renewcommand\@ptsize{2}}
30 \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
31 \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
32 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
33 \DeclareOption{final}{\setlength\overfullrule{0pt}}
34 \DeclareOption{titlepage}{\@titlepagetrue}
35 \DeclareOption{notitlepage}{\@titlepagefalse}
36 \DeclareOption{openright}{\@openrighttrue}
37 \DeclareOption{openany}{\@openrightfalse}
38 \DeclareOption{onecolumn}{\@twocolumnfalse}
39 \ExecuteOptions{letterpaper,12pt,oneside,onecolumn,final,openany}
41 \input{size1\@ptsize.clo}
42 \setlength\lineskip{1\p@}
43 \setlength\normallineskip{1\p@}
44 \renewcommand\baselinestretch{}
45 \setlength\parskip{0\p@ \@plus \p@}
49 \setcounter{topnumber}{2}
50 \renewcommand{\headrulewidth}{0pt}
51 \renewcommand\topfraction{.7}
52 \setcounter{bottomnumber}{1}
53 \renewcommand\bottomfraction{.3}
54 \setcounter{totalnumber}{3}
55 \renewcommand\textfraction{.2}
56 \renewcommand\floatpagefraction{.5}
57 \setcounter{dbltopnumber}{2}
58 \renewcommand\dbltopfraction{.7}
59 \renewcommand\dblfloatpagefraction{.5}
62 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
66 \let\@oddfoot\@empty\let\@evenfoot\@empty
67 \def\@evenhead{\thepage\hfil\slshape\leftmark}%
68 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
69 \let\@mkboth\@gobbletwo
72 \newcommand{\address}{\renewcommand{\@address}}
73 \newcommand{\@address}{}
74 \newcommand\maketitle{\begin{titlepage}%
75 \let\footnotesize\small
76 \let\footnoterule\relax
77 \let \footnote \thanks
81 %% { \underline{\@title} \par}%
85 \begin{tabular}[t]{c}%
99 \setcounter{footnote}{0}%
100 \global\let\thanks\relax
101 \global\let\maketitle\relax
102 % \global\let\@address\@empty
103 \global\let\@thanks\@empty
104 \global\let\@author\@empty
105 \global\let\@date\@empty
106 \global\let\@title\@empty
107 % \global\let\address\relax
108 \global\let\title\relax
109 \global\let\author\relax
110 \global\let\date\relax
111 \global\let\and\relax
114 \setlength\leftmargini {2.5em}
115 \leftmargin \leftmargini
116 \setlength \labelsep {.5em}
117 \setlength \labelwidth{\leftmargini}
118 \addtolength\labelwidth{-\labelsep}
119 \@beginparpenalty -\@lowpenalty
120 \@endparpenalty -\@lowpenalty
121 \@itempenalty -\@lowpenalty
122 \renewcommand\theenumi{\@arabic\c@enumi}
123 \newcommand\labelenumi{\theenumi.}
124 \renewcommand\p@enumii{\theenumi}
125 \newcommand\labelitemi{\textbullet}
126 \newenvironment{titlepage}
129 \@restonecoltrue\onecolumn
131 \@restonecolfalse\newpage
133 \thispagestyle{empty}%
134 \setcounter{page}\@ne
136 {\if@restonecol\twocolumn \else \newpage \fi
138 \setcounter{page}\@ne
141 \setlength\tabbingsep{\labelsep}
142 \skip\@mpfootins = \skip\footins
143 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
144 \DeclareOldFontCommand{\sl}{\normalfont\ttfamily}{\mathtt}
145 \newcommand\@pnumwidth{1.55em}
146 \newcommand\@tocrmarg{2.55em}
147 \newcommand\@dotsep{4.5}
148 \setcounter{tocdepth}{2}
149 \setlength\columnsep{10\p@}
150 \setlength\columnseprule{0\p@}
152 \pagenumbering{arabic}
164 % This stuff is for a shooting script
165 % \lhead{\ifthenelse{ \not \value{page} = 1}{CONTINUED:}{}}
166 % \rfoot{\ifthenelse{ \not \value{page}=\pageref{LastPage}}{(CONT'D)}
167 % {\ifthenelse{\value{page}=\pageref{LastPage}}{(END)}{}}}
170 % This is what we want for a spec script
173 % This one is needed to get real adobe courier, but you can use
174 % cmtt which is also correct
175 \renewcommand{\familydefault}{pcr}
176 % This is to negate the effect of the ~ that LyX adds everywhere
178 % this protects you against the fact that TeX does not want to
179 % hyphenate in typewriter font. It is possible to enable
180 % hyphenation, but I do not remember how.
181 % That's good because we -do not- want any hyphenation.
183 \newcommand{\fadein}[1]{\filbreak\raggedright\par FADE IN: \uppercase{#1}}%
184 \newcommand{\fadeout}{\filbreak\raggedright\par FADE OUT }%
185 \newcommand{\interiorshot}[1]{\filbreak\raggedright\par INT. \uppercase{#1}}%
186 \newcommand{\exteriorshot}[1]{\filbreak\raggedright\par EXT. \uppercase{#1}}%
188 \newcommand{\dialogue}[1]%
195 \newcommand{\narrative}[1]%
203 \newcommand{\speaker}[1]%
210 \newcommand{\parenthetical}[1]%
218 %% End of file `hollywood.cls'.