add package for enumeration and setting the enumeration number that is safe from beamer

This commit is contained in:
Maximilian Keßler 2021-09-17 22:45:48 +02:00
parent e78aa8b202
commit 5757d5794a

View file

@ -0,0 +1,8 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-enumerate}
\@ifclassloaded{beamer}{}{
\usepackage[shortlabels]{enumitem}
\newcommand\setItemnumber[1]{\setcounter{enum\romannumeral\@enumdepth}{\numexpr#1-1\relax}}
}