diff options
author | Karl Berry <karl@freefriends.org> | 2012-02-22 23:31:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-02-22 23:31:50 +0000 |
commit | f1ecfdedac68a0b0aff5e22b7b69fb42ce8067c5 (patch) | |
tree | 58262bcd7eeca307f743a8792e6edabe94103e48 /Master/texmf-dist/tex/latex/quoting | |
parent | 1310a1d48b5313b3c4031d440d999d744c1126ae (diff) |
quoting (22feb12)
git-svn-id: svn://tug.org/texlive/trunk@25474 c570f23f-e606-0410-a88d-b1316a301751
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}{% |