blob: 4ab91c8f3b7d08fcd940a15ec82a167dd0c7f411 (
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
|
<head>
<title>UK TeX FAQ -- question label minitoc</title>
</head><body>
<h3>Table of contents, etc., per chapter</h3>
<p/>The common style, of a “small” table of contents for each part,
chapter, or even section, is supported by the <i>minitoc</i>
package. The package also supports mini-lists of tables and figures;
but, as the documentation observes, mini-bibliographies are a
different problem — see
<a href="FAQ-chapbib.html">bibliographies per chapter</a>.
<p/>The package’s basic scheme is to generate a little <code>.aux</code> file for
each chapter, and to process that within the chapter. Simple usage
would be:
<blockquote>
<pre>
\usepackage{minitoc}
...
\begin{document}
...
\dominitoc \tableofcontents
\dominilof \listoffigures
...
\chapter{blah blah}
\minitoc \mtcskip \minilof
...
</pre>
</blockquote><p>
though a lot of elaborations are possible (for example, you don’t need
a <code>\</code><code>minitoc</code> for every chapter).
<p/><i>Babel</i> doesn’t know about <i>minitoc</i>, but
<i>minitoc</i> makes provision for other document languages than
English — a wide variety is available. Fortunately, the current
version of the <i>hyperref</i> package does know about
<i>minitoc</i> and treats <code>\</code><code>minitoc</code> tables in the
same way as “real” tables of contents.
<dl>
<dt><tt><i>babel.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/required/babel.zip">macros/latex/required/babel</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/required/babel/">browse the directory</a>)
<dt><tt><i>hyperref.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/hyperref.zip">macros/latex/contrib/hyperref</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/hyperref/">browse the directory</a>)
<dt><tt><i>minitoc.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/minitoc.zip">macros/latex/contrib/minitoc</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/minitoc/">browse the directory</a>)
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minitoc">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minitoc</a>
</body>
|