diff options
author | Karl Berry <karl@freefriends.org> | 2010-01-13 00:02:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-01-13 00:02:38 +0000 |
commit | dc30361cc7b17d023d5808b86cd735d319755728 (patch) | |
tree | f185188a9a07cf916fbe23b041afc47ce3464c2d /Master/texmf-dist/tex/latex/oberdiek/pdfcolparallel.sty | |
parent | d428659aa47ecd5bedaa68a25a52ce59b00e7904 (diff) |
oberdiek update (12jan10)
git-svn-id: svn://tug.org/texlive/trunk@16689 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/pdfcolparallel.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/pdfcolparallel.sty | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/pdfcolparallel.sty b/Master/texmf-dist/tex/latex/oberdiek/pdfcolparallel.sty index 4bd44d59dac..48b73a00729 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/pdfcolparallel.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/pdfcolparallel.sty @@ -8,7 +8,8 @@ %% %% This is a generated file. %% -%% Copyright (C) 2007, 2008 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% Copyright (C) 2007, 2008, 2010 by +%% Heiko Oberdiek <oberdiek@uni-freiburg.de> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -29,7 +30,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{pdfcolparallel}% - [2008/08/11 v1.2 Fixed parallel with color stacks support (HO)]% + [2010/01/11 v1.3 Fixed parallel with color stacks support (HO)]% \DeclareOption*{% \PassoptionsToPackage{\CurrentOption}{parallel}% } @@ -412,7 +413,10 @@ \strut \ifnum\ParallelBoolMid=\@ne \hskip\ParallelMainMidSkip - \vrule + \begingroup + \pcp@RuleBetweenColor + \vrule + \endgroup \else \hss \fi @@ -444,6 +448,34 @@ \pcp@SetCurrent{}% \fi } +\def\pcp@RuleBetweenColorDefault{% + \normalcolor +} +\let\pcp@RuleBetweenColor\pcp@RuleBetweenColorDefault +\RequirePackage{keyval} +\define@key{parallel}{rulebetweencolor}{% + \edef\pcp@temp{#1}% + \ifx\pcp@temp\@empty + \let\pcp@RuleBetweenColor\pcp@RuleBetweenColorDefault + \else + \edef\pcp@temp{% + \noexpand\@ifnextchar[{% + \def\noexpand\pcp@RuleBetweenColor{% + \noexpand\color\pcp@temp + }% + \noexpand\pcp@GobbleNil + }{% + \def\noexpand\pcp@RuleBetweenColor{% + \noexpand\color{\pcp@temp}% + }% + \noexpand\pcp@GobbleNil + }% + \pcp@temp\noexpand\@nil + }% + \pcp@temp + \fi +} +\long\def\pcp@GobbleNil#1\@nil{} \endinput %% %% End of file `pdfcolparallel.sty'. |