Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [minitoc]

{minitoc} is a package that facilitates creating 'miniature' {table-of-contents} on a per-section, or per-chapter level.

77
votes
4answers
66k views

Adding unnumbered sections to TOC

I have many unnumbered sections in my report (more than 100), all created with: \section*{section name} I want to find a way to easily add them all to the TOC (specifically to a minitoc). Since I ...
61
votes
3answers
40k views

List sections of chapter at beginning of that chapter

How can one have a mini table of contents for the current chapter appear just after the chapter name listing all sections of that chapter?
26
votes
2answers
11k views

Two independent TOCs

I wonder if there is any way to achive two independent TOCs. For example I write a document and have my regular \tableofcontents right after my titlepage. For some reason I have a long appendix and ...
17
votes
2answers
4k views

How to make a local TOC that only shows levels below where it is inserted?

I simply want to make a local Table of Contents (TOC) which shows in its content what is below the level the TOC is inserted in and not outside. For example, if I do \minitoc inside \section{}, the ...
15
votes
1answer
4k views

minitoc of a subsection

I'm trying to use the minitoc package to generate a ToC for a subsection. From my reading of the minitoc documentation, this doesn't look too possible to do with minitoc, so I am open to suggestions ...
13
votes
1answer
11k views

Minitoc + thesis template + pdflatex

I added the package minitoc \usepackage[nohints]{minitoc} to this template and did as I read: add \dominitoc before \tableofcontents and \minitoc after a chapter's creation, but it doesn't appear. ...
12
votes
2answers
6k views

Minitoc and memoir

I read this question about minitoc but I can't make it work with memoir. Is there an known incompatibility between these two ? Is it somehow possible to make it work ?
12
votes
1answer
3k views

Customize minitoc

I'm writing my thesis and I woud like to add a minitoc at the beginning of each chapter. However, I don't like the standard format where the titles of the sections are listed as in the main TOC and I ...
12
votes
2answers
1k views

How do I create custom “list of…”s on a section level?

I have a long document with frequent uses on an environment that needs to be indexed on a per-section basis. I know that the tocloft package allows creation of custom "list of..."s I also know that ...
11
votes
1answer
3k views

\minitoc on the \part-page

I would like to modify the \partpage such that it shows a table of contents of that part. Preferably also one or two levels deeper than the toc in the beginning of the document. In styling the \part ...
11
votes
1answer
970 views

Minitoc with two column content

I have a question regarding \minitoc, I want to change the layout for \minitoc inside my MSc thesis. The document is written using a single column, but I want to have the content within the \minitoc ...
11
votes
1answer
1k views

MiKTeX’s LuaLaTeX and minitoc: “I can't write on file …mtc”

When compiling the code below with LuaLaTeX I get the error: "I can't write on file 'test.mtc'". Any ideas on how to resolve this? (Btw, the file test.mtc is there and contains the word "Contents") \...
9
votes
2answers
5k views

What are these warnings for minitoc package?

I'm using a scrreprt document class to write my lecture notes in a condensed form for easy reviewing later. I organized the main.tex in a modular file and I downloaded, installed and loaded the ...
9
votes
1answer
1k views

Removing/Renaming the title of minitoc

For minitoc package, the ToC title can be changed through the command \stctitle. However, for the following MWE, I found the same ToC title "Contents" without change. So, what is wrong or missing? \...
8
votes
1answer
560 views

Recommendations for partial contents page arrangement in memoir

I'm writing a moderately large reference work using memoir. As it falls naturally into parts by audience, I'd like to include partial tables-of-contents, by part. I have managed to get my head round ...
7
votes
1answer
9k views

How to change style and color of Table of Content?

I want to change style and color of my Table of Contents to match this: Note that I use the minitoc package for creating my Table of Contents on a per-chapter basis.
7
votes
1answer
737 views

Boxed minitoc with each chapter

How can I do a boxed minitoc at the beginning of any chapter like this. It is too hard for me.
7
votes
1answer
3k views

Table of contents (minitoc, parttoc) and line breaks

I have to make a table of contents for each part of a book document. I use minitoc package, and \parttoc command. I have line breaks (\\) in the chapters and sections titles in both [] and {} ...
7
votes
1answer
369 views

use Minitoc with KOMA-Script (scrbook)

I'm using the KOMAscript scrbook class together with the minitoc package. When I compile, I get the message Usage of package minitoc together (scrbook) with a KOMA-Script class is not ...
6
votes
1answer
4k views

Minitoc of wrong chapter

I'm writing my Thesis and I want the general table of contents at the beginning of the document and the toc for every chapter at beginning of every chapter. For doing so I use the minitoc package. If ...
6
votes
1answer
2k views

Beamer Mini-TOC

How can I make a TOC and section mini TOCs such that TOC at the beginning of the whole document shows sections and subsections, mini TOCs at the beginning of each subsection show only the very section ...
6
votes
2answers
3k views

minitoc: parttoc on the same page as the part title

Easy example: \documentclass{scrreprt} \usepackage{minitoc} \begin{document} \doparttoc[n] \noptcrule \tableofcontents \part{foo} \parttoc \chapter{bar1} \chapter{bar2} \chapter{bar3} \chapter{...
6
votes
1answer
3k views

mini table of contents in article

How can I make a mini table of contents at the beginning of an article class document to be displayed like this: To appear not at the beginning of the chapter but at the beginning of the article. ...
6
votes
1answer
2k views

Using memoir and minitoc

I am writing a little book with the memoir class and I would love to add little table of contents at the start of each chapter. I found that I could use the minitoc package, but it doesn't seem to ...
6
votes
1answer
130 views

How to automate minitoc call?

I'm using minitoc package and I would like to automate the command \minitoc after every chapter. I'm looking a command to put in my preamble in the spirit of the following (which doesn't work): \...
6
votes
2answers
693 views

Adding general introduction to table of contents as chapter causes a problem

I'm trying to add a general introduction to my report. Well I added it to the table of contents and without number. Using this code : \addcontentsline{toc}{chapter}{\protect\numberline{}Introduction ...
6
votes
0answers
764 views

Table of contents in a separate file with correct hyperlinks to many files

It's my first question here. Sorry if it doesn't follow the rules. I have: I'm writing a manual in the book class with pdflatex (TeX Live under Linux). Each chapter is stored in a separate tex-file (...
5
votes
1answer
3k views

Insert Table of Contents in chapter

Any idea of how to create a mini table of contents (TOC) in the beginning of a chapter? Not the ordinary TOC in the beginning of the report, but a mini TOC in the beginning of a chapter (like, ...
5
votes
3answers
1k views

English minitoc entry within a Greek utf8 document

In a document set up as shown in the question Greek pdf bookmarks, the interesting bits are: \documentclass[greek,english]{scrbook} \usepackage[LGRx,T1]{fontenc} % define LGR and T1 encodings \...
5
votes
1answer
2k views

minitoc package: overfull \hbox

Does anyone of you know how to format a ToC created with the minitoc package in LaTeX? My problem is that I always get the following warning: ./hauptdokument.mtc.1:21:Overfull \hbox (2.83262 pt too ...
5
votes
1answer
132 views

Workaround mysterious bug, involving minitoc, twocolumns, and abstract

In the following MWE, the mini table of contents of Section 1, comes out to be of Section 2, while Section 2 is missing its mini table of contents. The combination of two components creates the ...
5
votes
1answer
2k views

How to generate table of contents for each section that includes all its subsections

I can't seem to figure minitoc well enough to do this. I have report style, and I want the main tableofcontents to show chapter and sections only. Then inside each section, I want a minitoc of ...
5
votes
1answer
513 views

Minimal code to support table of contents in custom class

I'm trying to create a custom class to replace the class book and need to include ToC functionality. Placing the command \tableofcontents leads to error "Undefined control sequence". Using packages ...
5
votes
3answers
2k views

Reduce line spacing in minitoc package

I am using the minitoc package to add chapter TOC's in a thesis. The entire document (including the main table of contents) is doublespaced, but I want the chapter toc's to be single spaced. I specify ...
5
votes
1answer
586 views

minitoc package adds extra page when used with float and lastpage packages

The minitoc package adds extra page when used with float and lastpage packages. I figured out that this problem can be resolved by loading minitoc package before float and lastpage packages. In LyX ...
5
votes
1answer
520 views

How can I restore Chapter page numbers in minitoc with memoir?

Here's my minimal example: \documentclass{memoir} \usepackage{minitoc} \usepackage{lipsum} \doparttoc \begin{document} \tableofcontents \part{The Only Part} \parttoc \chapter{The Only Chapter} \...
4
votes
1answer
444 views

Renaming LaTeX file to index.tex causes tex4ht to give error when using minitoc

>cat t2.tex \documentclass[titlepage]{report}% \usepackage{minitoc} \begin{document} foo \end{document} now htlatex t2.tex "html,4" No errors. Now I name it to index.tex and try again: &...
4
votes
2answers
642 views

Create section-level toc in a KOMA-script document that already uses minitoc

I have a long document which uses the KOMA-Script book class scrbook and I would like to add a section-level table of contents to a few rather long sections in my document. I am already using the ...
4
votes
1answer
2k views

Mini Table of Content \minitoc drove itself crazy (i was on board) … how to fix?

I am using minitoc. In the main file, \usepackage[english,tight]{minitoc} ... ... \begin{document} \dominitoc \frontmatter ... ... \input(myChapter_one) And at each chapter (separate file) ...
4
votes
1answer
150 views

Remove prepended numbers in minitoc

I would like to omit the Chapter number in the minitoc printings. For example, in the below mwe I would like the minitoc in Chapter two to print "1 Test 1" instead of "2.1 Test 1". \documentclass{...
4
votes
1answer
986 views

minitoc does not print the same depth as global toc

I would like the minitoc to print e.g. subsubsections, as the toc does in the following minimal example. But the minitoc does not print the subsubsection "Subsubsection not show up in minitoc" in the ...
4
votes
1answer
182 views

Table of contents in a chapter

How to make a table of contents like this? I tried minitoc but the output is completely different, also, I can't find commands to make my table of contents like this. For example, removing the section ...
4
votes
1answer
172 views

How to use minitoc heading in cyrillic

I would like to use minitoc in my document which is in bulgarian. When I don't use language option for minitoc package everything is fine except mini table of contents heading which is in English. ...
4
votes
1answer
6k views

Using minitoc in included chapters?

I'm writing a thesis. It is structured as a main thesis.tex document, that uses \include to include individual chapters written in separate documents. I would like to include a mini-toc at the ...
4
votes
1answer
75 views

How do I recreate this two-column TOC layout with chapter goals on the left and TOC on the right

Recently I have been looking through Till Tantau's (the creator of TikZ) script on logic (see here). He uses a beautiful layout at each beginning of a chapter. So I want to recreate the little "...
4
votes
1answer
329 views

KOMA-Script numbering enddot

Currently, I'm trying to add a dot after numbers of a section or a subsection with KOMA-Script class. I already found some questions about this subject with the option enddot or endperiod but it does ...
4
votes
1answer
328 views

Listing the Contents of a Section and Page Numbers Underneath the Section Title

I am currently using the following code to produce a document with a specific style of section title. \documentclass[11pt, a4paper]{report} \usepackage[margin=1in]{geometry} \...
3
votes
2answers
696 views

How can I put a minitoc before a chapter, on the facing page?

I'm writing a large book, using minitoc to put a small table of contents at the start of each chapter. But it looks terrible. I would like instead to put the minitoc on the facing page before the ...
3
votes
2answers
824 views

Adjust vertical spacing between minitoc title and contents

I'm using minitoc and I want to adjust the vertical space between the title and the contents, shown in the image below: Here's my MWE: \documentclass{book} \usepackage{minitoc} \nomtcrule \...
3
votes
1answer
819 views

minitoc for each section in documentclass book

I want to get minitoc for each section. My following code provides the minitoc for the whole chapter but I need minitoc for only sections. Any help will be highly appreciated. Thanks % Document Class ...