summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/eqexpl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-07-01 21:12:25 +0000
committerKarl Berry <karl@freefriends.org>2019-07-01 21:12:25 +0000
commit2717d0fe451cea4e239315a39487ea999a06c507 (patch)
treef4face7ff2475a4c22491827624639e60d3cd92c /Master/texmf-dist/tex/latex/eqexpl
parentc65b3647e380ddcf394b1e2a3439060f1089e95e (diff)
eqexpl (1jul19)
git-svn-id: svn://tug.org/texlive/trunk@51524 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/eqexpl')
-rw-r--r--Master/texmf-dist/tex/latex/eqexpl/eqexpl.sty10
1 files changed, 7 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/eqexpl/eqexpl.sty b/Master/texmf-dist/tex/latex/eqexpl/eqexpl.sty
index e07d7d9797b..dfdd46779c0 100644
--- a/Master/texmf-dist/tex/latex/eqexpl/eqexpl.sty
+++ b/Master/texmf-dist/tex/latex/eqexpl/eqexpl.sty
@@ -1,5 +1,9 @@
-\ProvidesPackage{eqexpl}[2018/11/11 v.1]
+%% The package is licenced under Creative Commons Attribution-ShareAlike
+%% 4.0 International (CC BY-SA 4.0)
+
+\ProvidesPackage{eqexpl}[2019/05/15 v. 1.1]
\RequirePackage{etoolbox}
+\RequirePackage{xparse}
\RequirePackage{calc}
%% Spaces between elements
@@ -47,7 +51,7 @@
\eqexplSpaceWidth}%
\newtoggle{eqexplFirstItem}%
\toggletrue{eqexplFirstItem}%
- \renewcommand{\item}[1]{%
+ \RenewDocumentCommand{\item}{ m O{\eqexplDelim}}{%
\olditem \makebox[\leftSideWidth]{%
\ifdefempty{\eqexplIntro}{}{
\makebox[\widthof{\eqexplIntro}][l]{\iftoggle{eqexplFirstItem}{\eqexplIntro}{}}%
@@ -55,7 +59,7 @@
}
\makebox[\itemWidth][\eqexplItemAlign]{##1}%
\hspace{\eqexplSpaceWidth}%
- \makebox[\widthof{\eqexplDelim}][c]{\eqexplDelim}%
+ \makebox[\widthof{##2}][c]{##2}%
\hspace{\eqexplSpaceWidth}%
}%
\togglefalse{eqexplFirstItem}%