diff --git a/src/wrappers/enumerate/enumerate.pysty b/src/wrappers/enumerate/enumerate.pysty index 546a4d8..e85edd7 100644 --- a/src/wrappers/enumerate/enumerate.pysty +++ b/src/wrappers/enumerate/enumerate.pysty @@ -4,6 +4,10 @@ __HEADER__(Simple enumeration package wrapper. Handles custom number setting and \RequirePackage[shortlabels]{enumitem} \RequirePackage{tikz} \newcommand\setItemnumber[1]{\setcounter{enum\romannumeral\@enumdepth}{\numexpr#1-1\relax}} + \NewDocumentCommand{\SetItemNumber}{m} + { + \setcounter{enum\romannumeral\@enumdepth}{\numexpr#1-1\relax} + } \def__PACKAGE_MACRO__(drawcircle)#1{ \tikz[baseline=(char.base)]{