Questions tagged [minitoc]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

Changing the mini toc header title “Contents”

Follow-up to Incorrect Linking with minitoc and hyperref. MWE: \documentclass{article} %font \usepackage{mathpazo} \usepackage[english]{babel} %change TOC header \addto\captionsenglish{% Replace ...
2
votes
1answer
446 views

Incorrect Linking with minitoc and hyperref

MWE: \documentclass{article} %font \usepackage{mathpazo} \usepackage[english]{babel} %change TOC header \addto\captionsenglish{% Replace "english" with the language you use \renewcommand{\...
1
vote
1answer
204 views

Combine tocloft and minitoc to create custom lists in document sections

I created custom lists with tocloft and succesfully typeset them as a replacement for a toc (It is about music sheets with songs being grouped in groups of songs). I now would like to have a list of ...
1
vote
1answer
598 views

minitoc suppress before/after space

Is there any way to easily customize \minitoc to avoid the big before/after space? Without using \vspace{-5mm} everywhere I use them (which is in a lot of chapters), and, only as a last case recourse,...
3
votes
1answer
2k views

minitoc suppress title and rules

There are a few questions already about minitoc. But I could not find a way to suppress/disable the "Contents" title of the minitoc and the hrules... MWE: \documentclass{report} \usepackage{minitoc}...
2
votes
0answers
107 views

Extra page while using simultaneously minitoc and float [duplicate]

I have a problem for a while now: there is always an extra page at the end of my documents. I notice that this happens when I use simultaneously minitoc and float. I track this issue down to this ...
3
votes
2answers
1k 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 \...
2
votes
2answers
430 views

How to split the toc in two?

I want to split my thesis in two main parts: "Theory" and "Practice" in such a way that: 1) "Theory" and "Practice" appear as main bookmarks in the pdf; 2) the table of contests is splitted in two, ...
1
vote
1answer
221 views

How to define the scope of a minitoc ? How to add a line break in a toc?

I've got a problem with my tables of contents (both local and global...) I want to include a section line in my main toc that does not appear in the minitoc of the previous chapter. Also I would like ...
5
votes
1answer
4k 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, ...
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 ...
0
votes
1answer
585 views

Minitoc Package: Secttoc works just after changing section to part and back to section

I have no idea why, but if I use \secttoc it works only for the section if I change the section to "part", compile it, and change it back to "section" \documentclass[12pt,a4paper,titlepage]{article} \...
2
votes
1answer
261 views

How to show starred subsections in minitoc and not in toc

I've the main.tex and chapter1.tex, chapter2.tex, ... For each chapter I have a minitoc. In principal toc I want to show chapters and sections (have I to star the subsection, right?). In each minitoc ...
2
votes
1answer
2k views

Specify minitoc for each chapter

To specify the toc depth of each chapter I can do \chapter{Title} \addtocontents{toc}{\protect\setcounter{tocdepth}{1}} ... \chapter{Title} \addtocontents{toc}{\protect\setcounter{tocdepth}{2}} ... ...
2
votes
1answer
815 views

minitoc Errors (potential clashes with other packages?)

I want to insert chapter content for my thesis by using minitoc package. It seems working on its own. However, if I add other packages for other purposes, then it does not work and I keep getting the ...
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 ...
1
vote
1answer
1k views

Minitoc conflict creating aux error defcounter refsection

While compiling my book, I encountered the following error: (./Book.aux ./Book.aux:94: Undefined control sequence. l.94 ...\defcounter {refsection}{0}\relax }\@write The thing is that a simple fix ...
1
vote
1answer
158 views

Minitoc top align

When I apply minitoc and the table of contents spill over to the next page, it automatically fills the entire page instead of being aligned to the top. \documentclass[12pt]{book} \usepackage{...
1
vote
1answer
473 views

Problem with tocloft, minitoc and bold math mode

To ensure equations in headings are written bold as well I have added the following command to my document: \makeatletter \g@addto@macro\bfseries{\boldmath} \makeatother This works very well until I ...
3
votes
1answer
313 views

How to remove page numbers in a short toc, but not from the long toc?

I would like to have a short toc with no page numbers at the beginning of my document, but a long toc with page numbers at the end. My example : \documentclass[french,a4paper,12pt,twoside]{report} \...
0
votes
0answers
536 views

Minitoc and import: how to specify location of mtc file?

In the project im working in, the structure is as follows . ├── a │   └── main.tex ├── b │ └── main.tex ├── main.tex The root main file is \documentclass{book} \usepackage[utf8]{inputenc} \...
2
votes
1answer
174 views

Unravel the \writecontentsline mystery

Trying to program a macro that is similar to \adcontentsline: Applying \immediate\write to, say , \frameEntry{\insertframenumber}{\inserframetitle \}{\thepage} records the wrong page number. ...
1
vote
1answer
298 views

Help in hooking into the \begin{frame} environment in beamer article mode, so as to produce a list of frames per subsection

I am in the course of composing a long beamer document, which should serve both as slides for class presentation and as a mini-textbook. My document includes about 600 slides, which are partitioned to ...
5
votes
1answer
142 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 ...
3
votes
0answers
336 views

Packages to place partial TOC, LOF, LOT, LOA and LOS in some of the chapters in a report?

Context I'm doing a template for a Master Thesis based on the report class and want to achieve the following characteristics: a) Tikz-based titles, headers and/or footers b) IEEE-alphanumeric style ...
7
votes
1answer
4k 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. ...
63
votes
3answers
44k 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?
1
vote
2answers
2k views

How to use tocloft to create a list which appears in the middle of the document

I have a document in IEEE (conf) format and I want to add a new environment using tocloft. The relevant code looks like this (slightly abbreviated): \documentclass[conference]{IEEEtran} \usepackage[...
3
votes
2answers
471 views

Show chapter in main toc but not in parttoc

Is it possible not to display the last chapter in the second parttoc ? \documentclass[a4paper,oneside]{scrbook} \usepackage{minitoc} \setcounter{tocdepth}{0} \begin{document} \doparttoc \...
5
votes
1answer
633 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 ...
7
votes
1answer
905 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.
6
votes
1answer
133 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): \...
1
vote
1answer
232 views

Editing the Minitoc to include the word Page above the page numbers

I have browsed through the manual for the minitoc and I haven't been able to find whether there is a way to do the following: For the TOC it is possible to add the word Page above the page number ...
3
votes
1answer
836 views

Remove chapter number from minitoc

I'm using minitoc with a book class. At each chapter I print a minitoc using the minitoc package. Is there any way to print it without the chapter number at each line. Something like Chapter 2 ...
3
votes
1answer
578 views

Minitoc settings + \hfill in \subsection

I'm trying to make a note book on LaTeX for a language course. For this I sort my vocabulary lists by theme. As you can see in the example below, I use a \hfill inside the \subsection command to make ...
0
votes
1answer
760 views

minitoc and hyperref

I want to create a document with table of contents for the main part and the appendix and hyperrefs for the generated pdf. My attempt so far: \documentclass[12pt]{article} \usepackage[pdfpagelabels=...
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{...
1
vote
1answer
743 views

How to set font size for minitoc in LyX

Hi all I'm writing a book in LyX with the package minitoc. If i use \documentclass [10pt]{book} the minitoc is set in one page, but if I use 12pt the minitoc is set in 2 pages. I want use the 12 pt ...
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 ...
3
votes
1answer
231 views

Minitoc numeration overlaps with subsection titles

I have long minitoc numeration depth \setcounter{minitocdepth}{3}. I have a problem with it: \documentclass{report} \usepackage{newcent} \usepackage{minitoc} \setcounter{tocdepth}{1} \setcounter{...
1
vote
1answer
66 views

Why the index of a certain chapter is put on 2 chapters later?

I'm using a template, not created by me, for the thesis. I use the index for each chapter. (minitoc) Why the index of a certain chapter is put on 2 chapters later? i.e. the index of chapter 1 is on ...
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. ...
3
votes
1answer
1k views

KOMA-Script (scrbook): onecolumn table of contents & minitoc in twocolumn document

I have problem with formatting of my tables of contents. Please see my MNWE below. I would like to switch all of my tables into one column layout. I try to use solution from this tex.stackexchange ...
3
votes
1answer
580 views

Incorrect page number in ToC and minitoc

In the following MWE, the section number is reset at the beginning of each chapter. If, in the ToC, you click S4 it goes to S1, which is wrong. Both S4 and S1 have the same page number. The same ...
0
votes
0answers
31 views

Compiling latex files from terminal with and without a command [duplicate]

I have used \faketableofcontents in my file. I need to compile the file twice -- once with \faketableofcontents present and once with \faketableofcontents commented out. I wonder if there is a way to ...
1
vote
1answer
217 views

Disable hyperlinks in minitoc while the hyperlinks are enabled in ToC

Is it possible to have hyperlinked entries in the ToC, while hyperlink is disabled in minitoc?
3
votes
1answer
3k views

Minitoc is not updating itself

The following MWE utilises minitoc. \documentclass[a4paper]{book} \usepackage{lipsum} \usepackage{hyperref} \usepackage{minitoc} \dominitoc \begin{document} \include{TOC} \include{chap1} \include{...
0
votes
1answer
92 views

Insert some space before the ToC chapter entry

I am using \mtcaddchapter[xyz] to include xyz in a ToC. I wonder if there is a way to insert some space, such as a tab, before xyz in the ToC.
0
votes
1answer
308 views

minitoc customisation

I have the following in my minitoc: 1 One One 2 Two Two 2.1 Two Point One 2.2 Two Point two I wonder if there is a way to reduce the space after the section and ...
3
votes
1answer
442 views

How to limit number of sections in minitoc using titletoc

Anyone know how to limit number of section titles, for example to 3 or 4, in one line minitoc using titletoc? So, in example bellow, sections starting with "Kolyvagin Classes" should be in the second ...