1 %% Author: Garst R. Reese reese@isn.net
2 %% This is file `broadway.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{broadway} [1999/02/09 v1.0 uses broadway.layout]
10 %\newcounter{scene}[act]
11 \renewcommand{\ref}[1]{#1}
12 \renewcommand{\theact}{\Roman{act}}
13 %\renewcommand{\thescene}{SCENE\arabic{scene}}
19 \DeclareOption{letterpaper}
20 {\setlength\paperheight {11in}%
21 \setlength\paperwidth {8.5in}}
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\topfraction{.7}
46 \setcounter{bottomnumber}{1}
47 \renewcommand\bottomfraction{.3}
48 \setcounter{totalnumber}{3}
49 \renewcommand\textfraction{.2}
50 \renewcommand\floatpagefraction{.5}
51 \setcounter{dbltopnumber}{2}
52 \renewcommand\dbltopfraction{.7}
53 \renewcommand\dblfloatpagefraction{.5}
56 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
60 \let\@oddfoot\@empty\let\@evenfoot\@empty
61 \def\@evenhead{\thepage\hfil\slshape\leftmark}%
62 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
63 \let\@mkboth\@gobbletwo
66 \newcommand{\address}{\renewcommand{\@address}}
67 \newcommand{\@address}{}
68 \newcommand\maketitle{\begin{titlepage}%
69 \let\footnotesize\small
70 \let\footnoterule\relax
71 \let \footnote \thanks
75 { \underline{\@title} \par}%
78 \begin{tabular}[t]{c}%
92 \setcounter{footnote}{0}%
93 \global\let\thanks\relax
94 \global\let\maketitle\relax
95 % \global\let\@address\@empty
96 \global\let\@thanks\@empty
97 \global\let\@author\@empty
98 \global\let\@date\@empty
99 \global\let\@title\@empty
100 % \global\let\address\relax
101 \global\let\title\relax
102 \global\let\author\relax
103 \global\let\date\relax
104 \global\let\and\relax
107 \setlength\leftmargini {2.5em}
108 \leftmargin \leftmargini
109 \setlength \labelsep {.1em}
110 \setlength \labelwidth{\leftmargini}
111 \addtolength\labelwidth{-\labelsep}
112 \@beginparpenalty -\@lowpenalty
113 \@endparpenalty -\@lowpenalty
114 \@itempenalty -\@lowpenalty
115 %\renewcommand\theenumi{\@arabic\c@enumi}
116 %\newcommand\labelenumi{SCENE\theenumi.}
117 %\renewcommand\p@enumii{\theenumi}
118 %\newcommand\labelitemi{\textbullet}
119 \newenvironment{titlepage}
122 \@restonecoltrue\onecolumn
124 \@restonecolfalse\newpage
126 \thispagestyle{empty}%
127 \setcounter{page}\@ne
129 {\if@restonecol\twocolumn \else \newpage \fi
131 \setcounter{page}\@ne
134 \setlength\tabbingsep{\labelsep}
135 \skip\@mpfootins = \skip\footins
136 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
137 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
138 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
139 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
140 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
141 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
142 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
143 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
144 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
145 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
146 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
147 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
148 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
149 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
150 \newcommand\@pnumwidth{1.55em}
151 \newcommand\@tocrmarg{2.55em}
152 \newcommand\@dotsep{4.5}
153 \setcounter{tocdepth}{2}
154 \setlength\columnsep{10\p@}
155 \setlength\columnseprule{0\p@}
157 \pagenumbering{arabic}
170 \newenvironment{atrise}%
173 \leftmargin \rightmargin}
174 \item[]AT RISE:\ignorespaces}
177 \newenvironment{scene}%
182 \item[]SCENE \ignorespaces}
183 {\unskip \end{center}}
185 \newenvironment{act}%
188 %\setcounter{scene}{0}
191 \item[]ACT \theact \ignorespaces}
192 {\unskip \end{center}}
194 \newenvironment{dialogue}%
197 \setlength{\leftmargin}{.5in}
198 \setlength{\rightmargin}{.5in}
199 \setlength{\parsep}{0mm}
200 \setlength{\topsep}{0mm}}
201 \item[] \ignorespaces}
204 \newenvironment{narrative}%
207 \fontshape{it}\selectfont{}
209 \setlength{\leftmargin}{0in}
210 \setlength{\rightmargin}{0in}
211 \setlength{\parsep}{2mm}
212 \setlength{\topsep}{2mm}}
213 \item[] \ignorespaces}
216 \newenvironment{speaker}%
220 \setlength{\parsep}{0mm}
221 \setlength{\topsep}{2mm}}
222 \item[] \ignorespaces}
223 {\unskip \end{center}}
225 \newenvironment{parenthetical}%
226 {\fontshape{it}\selectfont{}
229 \setlength{\parsep}{0mm}
230 \setlength{\topsep}{0mm}}
231 \item[](\ignorespaces}
232 {\unskip)\end{center}}
236 %% End of file `broadway.cls'.