latex-packages/wip/enumerate.pysty

7 lines
261 B
Text
Raw Normal View History

2021-10-06 20:16:07 +02:00
__HEADER__(Simple enumeration package wrapper. Handles custom number setting and beamer class.)
\@ifclassloaded{beamer}{}{
\usepackage[shortlabels]{enumitem}
\newcommand\setItemnumber[1]{\setcounter{enum\romannumeral\@enumdepth}{\numexpr#1-1\relax}}
}