blob: 82e4a7e0a563b7e7cfccecbfd53d1f206e2aa1c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
%% LaTeX2e file `etocsnippet-40.tex'
%% generated by the `filecontentshere' environment
%% from source `etoc' on 2020/05/15.
%%
\etocsettocdepth {subsubsection} % set the initial tocdepth
\etocdefaultlines % use the package default line styles. At this early stage in
% the document they had not yet been modified by \etocsetstyle
% commands, so \etoctoclines could have been used, too.
\etocmarkboth\contentsname
\etocmulticolstyle[1] % one-column display
{\pdfbookmark[1]{Table of contents}{MAINTOC}% create a bookmark in the pdf
\noindent\bfseries\Large
\leaders\hrule height1pt\hfill
\MakeUppercase{Table of Contents}}
\begingroup % use a group to limit the scope of the
\etocsetlevel{subsection}{3} % subsection level change.
\etocsetlevel{subsubsection}{4} % anything > tocdepth=3.
\tableofcontents \label{toc:main}
\endgroup
|