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 \DeclareFontFamily{OT1}{pcr}{\hyphenchar\font=-1}
19 \DeclareFontShape{OT1}{pcr}{m}{n}{<12> pcrr7t}{}
20 \DeclareFontFamily{T1}{pcr}{\hyphenchar\font=-1}
21 \DeclareFontShape{T1}{pcr}{m}{n}{<12> pcrr8t}{}
22 \DeclareOption{12pt}{\renewcommand\@ptsize{0}}
23 \DeclareOption{12pt}{\renewcommand\@ptsize{1}}
24 \DeclareOption{12pt}{\renewcommand\@ptsize{2}}
25 \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
26 \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
27 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
28 \DeclareOption{final}{\setlength\overfullrule{0pt}}
29 \DeclareOption{titlepage}{\@titlepagetrue}
30 \DeclareOption{notitlepage}{\@titlepagefalse}
31 \DeclareOption{openright}{\@openrighttrue}
32 \DeclareOption{openany}{\@openrightfalse}
33 \DeclareOption{onecolumn}{\@twocolumnfalse}
34 \ExecuteOptions{letterpaper,12pt,oneside,onecolumn,final,openany}
36 \input{size1\@ptsize.clo}
37 \setlength\lineskip{1\p@}
38 \setlength\normallineskip{1\p@}
39 \renewcommand\baselinestretch{}
40 \setlength\parskip{0\p@ \@plus \p@}
44 \setcounter{topnumber}{2}
45 % \renewcommand{\headrulewidth}{0pt}
46 \renewcommand\topfraction{.7}
47 \setcounter{bottomnumber}{1}
48 \renewcommand\bottomfraction{.3}
49 \setcounter{totalnumber}{3}
50 \renewcommand\textfraction{.2}
51 \renewcommand\floatpagefraction{.5}
52 \setcounter{dbltopnumber}{2}
53 \renewcommand\dbltopfraction{.7}
54 \renewcommand\dblfloatpagefraction{.5}
57 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
61 \let\@oddfoot\@empty\let\@evenfoot\@empty
62 \def\@evenhead{\thepage\hfil\slshape\leftmark}%
63 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
64 \let\@mkboth\@gobbletwo
67 \newcommand{\address}{\renewcommand{\@address}}
68 \newcommand{\@address}{}
69 \newcommand\maketitle{\begin{titlepage}%
70 \let\footnotesize\small
71 \let\footnoterule\relax
72 \let \footnote \thanks
76 { \underline{\@title} \par}%
79 \begin{tabular}[t]{c}%
93 \setcounter{footnote}{0}%
94 \global\let\thanks\relax
95 \global\let\maketitle\relax
96 % \global\let\@address\@empty
97 \global\let\@thanks\@empty
98 \global\let\@author\@empty
99 \global\let\@date\@empty
100 \global\let\@title\@empty
101 % \global\let\address\relax
102 \global\let\title\relax
103 \global\let\author\relax
104 \global\let\date\relax
105 \global\let\and\relax
108 \setlength\leftmargini {2.5em}
109 \leftmargin \leftmargini
110 \setlength \labelsep {.5em}
111 \setlength \labelwidth{\leftmargini}
112 \addtolength\labelwidth{-\labelsep}
113 \@beginparpenalty -\@lowpenalty
114 \@endparpenalty -\@lowpenalty
115 \@itempenalty -\@lowpenalty
116 \renewcommand\theenumi{\@arabic\c@enumi}
117 \newcommand\labelenumi{\theenumi.}
118 \renewcommand\p@enumii{\theenumi}
119 \newcommand\labelitemi{\textbullet}
120 \newenvironment{titlepage}
123 \@restonecoltrue\onecolumn
125 \@restonecolfalse\newpage
127 \thispagestyle{empty}%
128 \setcounter{page}\@ne
130 {\if@restonecol\twocolumn \else \newpage \fi
132 \setcounter{page}\@ne
135 \setlength\tabbingsep{\labelsep}
136 \skip\@mpfootins = \skip\footins
137 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
138 \DeclareOldFontCommand{\sl}{\normalfont\ttfamily}{\mathtt}
139 \newcommand\@pnumwidth{1.55em}
140 \newcommand\@tocrmarg{2.55em}
141 \newcommand\@dotsep{4.5}
142 \setcounter{tocdepth}{2}
143 \setlength\columnsep{10\p@}
144 \setlength\columnseprule{0\p@}
146 \pagenumbering{arabic}
158 \usepackage{fancyhdr}
159 \usepackage{extramarks}
161 \usepackage{lastpage}
163 % This stuff is for a shooting script
164 % \lhead{\ifthenelse{ \not \value{page} = 1}{CONTINUED:}{}}
165 % \rfoot{\ifthenelse{ \not \value{page}=\pageref{LastPage}}{(CONT'D)}
166 % {\ifthenelse{\value{page}=\pageref{LastPage}}{(END)}{}}}
169 % This is what we want for a spec script
172 % \renewcommand{\headrulewitdh}{0pt}
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'.