blob: 4b6fc1e839e1efca30a9bdea3ffb17c3c64fc304 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
Package `etoc' (v1.06, 2012/12/07)
Copyright (C) 2012 by Jean-Francois Burnol
The source file etoc.dtx and its derived files may be
distributed and/or modified under the conditions of the
LaTeX Project Public License, either version 1.3 of this
license or (at your option) any later version. The latest
version of this license is in:
http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of
LaTeX version 2003/12/01 or later.
package version 1.06, 2012/12/07
documentation updated 2013/01/25
Installation
`latex etoc.dtx' creates the file `etoc.sty'.
`latex etoc.dtx' (again) finishes producing the documentation.
Put `etoc.sty' in a suitable location within the TeX installation:
etoc.sty -> ..suitable..path..to../tex/latex/etoc/
The other generated files may be discarded.
Abstract
The etoc package gives to the user complete control on how
the entries of the table of contents should be constituted
from the name, number, and page number of each sectioning
unit. This goes via the definition of line styles for each
sectioning level used in the document. The package
provides its own custom line styles as an example. The
simplest usage though will be to delegate the details of
the layout to packages dealing with list environments.
The \tableofcontents command can be used arbitrarily many
times and has a variant \localtableofcontents which prints
tables of contents `local' to the current surrounding
document unit. An extension of the label/ref syntax allows
to reproduce at another location (and with another layout)
a TOC defined somewhere else in the document.
The formatting inherited (possibly customized by other
packages) from the document class can also be used.
Regarding the global toc display, etoc provides styles
based on a multi-column format, optionally with a frame or
a ruled title.
As the assignment of levels to the sectioning units can be
changed at any time, etoc can be used to create custom
'lists of' in a very general manner. It does not create
auxiliary files other than the usual .toc file.
|