%% LaTeX2e file `etocsnippet-15.tex' %% generated by the `filecontentshere' environment %% from source `etoc' on 2023/10/29. %% \etocsetnexttocdepth{2} % sections are at level 1 and will show up \begingroup \etocsetlevel{exercise}{2} % but: \etocsetlevel{chapter}{3} % no chapters \etocsetlevel{subsection}{3} % no subsections \etocsetlevel{part}{3} % no parts \etocsetstyle{exercise}{}{} % \etocname = exercise number {\noindent\etocname\strut\leaders\etoctoclineleaders\hfill\etocpage\par} {\pagebreak[2]\vskip\baselineskip} \etocsetstyle{section}{}{} {\noindent\strut{\bfseries\large\etocnumber\hskip.5em\etocname}\par \nopagebreak[3]}{} \etocruledstyle[4]{\Large\bfseries List of the exercises} \setlength{\columnseprule}{.4pt} \tableofcontents \endgroup