I am having trouble doing deep enumeration, that is: 1., then 1.1., then 1.1.1., ...
I manage to do this up until the fourth level: 1.1.1.1.
However, the fifth level fails, and I don't understand why.
My code is:
\renewcommand{\labelenumii}{\theenumii}
\renewcommand{\labelenumiii}{\theenumiii}
\renewcommand{\labelenumiv}{\theenumiv}
\renewcommand{\labelenumv}{\theenumv}
\renewcommand{\theenumii}{\theenumi.\arabic{enumii}.}
\renewcommand{\theenumiii}{\theenumii\arabic{enumiii}.}
\renewcommand{\theenumiv}{\theenumiii\arabic{enumiv}.}
\renewcommand{\theenumv}{\theenumiv\arabic{enumv}.}
But the fifth level fails. The error is
Command labelenumv undefined
Why is this happening on the fifth level but not on the fourth?
I tried labelenumiiiii, but it also did not work, and I am assuming the syntax labelenumv is the correct syntax.
\newlistcommand ofenumitempackage. – hair-splitter Nov 03 '21 at 10:17label*=instead oflabel=. – schtandard Nov 03 '21 at 12:59