add proper SetItemNumber macro
This commit is contained in:
parent
0f6a9d112e
commit
f3dda43639
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@ __HEADER__(Simple enumeration package wrapper. Handles custom number setting and
|
||||||
\RequirePackage[shortlabels]{enumitem}
|
\RequirePackage[shortlabels]{enumitem}
|
||||||
\RequirePackage{tikz}
|
\RequirePackage{tikz}
|
||||||
\newcommand\setItemnumber[1]{\setcounter{enum\romannumeral\@enumdepth}{\numexpr#1-1\relax}}
|
\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{
|
\def__PACKAGE_MACRO__(drawcircle)#1{
|
||||||
\tikz[baseline=(char.base)]{
|
\tikz[baseline=(char.base)]{
|
||||||
|
|
Loading…
Reference in a new issue