%% that could be deleted.
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{hollywood} [1998/10/27 v1.0 uses hollywood.layout]
+\usepackage{fancyhdr}
+\usepackage{extramarks}
+\usepackage{ifthen}
+\usepackage{lastpage}
+\pagestyle{fancy}
\renewcommand{\ref}[1]{#1}
\newcommand\@ptsize{}
\newif\if@restonecol
\DeclareOption{letterpaper}
{\setlength\paperheight {11in}%
\setlength\paperwidth {8.5in}}
+\DeclareFontFamily{OT1}{pcr}{\hyphenchar\font=-1}
+\DeclareFontShape{OT1}{pcr}{m}{n}{<12> pcrr7t}{}
+\DeclareFontFamily{T1}{pcr}{\hyphenchar\font=-1}
+\DeclareFontShape{T1}{pcr}{m}{n}{<12> pcrr8t}{}
\DeclareOption{12pt}{\renewcommand\@ptsize{0}}
\DeclareOption{12pt}{\renewcommand\@ptsize{1}}
\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
\@medpenalty 151
\@highpenalty 301
\setcounter{topnumber}{2}
-% \renewcommand{\headrulewidth}{0pt}
+\renewcommand{\headrulewidth}{0pt}
\renewcommand\topfraction{.7}
\setcounter{bottomnumber}{1}
\renewcommand\bottomfraction{.3}
\null\vfil
\vskip 60\p@
\begin{center}%
- { \underline{\@title} \par}%
+%% { \underline{\@title} \par}%
+ { \@title \par}%
\vskip 3em%
{\lineskip .75em%
\begin{tabular}[t]{c}%
\else
\onecolumn
\fi
-\newenvironment{fadein}%
-{\begin{list}{}{%
-\leftmargin \rightmargin}
-\item[]FADE IN:\ignorespaces}
-{\unskip \end{list}}
+% This stuff is for a shooting script
+% \lhead{\ifthenelse{ \not \value{page} = 1}{CONTINUED:}{}}
+% \rfoot{\ifthenelse{ \not \value{page}=\pageref{LastPage}}{(CONT'D)}
+% {\ifthenelse{\value{page}=\pageref{LastPage}}{(END)}{}}}
-\newenvironment{interior}%
-{\filbreak
-\begin{list}{}{%
-\leftmargin \rightmargin}
-\item[]INT. \ignorespaces}
-{\unskip \end{list}}
-\newenvironment{exterior}%
-{filbreak
-\begin{list}{}{%
-\leftmargin \rightmargin}
-\item[]EXT. \ignorespaces}
-{\unskip \end{list}}
+% This is what we want for a spec script
+\rhead{\thepage.}
+\cfoot{}
+ % This one is needed to get real adobe courier, but you can use
+ % cmtt which is also correct
+ \renewcommand{\familydefault}{pcr}
+ % This is to negate the effect of the ~ that LyX adds everywhere
+ \let~=\space
+ % this protects you against the fact that TeX does not want to
+ % hyphenate in typewriter font. It is possible to enable
+ % hyphenation, but I do not remember how.
+ % That's good because we -do not- want any hyphenation.
+ \sloppy
+\newcommand{\fadein}[1]{\filbreak\raggedright\par FADE IN: \uppercase{#1}}%
+\newcommand{\fadeout}{\filbreak\raggedright\par FADE OUT }%
+\newcommand{\interiorshot}[1]{\filbreak\raggedright\par INT. \uppercase{#1}}%
+\newcommand{\exteriorshot}[1]{\filbreak\raggedright\par EXT. \uppercase{#1}}%
-\newenvironment{dialogue}%
+\newcommand{\dialogue}[1]%
{\raggedright
-\begin{list}{}{%
- \setlength{\leftmargin}{1.2in}
- \setlength{\rightmargin}{1.2in}
-\setlength{\parsep}{0mm}
-\setlength{\topsep}{0mm}}
-\item[] \ignorespaces}
-{\unskip \end{list}}
-
-\newenvironment{narrative}%
-{\filbreak
-\raggedright
-\begin{list}{}{%
-\leftmargin \rightmargin
-\setlength{\parsep}{2mm}
-\setlength{\topsep}{2mm}}
-\item[] \ignorespaces}
-{\unskip \end{list}}
+\hspace{1in}
+\parbox{4in}{#1}
+\vspace{6pt}
+}
-\newenvironment{speaker}%
+\newcommand{\narrative}[1]%
{\filbreak
-\begin{list}{}{%
- \setlength{\leftmargin}{2.5in}
-\setlength{\partopsep}{4mm}
-\setlength{\parsep}{0mm}
-\setlength{\topsep}{0mm}}
-\item[] \ignorespaces}
-{\unskip \end{list}}
+\vspace{6pt}
+\raggedright{#1}
+\vspace{6pt}
+}
-\newenvironment{parenthetical}%
-{\begin{list}{}{%
- \setlength{\leftmargin}{2in}
-\setlength{\parsep}{0mm}
-\setlength{\topsep}{0mm}}
- \item[](\ignorespaces}
-{\unskip)\end{list}}
-\newenvironment{fadeout}%
+\newcommand{\speaker}[1]%
{\filbreak
-\begin{list}{}{%
-\leftmargin \rightmargin}
-\item[]FADE OUT: \ignorespaces}
-{\unskip \end{list}}
+\vspace{12pt}
+\hspace{2.25in}{#1}
+\vspace{6pt}
+}
+\newcommand{\parenthetical}[1]%
+{\raggedright
+\hspace{1.75in}
+\parbox{1.5in}{(#1)}
+\vspace{6pt}}
\endinput
%%