Have been looking at the source code for But am getting an error with \textbf #1->\ifmmode \nfss@text {\bfseries #1 }\else \hmode@bgroup \text@com... Here is what I have done. \makeatletter \newcount\depthitemizelevel \depthitemizelevel=0 \def\@depthitemize@label{% \textbf{Level \the\depthitemizelevel:}% \the\depthitemizelevel\arabic{\@enumctr}% \space } \newenvironment{depthitemize}{% \advance\depthitemizelevel by 1% \expandafter\edef\csname depthitemize@label\romannumeral\depthitemizelevel\endcsname{\@depthitemize@label}% \list{\csname depthitemize@label\romannumeral\depthitemizelevel\endcsname}{% \usecounter{enum\romannumeral\depthitemizelevel}% \def\makelabel##1{\hss\llap{##1}}% }% }{% \endlist \advance\depthitemizelevel by -1% } \makeatother gefragt 04 Nov '23, 12:14 Heime |
@Heime Would you please post a complete minimal working example here. Then we can help you.