Download The etoc package

Transcript
32.2. Interverting the levels
This text is perfectly centered vertically with
respect to the surrounding horizontal rules.
Specifying the toc display style . .
. . . . . . . . . . . . . 25, p. 38
The command \etocsettocstyle . .
. . . . . . . . . . . . 25.1, p. 38
The commands \etocmulticolstyle,
\etocmulticol, and \etoclocalmulticol . . . . . . . . . . 25.2, p. 38
The commands \etocruledstyle, \etocruled and \etoclocalruled . . . .
. . . . . . . . . . . . 25.3, p. 39
The commands \etocframedstyle, \etocframed, and \etoclocalframed . . .
. . . . . . . . . . . . 25.4, p. 39
Headings, titles, \etocoldpar, \etocinnertopsep . . . . . . . 25.5, p. 40
The compatibility mode \etocstandarddisplaystyle . . . . . 25.6, p. 40
The command \etocinline . . . .
. . . . . . . . . . . . 25.7, p. 40
Starred variants of the \tableofcontents etc... commands . . 26, p. 41
Table of contents for this part . . .
. . . . . . . . . . . . . 27, p. 41
Testing the compatibility mode
. . .
. . . . . . . . . . . . 27.1, p. 41
A framed display
. . . .
27.2, p. 42
A (crazy) inline display . .
27.3, p. 43
32.2. Interverting the levels
Let us display and count all subsections occurring in this document (see Part III for other
uses of this technique):
\etocsetnexttocdepth{2}
\begingroup
\etocsetlevel{part}{3}
\etocsetlevel{section}{3}
\etocsetstyle{subsection}
{\small\begin{enumerate}[itemsep=0pt,label=,leftmargin=0pt]}
{\normalfont\bfseries\item}
{\roman{enumi}. \mdseries\etocname{} (\etocnumber, p.~\etocpage)}
{\end{enumerate}}
\renewcommand{\etoccolumnsep}{2.75em}
\renewcommand{\columnseprule}{1pt}
\etocmulticol[3]{\subsection{All subsections of this document}}
\endgroup
32.3. All subsections of this document
i. Limitations in the use of
list environments for tables
of contents (3.1, p. 6)
v. The hyperref option
bookmarksdepth
(10.1,
p. 15)
ii. \etocsetstyle for the
line styles (4.1, p. 7)
vi. The commands \etocobeytoctocdepth and \etocignoretoctocdepth (11.1,
p. 16)
iii. \etocsettocstyle for
the toc display (4.2, p. 7)
iv. Compatibility
(4.3, p. 8)
mode
vii. The commands \etocobeydepthtags and \etocignoredepthtags (12.1,
p. 16)
viii. The hyperref option
hidelinks (13.1, p. 17)
ix. A Beautiful Thesis example (14.1, p. 18)
x. A TOC with a background color (14.2, p. 19)
xi. The \etocname and
\etocpage
commands
55