summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/pdfcolparcolumns.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-01-13 00:02:38 +0000
committerKarl Berry <karl@freefriends.org>2010-01-13 00:02:38 +0000
commitdc30361cc7b17d023d5808b86cd735d319755728 (patch)
treef185188a9a07cf916fbe23b041afc47ce3464c2d /Master/texmf-dist/tex/latex/oberdiek/pdfcolparcolumns.sty
parentd428659aa47ecd5bedaa68a25a52ce59b00e7904 (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/pdfcolparcolumns.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/pdfcolparcolumns.sty37
1 files changed, 34 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/pdfcolparcolumns.sty b/Master/texmf-dist/tex/latex/oberdiek/pdfcolparcolumns.sty
index 90a0a6a9619..9e220223854 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/pdfcolparcolumns.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/pdfcolparcolumns.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{pdfcolparcolumns}%
- [2008/08/11 v1.2 Color stacks support for parcolumns (HO)]%
+ [2010/01/11 v1.3 Color stacks support for parcolumns (HO)]%
\DeclareOption*{%
\PassoptionsToPackage{\CurrentOption}{parcolumns}%
}
@@ -148,7 +149,10 @@
\strut
\hfill
\ifpc@rulebetween
- \vrule
+ \begingroup
+ \pcpc@RuleBetweenColor
+ \vrule
+ \endgroup
\hfill
\fi
\fi
@@ -156,6 +160,33 @@
}%
\@tempa
}
+\def\pcpc@RuleBetweenColorDefault{%
+ \normalcolor
+}
+\let\pcpc@RuleBetweenColor\pcpc@RuleBetweenColorDefault
+\define@key{parcolumns}{rulebetweencolor}{%
+ \edef\pcpc@temp{#1}%
+ \ifx\pcpc@temp\@empty
+ \let\pcpc@RuleBetweenColor\pcpc@RuleBetweenColorDefault
+ \else
+ \edef\pcpc@temp{%
+ \noexpand\@ifnextchar[{%
+ \def\noexpand\pcpc@RuleBetweenColor{%
+ \noexpand\color\pcpc@temp
+ }%
+ \noexpand\pcpc@GobbleNil
+ }{%
+ \def\noexpand\pcpc@RuleBetweenColor{%
+ \noexpand\color{\pcpc@temp}%
+ }%
+ \noexpand\pcpc@GobbleNil
+ }%
+ \pcpc@temp\noexpand\@nil
+ }%
+ \pcpc@temp
+ \fi
+}
+\long\def\pcpc@GobbleNil#1\@nil{}
\endinput
%%
%% End of file `pdfcolparcolumns.sty'.