%% %% 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/10/25 v1.516 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.516}} \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}[1]{ \thispagestyle{empty} \vspace*{2.25in} \begin{center}\MakeUppercase{#1}\end{center} \newpage\setcounter{page}{1} }%nicholl \newcommand*{\titlesepspace}{\vspace{3.75in plus 0in minus 1.5in}} \newcommand*{\copyspace}{\vspace*{2ex plus 0ex minus 0ex}} \newcommand{\titleauthor}[4][]{ \thispagestyle{empty} \vspace*{2.25in} \begin{center}{\textbf{\MakeUppercase{#2}}}\\ \vspace{\baselineskip} by\\ \vspace{\baselineskip} #3\\ \vspace*{\baselineskip} \ifthenelse{\not\equal{#1}{}} { \scriptsize\copyright\normalsize#1 }{ \copyspace } \end{center} \titlesepspace \hspace*{4.0in}\parbox[t]{2.0in}{\raggedright#4} \newpage\setcounter{page}{1} }%titleauthor \newcommand{\titleextra}[4]{ \thispagestyle{empty} \vspace*{2.25in} \begin{center}{\textbf{\MakeUppercase{#2}}}\\ \vspace{\baselineskip} by\\ \vspace{\baselineskip} #3\\ \vspace*{\baselineskip} \copyspace \end{center} \titlesepspace \parbox[t]{2.0in}{\raggedright#1}\hspace*{2.0in} \parbox[t]{2.0in}{\raggedright#4} \newpage\setcounter{page}{1} }%titleextra \newcommand*{\more}{(MORE)} \newcommand*{\contd}{(CONT'D)} \newcommand{\paren}[2][\\]{% #1\parentab\parbox[t]{\parenwidth}{\raggedright(#2)\dialfix}\\ }%paren \newenvironment{dialogue}[2][]{ \dialtab\dialnametab\hbox{\MakeUppercase{#2}}\\* \dialtab\begin{minipage}[b]{\dialwidth} \dialfix \raggedright \ifthenelse{\not\equal{#1}{}} { \paren[]{#1} }{} }{ \end{minipage} }%dialogue \newcommand{\dialbreak}[2][]{ \\\dialnametab\hbox{\more}% \end{dialogue} \pagebreak \ifthenelse{\not\equal{#1}{}} { \begin{dialogue}[#1]{\MakeUppercase{#2} \contd} }{ \begin{dialogue}{\MakeUppercase{#2} \contd} } }%dialbreak \newcommand{\intslug}[2][]{ \MakeUppercase{INT. #2}% \ifthenelse{\not\equal{#1}{}} {% \slugspace\MakeUppercase{#1}\hspace{\fill} }{} \nopagebreak }%intslug \newcommand{\extslug}[2][]{ \MakeUppercase{EXT. #2}% \ifthenelse{\not\equal{#1}{}} {% \slugspace\MakeUppercase{#1}\hspace{\fill} }{} \nopagebreak }%extslug \newcommand{\intextslug}[2][]{ \MakeUppercase{INT./EXT. #2}% \ifthenelse{\not\equal{#1}{}} {% \slugspace\MakeUppercase{#1}\hspace{\fill} }{} \nopagebreak }%intextslug \newcommand{\extintslug}[2][]{ \MakeUppercase{EXT./INT. #2}% \ifthenelse{\not\equal{#1}{}} {% \slugspace\MakeUppercase{#1}\hspace{\fill} }{} \nopagebreak }%extintslug \newenvironment{titleover}[1][]{ \ifthenelse{\not\equal{#1}{}} { TITLE OVER #1: }{ TITLE OVER: }% \\*[\baselineskip] \dialtab\begin{minipage}[b]{\dialwidth} \raggedright }{ \end{minipage} }%titleover \newcommand{\titbreak}{ \\\dialnametab\hbox{\more}% \end{titleover} \pagebreak \begin{titleover}[\contd] }%titbreak \newcommand{\centretitle}[1]{ TITLE OVER:\\*[\baselineskip] \hspace*{\fill}{#1}\hspace{\fill}\hspace{\widthgutter} }%centretitle \newcommand{\fadein}{ FADE IN: }%fadein \newcommand{\fadeout}{ \hspace*{\fill}FADE OUT:\hspace{\widthgutter} }%fadeout \newcommand{\intercut}{ \hspace*{\fill}INTERCUT WITH:\hspace{\widthgutter} }%intercut \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'.