summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/interval
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-08-04 22:13:05 +0000
committerKarl Berry <karl@freefriends.org>2014-08-04 22:13:05 +0000
commit2a0b31be5c1f7c36853b609eaa68a2ec0c0161d9 (patch)
treec8d833c575650ff2d9330f769bd22e54820f2079 /Master/texmf-dist/tex/latex/interval
parentbc1323c73038ad7c10b4e6b5328e6933df75f941 (diff)
interval (4aug14)
git-svn-id: svn://tug.org/texlive/trunk@34840 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/interval')
-rw-r--r--Master/texmf-dist/tex/latex/interval/interval.sty9
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/interval/interval.sty b/Master/texmf-dist/tex/latex/interval/interval.sty
index 9cfe823fd95..2e3608504ee 100644
--- a/Master/texmf-dist/tex/latex/interval/interval.sty
+++ b/Master/texmf-dist/tex/latex/interval/interval.sty
@@ -1,6 +1,6 @@
-\ProvidesPackage{interval}[2014/02/20 v0.2]
+\ProvidesPackage{interval}[2014/08/04 v0.3]
-\newcommand\INTVversion{v0.2}
+\newcommand\INTVversion{v0.3}
%%
%% This package can be distributed and/or modified under the
@@ -17,6 +17,7 @@
%%
%% v0.2: typo in manual
+%% v0.3: added the colorize option
\RequirePackage{pgfkeys}
@@ -54,6 +55,7 @@
left open fence={(},%
right open fence={)},%
},%
+ colorize/.initial=,%
}
% user configuation
@@ -66,9 +68,12 @@
\begingroup%
\def\INTV@openfence{\mathopen{\INTV@leftfence}}%
\def\INTV@closefence{\mathclose{\INTV@rightfence}}%
+ \let\INTV@extra\relax%
\pgfkeys{interval,#1}%
\pgfkeysgetvalue{/interval/left fence}{\INTV@leftfence}%
\pgfkeysgetvalue{/interval/right fence}{\INTV@rightfence}%
+ \pgfkeysgetvalue{/interval/colorize}{\INTV@colorize}%
+ \INTV@colorize%
\INTV@openfence%
#2%
%,%