Debian Codegraph @

texmf-dist/doc/latex/etoc/etocsnippet-20.tex

raw
1 %% LaTeX2e file `etocsnippet-20.tex'
2 %% generated by the `filecontentsdef' environment
3 %% from source `etoc' on 2026/05/05.
4 %%
5 \begin{center}
6 \etocsetlinestyle{section}
7 {}
8 {\etociffirst{\\\hline\hline}{\\\hline}}
9 {\etocname & \etocnumber & \etocpage }
10 {}
11
12 \etocsettocstyle
13 {\hypersetup{hidelinks}\begin{tabular}{|>{\RaggedRight}p{4.5cm}|c|c|}\hline
14 \multicolumn{1}{|c|}{\bfseries Section title}&
15 \bfseries number&
16 \bfseries page}
17 {\\\hline\end{tabular}}
18
19 \etocglobaldefs % MANDATORY !!
20 \etocsetnexttocdepth{1}
21
22 \tableofcontents\ref{toc:overview}
23 \end{center}