diff options
author | Karl Berry <karl@freefriends.org> | 2019-03-06 22:24:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-03-06 22:24:12 +0000 |
commit | 8ed69c4a691d843c39f9eee1cf766a669c713033 (patch) | |
tree | 85acdac3e1ae115673cd9fe6d74c702c8921fe5f /Master/texmf-dist/tex/latex/interval/interval.sty | |
parent | 6103628f0fb4e302640a732dbdf2fb7e602ae016 (diff) |
interval (6mar19)
git-svn-id: svn://tug.org/texlive/trunk@50265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/interval/interval.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/interval/interval.sty | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/interval/interval.sty b/Master/texmf-dist/tex/latex/interval/interval.sty index 2e3608504ee..1aa4ae52346 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/08/04 v0.3] +\ProvidesPackage{interval}[2019/03/06 v0.4] -\newcommand\INTVversion{v0.3} +\newcommand\INTVversion{v0.4} %% %% This package can be distributed and/or modified under the @@ -13,12 +13,9 @@ %% %% This work has the LPPL maintenance status "maintained". %% -%% The Current Maintainer of this work is Lars Madsen (daleif@imf.au.dk). +%% The Current Maintainer of this work is Lars Madsen (daleif@math.au.dk). %% -%% v0.2: typo in manual -%% v0.3: added the colorize option - \RequirePackage{pgfkeys} @@ -60,15 +57,18 @@ % user configuation \newcommand\intervalconfig[1]{\pgfkeys{/interval,#1}} -% name in older doc -\let\intervalsetup\intervalconfig + +\newcommand\intervalsetup{ + \PackageError{interval}{The \string\intervalsetup\space macro has + been removed. Please use \string\intervalconfig\space instead}{} +} \newcommand\interval[3][]{% \begingroup% \def\INTV@openfence{\mathopen{\INTV@leftfence}}% \def\INTV@closefence{\mathclose{\INTV@rightfence}}% - \let\INTV@extra\relax% +% \let\INTV@extra\relax% \pgfkeys{interval,#1}% \pgfkeysgetvalue{/interval/left fence}{\INTV@leftfence}% \pgfkeysgetvalue{/interval/right fence}{\INTV@rightfence}% @@ -76,9 +76,13 @@ \INTV@colorize% \INTV@openfence% #2% - %,% \pgfkeysvalueof{/interval/separator symbol} #3% \INTV@closefence% \endgroup% } + +\newcommand\ointerval[3][]{\interval[open,#1]{#2}{#3}} +\newcommand\linterval[3][]{\interval[open left,#1]{#2}{#3}} +\newcommand\rinterval[3][]{\interval[open right,#1]{#2}{#3}} + |