X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Ftex%2Fbroadway.cls;h=0b2e5b4ec16c1dd78d8375664132a9017a857ea7;hb=49603e91aa6ef255c7900c3b5588a13f0e2cedea;hp=fbdbdc40d48d4b90a420db555f0b07d9ec1c5c25;hpb=a4163d8238b122e4dd3721528b9f29a99fbd007d;p=lyx.git diff --git a/lib/tex/broadway.cls b/lib/tex/broadway.cls index fbdbdc40d4..0b2e5b4ec1 100644 --- a/lib/tex/broadway.cls +++ b/lib/tex/broadway.cls @@ -2,7 +2,7 @@ %% This is file `broadway.cls', which provides a format for writing %% plays. %% Derived from report.cls. There is probably still a lot of stuff -%% that could be deleted. +%% that could be deleted. \NeedsTeXFormat{LaTeX2e} \ProvidesClass{broadway} [1999/02/09 v1.0 uses broadway.layout] \renewcommand{\ref}[1]{#1} @@ -173,53 +173,36 @@ \newcommand{\TheTitle}{} \newcommand{\Title}[1]{\renewcommand{\TheTitle}{#1}} -\newenvironment{dialogue}% +\newcommand{\dialogue}[1]% {\raggedright -\begin{list}{}{% - \setlength{\leftmargin}{.5in} - \setlength{\rightmargin}{.5in} -\setlength{\parsep}{0mm} -\setlength{\topsep}{0mm}} -\item[] \ignorespaces} -{\unskip \end{list}}% +\hspace{1in} +\parbox{4in}{#1} +} -\newenvironment{narrative}% -{\raggedright -\filbreak -\fontshape{it}\selectfont{} -\begin{list}{}{% - \setlength{\leftmargin}{0in} - \setlength{\rightmargin}{0in} -\setlength{\parsep}{2mm} -\setlength{\topsep}{2mm}} -\item[] \ignorespaces} -{\unskip \end{list}} +\newcommand{\narrative}[1]% +{\filbreak +\raggedright{#1} +} -\newenvironment{speaker}% +\newcommand{\speaker}[1]% {\filbreak -\begin{center}{}{% -\center -\setlength{\parsep}{0mm} -\setlength{\topsep}{2mm}} -\vspace{-24bp} -\item[] \ignorespaces} -{\unskip \end{center}} +\vspace{12pt} +\hspace{2.25in}{#1} +\vspace{6pt} +} + +\newcommand{\parenthetical}[1]% +{\raggedright +\hspace{1.75in} +\parbox{3in}{(#1)} +\vspace{6pt}} -\newenvironment{parenthetical}% -{\fontshape{it}\selectfont{} -\begin{center}{}{% -\center -\vspace{-30bp} -\setlength{\parsep}{0mm} -\setlength{\topsep}{0mm}} - \item[](\ignorespaces} -{\unskip )\end{center}} \newcounter{actctr} \newcounter{scenectr}[actctr] \renewcommand{\theactctr}{\Roman{actctr}} \renewcommand{\thescenectr}{\arabic{scenectr}} -\providecommand{\atrise}{\par\raggedright AT RISE: }% -\providecommand{\scenestar}{\filbreak\par\centering SCENE }% +\providecommand{\atrise}[1]{\par\raggedright AT RISE: #1 }% +\providecommand{\scenestar}[1]{\filbreak\par\centering SCENE #1 }% \providecommand{\scene}{% \filbreak\par\stepcounter{scenectr}\centering SCENE \thescenectr}% \providecommand{\act}{%