summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/macrolist/macrolist.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/macrolist/macrolist.sty')
-rw-r--r--Master/texmf-dist/tex/latex/macrolist/macrolist.sty3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/macrolist/macrolist.sty b/Master/texmf-dist/tex/latex/macrolist/macrolist.sty
index 03cf5a54166..75d07fba281 100644
--- a/Master/texmf-dist/tex/latex/macrolist/macrolist.sty
+++ b/Master/texmf-dist/tex/latex/macrolist/macrolist.sty
@@ -15,7 +15,7 @@
%% version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{macrolist}[2021/07/16 v1.0.1 Create lists of macros and perform operations on them]
+\ProvidesPackage{macrolist}[2021/07/22 v1.1.0 Create lists of macros and perform operations on them]
\RequirePackage{pgffor}
@@ -27,6 +27,7 @@
\setcounter{macrolist@list@#1}{0}
\fi
}
+\newcommand{\listexists}[3]{\ifcsname c@macrolist@list@#1\endcsname#2\else#3\fi}
\newcommand{\listelement}[2]{%
\macrolist@inbounds{#1}{#2}%
\csname macrolist@list@#1\the\numexpr #2\relax\endcsname%