summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/thalie/thalie.sty60
1 files changed, 45 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/thalie/thalie.sty b/Master/texmf-dist/tex/latex/thalie/thalie.sty
index f746cd2bc96..bb6f82f0916 100644
--- a/Master/texmf-dist/tex/latex/thalie/thalie.sty
+++ b/Master/texmf-dist/tex/latex/thalie/thalie.sty
@@ -5,7 +5,7 @@
%% The original source files were:
%%
%% thalie.dtx (with options: `package')
-%% Copyright 2013 Louis Paternault
+%% Copyright 2014 Louis Paternault
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -23,7 +23,7 @@
%% and the derived file thalie.sty.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{thalie}
- [2013/06/08 v0.5 A package to typeset drama plays]
+ [2014/06/26 v0.6 A package to typeset drama plays]
\RequirePackage{ifthen}
\RequirePackage{etoolbox}
\RequirePackage{suffix}
@@ -41,6 +41,9 @@
characterstyle/center/.code=\def\@characterstyle{center},
characterstyle/margin/.code=\def\@characterstyle{margin},
characterstyle/simple/.code=\def\@characterstyle{simple},
+ characterstyle/arden/.code=\def\@characterstyle{arden},
+ characterstyle/imprimerie-verse/.code=\def\@characterstyle{imprimerie-verse},
+ characterstyle/imprimerie-prose/.code=\def\@characterstyle{imprimerie-prose},
characterstyle,
}
@@ -229,7 +232,7 @@
\ifthenelse{\equal{\@short}{}}{
\def\@label{\actname{} \theact{}}
}{
- \def\@label{\actname{} \theact{}: }
+ \def\@label{\actname{} \theact{}\xspace: }
}
\@clearpage{\@actlevel}
\actmark{\@label\@short}
@@ -258,7 +261,7 @@
\ifthenelse{\equal{\@short}{}}{
\def\@label{\scenename{} \thescene{}}
}{
- \def\@label{\scenename{} \thescene{}: }
+ \def\@label{\scenename{} \thescene{}\xspace: }
}
\@clearpage{\@scenelevel}
\scenemark{\@label\@short}
@@ -286,7 +289,7 @@
\ifthenelse{\equal{\@short}{}}{
\def\@label{\interludename{}}
}{
- \def\@label{\interludename{}: }
+ \def\@label{\interludename{}\xspace: }
}
\ifthenelse{\equal{\@interludelevel}{play}}{
\@clearpage{\@playlevel}
@@ -333,11 +336,11 @@
% Bold style
\newcommand\speakswithdirection[2]{%
\noindent%
- {\bfseries\sffamily #1} \did{#2}{\bfseries\sffamily :}%
+ {\bfseries\sffamily #1} \emph{(#2)}\xspace:%
}
\newcommand\speakswithoutdirection[1]{%
\noindent%
- {\bfseries\sffamily #1 :}%
+ {\bfseries\sffamily #1\xspace:}%
}%
}{}%
\ifthenelse{\equal{\@characterstyle}{center}}{%
@@ -353,15 +356,43 @@
\end{center}%
}%
}{}%
+\ifthenelse{\equal{\@characterstyle}{imprimerie-verse}}{%
+ % Style for verse plays defined by the French Imprimerie nationale
+ \newcommand\speakswithdirection[2]{%
+ \begin{center}%
+ \textsc{#1}, \emph{#2}%
+ \end{center}%
+ }%
+ \newcommand\speakswithoutdirection[1]{%
+ \begin{center}%
+ \textsc{#1}%
+ \end{center}%
+ }%
+}{}%
+\ifthenelse{\equal{\@characterstyle}{imprimerie-prose}}{%
+ % Style for prose plays defined by the French Imprimerie nationale
+ \newcommand\speakswithdirection[2]{%
+ \noindent\hspace*{-\parindent}\textsc{#1}, \emph{#2}\xspace:%
+ }%
+ \newcommand\speakswithoutdirection[1]{%
+ \noindent\hspace*{-\parindent}\textsc{#1}\xspace:%
+ }%
+}{}%
+\ifthenelse{\equal{\@characterstyle}{arden}}{%
+ \newcommand\speakswithdirection[2]{%
+ \noindent\hspace*{-\parindent}\textsc{\MakeLowercase{#1}} [\emph{#2}]\quad%
+ }%
+ \newcommand\speakswithoutdirection[1]{%
+ \noindent\hspace*{-\parindent}\textsc{\MakeLowercase{#1}}\quad%
+ }%
+}{}%
\ifthenelse{\equal{\@characterstyle}{simple}}{%
% Simple style
\newcommand\speakswithdirection[2]{%
- \medskip%
- \indent\textsc{#1}, \emph{#2} :%
+ \indent\textsc{#1}, \emph{#2}\xspace:%
}%
\newcommand\speakswithoutdirection[1]{%
- \medskip%
- \indent\textsc{#1} :%
+ \indent\textsc{#1}\xspace:%
}%
}{}%
\ifthenelse{\equal{\@characterstyle}{margin}}{%
@@ -421,7 +452,7 @@
\newenvironment{charactergroup}[1]{%
\gdef\@groupname{#1}
\gappto{\@dramatis@hook}{
- \begin{math}\left.
+ \hspace{-7.2pt}\begin{math}\left.
\begin{tabular}{ll}
}
}{%
@@ -461,7 +492,7 @@
\@ifundefined{#1name}{%
}{%
\ClassError{thalie}{%
- A command named \@backslashchar#1name already exists. We cannont define a
+ A command named \@backslashchar#1name already exists. We cannot define a
new one.%
}{%
Choose another command name to introduce character #2's lines, such that
@@ -521,10 +552,9 @@
\newcommand{\disposablecharacter}[2][]{%
\@speaks[#1]{#2}%
}
-\newcommand{\onstage}[1]{{\centering \emph{#1}\\}}
+\newcommand{\onstage}[1]{{\centering \emph{#1}\par\medskip}}
\newcommand{\did}[1]{\emph{(#1)} }
\newenvironment{dida}{%
- \medskip
\begin{quote}
\begin{em}
}{%