diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/quoting')
-rw-r--r-- | Master/texmf-dist/tex/latex/quoting/quoting.sty | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/quoting/quoting.sty b/Master/texmf-dist/tex/latex/quoting/quoting.sty index 4d177b91d41..120ed1fed5b 100644 --- a/Master/texmf-dist/tex/latex/quoting/quoting.sty +++ b/Master/texmf-dist/tex/latex/quoting/quoting.sty @@ -6,7 +6,7 @@ %% %% quoting.dtx (with options: `package') %% -%% Copyright (C) 2011 by Thomas Titz <thomas.titz@chello.at> +%% Copyright (C) 2011--2012 by Thomas Titz <thomas.titz@chello.at> %% %% Permission is granted to distribute and/or modify this work under the %% terms of the LaTeX Project Public License (LPPL), version 1.3c or @@ -19,7 +19,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{quoting} - [2011/09/08 v0.1a Consolidated environment for displayed text] + [2012/02/21 v0.1b Consolidated environment for displayed text] \RequirePackage{etoolbox,kvoptions} \SetupKeyvalOptions{family=quo,prefix=quo@} \def\quo@in@false{\def\quo@indentfirsttype{0}} @@ -35,11 +35,16 @@ \setkeys{quo}{indentfirst=auto} \newcommand*{\quotingfont}{} \define@key{quo}{font}{% - \def\quotingfont{\csname #1\endcsname}% + \def\quotingfont{}% + \renewcommand*{\do}[1]{\appto{\quotingfont}{\csname ##1\endcsname}}% + \docsvlist{#1}% } \define@key{quo}{font+}{% - \appto{\quotingfont}{\csname #1\endcsname}% + \renewcommand*{\do}[1]{\appto{\quotingfont}{\csname ##1\endcsname}}% + \docsvlist{#1}% } +\DeclareStringOption{begintext} +\DeclareStringOption{endtext} \DeclareStringOption[\leftmargin]{leftmargin} \DeclareStringOption[\quo@leftmargin]{rightmargin} \newlength{\quo@toppartop} @@ -125,7 +130,9 @@ }{% }% \quotingfont + \quo@begintext\ignorespaces }{% + \unskip\quo@endtext \endlist \boolfalse{@endpe}% \ifbool{quo@noorphanafter}{% |