From 6598908b771540a00fea0b58d37243e3f0185bba Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 3 Nov 2006 14:56:45 +0000 Subject: update screenplay git-svn-id: svn://tug.org/texlive/trunk@2385 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/screenplay/hardmarg.sty | 2 +- .../texmf-dist/tex/latex/screenplay/screenplay.cls | 80 +++++++++------------- 2 files changed, 32 insertions(+), 50 deletions(-) (limited to 'Master/texmf-dist/tex/latex/screenplay') diff --git a/Master/texmf-dist/tex/latex/screenplay/hardmarg.sty b/Master/texmf-dist/tex/latex/screenplay/hardmarg.sty index 7264746835a..a7ee5aa5c79 100644 --- a/Master/texmf-dist/tex/latex/screenplay/hardmarg.sty +++ b/Master/texmf-dist/tex/latex/screenplay/hardmarg.sty @@ -32,7 +32,7 @@ %% http://dvc.org.uk/gplv2.txt %% %% +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= -\ProvidesPackage{hardmarg}[2006/10/25 v1.516 +\ProvidesPackage{hardmarg}[2006/11/03 v1.518 For use with class screenplay (C)2006 John Pate released under the GNU General Public License] diff --git a/Master/texmf-dist/tex/latex/screenplay/screenplay.cls b/Master/texmf-dist/tex/latex/screenplay/screenplay.cls index ccce7fb2449..5aea9b6187f 100644 --- a/Master/texmf-dist/tex/latex/screenplay/screenplay.cls +++ b/Master/texmf-dist/tex/latex/screenplay/screenplay.cls @@ -33,13 +33,13 @@ %% %% +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= \NeedsTeXFormat{LaTeX2e}[2003/12/01] -\ProvidesClass{screenplay}[2006/10/25 v1.516 +\ProvidesClass{screenplay}[2006/11/03 v1.518 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}} + {There are no options available for class screenplay v1.518}} \ProcessOptions\relax \RequirePackage{ifthen}[2001/05/26] \LoadClass[12pt,letterpaper,onecolumn,oneside]{article}[2004/02/16] @@ -47,7 +47,7 @@ released under the GNU General Public License] \setlength{\paperheight}{11in} \setlength{\paperwidth}{8.5in} \RequirePackage{courier}[2004/09/15] -\renewcommand*\familydefault{\ttdefault} +\renewcommand*{\familydefault}{\ttdefault} \raggedright \pagenumbering{arabic} \pagestyle{myheadings} @@ -81,55 +81,37 @@ released under the GNU General Public License] \renewcommand*{\textfraction}{1} \renewcommand*{\topfraction}{0} \renewcommand*{\bottomfraction}{0} -\newcommand{\nicholl}[1]{ +\newcommand{\nicholl}{ \thispagestyle{empty} \vspace*{2.25in} -\begin{center}\MakeUppercase{#1}\end{center} +\begin{center}\MakeUppercase{\@title}\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]{ +\newcommand{\@address}{Contact via Agency} +\newcommand{\address}[1]{\renewcommand{\@address}{#1}} +\newcommand{\@agent}{~} +\newcommand{\agent}[1]{\renewcommand{\@agent}{#1}} +\newlength{\titlesepspace} +\setlength{\titlesepspace}{3.75in plus 0in minus 1.5in} +\newcommand{\coverpage}{ \thispagestyle{empty} \vspace*{2.25in} -\begin{center}{\textbf{\MakeUppercase{#2}}}\\ +\begin{center}{\MakeUppercase{\@title}}\\ \vspace{\baselineskip} by\\ \vspace{\baselineskip} -#3\\ -\vspace*{\baselineskip} -\copyspace +\@author \end{center} -\titlesepspace -\parbox[t]{2.0in}{\raggedright#1}\hspace*{2.0in} -\parbox[t]{2.0in}{\raggedright#4} +\vspace{\titlesepspace} +\parbox[t]{2.0in}{\@agent}\hspace{2.0in} +\parbox[t]{2.0in}{\@author\\\@address} \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}}\\* @@ -143,7 +125,7 @@ by\\ }{ \end{minipage} -}%dialogue +} \newcommand{\dialbreak}[2][]{ \\\dialnametab\hbox{\more}% \end{dialogue} @@ -154,7 +136,7 @@ by\\ }{ \begin{dialogue}{\MakeUppercase{#2} \contd} } -}%dialbreak +} \newcommand{\intslug}[2][]{ \MakeUppercase{INT. #2}% @@ -164,7 +146,7 @@ by\\ }{} \nopagebreak -}%intslug +} \newcommand{\extslug}[2][]{ \MakeUppercase{EXT. #2}% @@ -174,7 +156,7 @@ by\\ }{} \nopagebreak -}%extslug +} \newcommand{\intextslug}[2][]{ \MakeUppercase{INT./EXT. #2}% @@ -184,7 +166,7 @@ by\\ }{} \nopagebreak -}%intextslug +} \newcommand{\extintslug}[2][]{ \MakeUppercase{EXT./INT. #2}% @@ -194,7 +176,7 @@ by\\ }{} \nopagebreak -}%extintslug +} \newenvironment{titleover}[1][]{ \ifthenelse{\not\equal{#1}{}} @@ -209,34 +191,34 @@ TITLE OVER: }{ \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}{ -- cgit v1.2.3