%% %% This is file `screenplay.cls', %% generated with the docstrip utility. %% %% The original source files were: %% %% screenplay.dtx (with options: `class') %% +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= %% %% Authored by and Copyright (C)2006 by %% John Pate %% http://dvc.org.uk %% Latest version is available as: %% http://dvc.org.uk/sacrific.txt/screenplay.zip %% %% This program is free software; you can redistribute it and/or %% modify it under the terms of the GNU General Public License as %% published by the Free Software Foundation; either version 2 of %% the License, or (at your option) any later version. %% %% This program is distributed in the hope that it will be useful, %% but WITHOUT ANY WARRANTY; without even the implied warranty of %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the %% GNU General Public License for more details. %% %% You should have received a copy of the GNU General Public %% License along with this program; if not, write to the Free %% Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, %% MA 02110-1301 USA %% %% GPL v2 text also available as: %% http://dvc.org.uk/gplv2.txt %% %% +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= \NeedsTeXFormat{LaTeX2e}[2003/12/01] \ProvidesClass{screenplay}[2006/11/04 v1.521 LaTeX2e Draft Screenplay document class (C)2006 John Pate released under the GNU General Public License] \DeclareOption*{% \PackageError{screenplay}{Unwanted option '\CurrentOption'}% {There are no options available for class screenplay v1.521}} \ProcessOptions\relax \RequirePackage{ifthen}[2001/05/26] \LoadClass[12pt,letterpaper,onecolumn,oneside]{article}[2004/02/16] \RequirePackage[dvips,letterpaper]{geometry}[2002/07/08] \setlength{\paperheight}{11in} \setlength{\paperwidth}{8.5in} \RequirePackage{courier}[2004/09/15] \renewcommand*{\familydefault}{\ttdefault} \raggedright \pagenumbering{arabic} \pagestyle{myheadings} \setlength{\baselineskip}{12pt plus 0pt minus 0pt} \renewcommand*{\baselinestretch}{0.8} \newcommand*{\dialfix}{\vspace{2pt}} \setlength{\parskip}{\baselineskip} \setlength{\parindent}{0in} \newcommand*{\slugspace}{\hspace{2.0em plus 0em minus 0em}} \setlength{\evensidemargin}{0.5in} \setlength{\oddsidemargin}{0.5in} \setlength{\topmargin}{-0.5in} \setlength{\headsep}{0.4in} \setlength{\topskip}{0in} \setlength{\textheight}{9.5in} \setlength{\textwidth}{6.0in} \newlength{\widthgutter} \setlength{\widthgutter}{0.1in} \addtolength{\textwidth}{\widthgutter} \newlength{\dialwidth} \setlength{\dialwidth}{3.0in} \newlength{\dialgutter} \setlength{\dialgutter}{0.2in} \addtolength{\dialwidth}{\dialgutter} \newcommand*{\dialtab}{\hspace*{1.5in}} \newcommand*{\dialnametab}{\hspace*{1.2in}} \newlength{\parenwidth} \setlength{\parenwidth}{1.5in} \addtolength{\parenwidth}{\dialgutter} \newcommand*{\parentab}{\hspace{0.7in}} \renewcommand*{\textfraction}{1} \renewcommand*{\topfraction}{0} \renewcommand*{\bottomfraction}{0} \newcommand{\nicholl}{ \thispagestyle{empty} \vspace*{2.25in} \begin{center}\MakeUppercase{\@title}\end{center} \newpage\setcounter{page}{1} } \newcommand{\@address}{Contact via Agency} \newcommand{\address}[1]{\renewcommand{\@address}{#1}} \newcommand{\@agent}{~} \newcommand{\agent}[1]{\renewcommand{\@agent}{#1}} \newlength{\titskip} \setlength{\titskip}{3.75in plus 0in minus 1.5in} \newcommand{\coverpage}{ \thispagestyle{empty} \vspace*{2.25in} \begin{center}{\MakeUppercase{\@title}}\\ \vspace{\baselineskip} by\\ \vspace{\baselineskip} \@author \end{center} \vspace{\titskip} \parbox[t]{2.0in}{\@agent}\hspace{2.0in} \parbox[t]{2.0in}{\@author\\\@address} \newpage\setcounter{page}{1} } \newcommand*{\more}{(MORE)} \newcommand*{\contd}{(CONT'D)} \newcommand{\paren}[2][\\]{% #1\parentab\parbox[t]{\parenwidth}{\raggedright(#2)\dialfix}\\ } \newenvironment{dialogue}[2][]{ \dialtab\dialnametab\hbox{\MakeUppercase{#2}}\\* \dialtab\begin{minipage}[b]{\dialwidth} \dialfix \raggedright \ifthenelse{\not\equal{#1}{}} { \paren[]{#1} }{} }{ \end{minipage} } \newcommand{\dialbreak}[2][]{ \\\dialnametab\hbox{\more}% \end{dialogue} \newpage \ifthenelse{\not\equal{#1}{}} { \begin{dialogue}[#1]{\MakeUppercase{#2} \contd} }{ \begin{dialogue}{\MakeUppercase{#2} \contd} } } \newcommand{\intslug}[2][]{ \MakeUppercase{INT. #2}% \ifthenelse{\not\equal{#1}{}} {% \slugspace\MakeUppercase{#1}\hspace{\fill} }{} \nopagebreak } \newcommand{\extslug}[2][]{ \MakeUppercase{EXT. #2}% \ifthenelse{\not\equal{#1}{}} {% \slugspace\MakeUppercase{#1}\hspace{\fill} }{} \nopagebreak } \newcommand{\intextslug}[2][]{ \MakeUppercase{INT./EXT. #2}% \ifthenelse{\not\equal{#1}{}} {% \slugspace\MakeUppercase{#1}\hspace{\fill} }{} \nopagebreak } \newcommand{\extintslug}[2][]{ \MakeUppercase{EXT./INT. #2}% \ifthenelse{\not\equal{#1}{}} {% \slugspace\MakeUppercase{#1}\hspace{\fill} }{} \nopagebreak } \newenvironment{titleover}[1][]{ \ifthenelse{\not\equal{#1}{}} { TITLE OVER #1: }{ TITLE OVER: }% \\*[\baselineskip] \dialtab\begin{minipage}[b]{\dialwidth} \raggedright }{ \end{minipage} } \newcommand{\titbreak}{ \\\dialnametab\hbox{\more}% \end{titleover} \newpage \begin{titleover}[\contd] } \newcommand{\centretitle}[1]{ TITLE OVER:\\*[\baselineskip] \hspace*{\fill}{#1}\hspace{\fill}\hspace{\widthgutter} } \newcommand{\fadein}{ FADE IN: } \newcommand{\fadeout}{ \hspace*{\fill}FADE OUT:\hspace{\widthgutter} } \newcommand{\intercut}{ \hspace*{\fill}INTERCUT WITH:\hspace{\widthgutter} } \newcommand*{\pov}{P.O.V.} \newcommand*{\revert}{REVERSE \pov} \newcommand{\theend}{ \hspace*{\fill}THE END\hspace{\fill}\hspace{\widthgutter} }%THE END %% %% Hail Eris! All Hail Discordia! %% %% End of file `screenplay.cls'.