%% LaTeX2e file `etocsnippet-04.tex' %% generated by the `filecontentsdef' environment %% from source `etoc' on 2023/03/02. %% \begingroup\parindent 0pt \parfillskip 0pt \leftskip 0cm \rightskip 1cm \etocsetstyle {section} {} {\leavevmode\leftskip 0cm\relax} {\bfseries\normalsize\makebox[.5cm][l]{\etocnumber.}% \etocname\nobreak\hfill\nobreak \rlap{\makebox[1cm][r]{\mdseries\etocpage}}\par} {} \etocsetstyle {subsection} {} {\leavevmode\leftskip .5cm\relax } {\mdseries\normalsize\makebox[1cm][l]{\etocnumber}% \etocname\nobreak\hfill\nobreak \rlap{\makebox[1cm][r]{\etocpage}}\par} {} \etocsetstyle {subsubsection} {} {\leavevmode\leftskip 1.5cm\relax } {\mdseries\normalsize\makebox[1cm][l]{\etocnumber}% \etocname\nobreak\hfill\nobreak \rlap{\makebox[1cm][r]{\etocpage}}\par} {} \etocruledstyle[1]{\bfseries \Large My first \etoc: TOC of \autoref{part:overview} (\nameref{part:overview})} \tableofcontents \ref {toc:overview} \endgroup