{table-of-contents} is about the creation or modification of the Table of Contents or similar listings like List of Figures and List of Tables as well as custom lists. Popular packages are {tocloft}, {titletoc}, and {minitoc}.

learn more… | top users | synonyms (4)

16
votes
2answers
2k views

Avoid hyperlinked TOC if hyperref is used

I'm using the hyperref package because I have a link in my document, but do not want to have the TOC as links. How can this be done?
13
votes
1answer
3k views

Add “Appendix” before “A” for Appendix A in thesis TOC

I am required to insert the word Appendix before the letter A in my dissertation Table of Contents as follows: Appendix A (title for appendix A) but the latex thesis cls file: FAU Thesis Class I ...
12
votes
1answer
2k 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 ...
11
votes
1answer
6k views

Splitting TOC into two columns on single frame in beamer

I am doing a presentation but my table of content is too long with short titles for a single slide. I was wondering if there was a way such that the table of contents appears on two columns. Related ...
7
votes
1answer
362 views

How to produce a list of frames with Beamer if frame titles have LaTeX tags in them?

Related to: Is there any way to produce List of frames with beamer? The above method works if frame titles don't have tags such as \emph{} in them. However, if a frame title has such a tag, the error ...
6
votes
3answers
9k views

Table of Contents incorrect page numbering

I am using the following code. \newpage \section*{Abstract} \addcontentsline{toc}{section}{Abstract} \newpage \tableofcontents \addcontentsline{toc}{section}{Table of Contents} \newpage ...
12
votes
2answers
930 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
5k 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. ...
10
votes
3answers
386 views

Removing repeated page numbers from table of contents

Hi I'm trying to create a document in LaTeX with a few small subsections on the same page, is there any way to remove the repeated page numbers and keep the numbers when I move onto a new page?
8
votes
2answers
990 views

How to make bold all of the TOC by default?

Is there a way to make all the table of contents bold by default?
7
votes
1answer
5k 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
640 views

How to remove section indentation in partial ToC using titletoc?

See MWE below. How can I remove the indent in front of the section entries in the partial ToC (only there, not in the normal ToC)? \documentclass{book} \usepackage{titletoc} \usepackage{lipsum} ...
15
votes
3answers
12k views

How to change spaces between items in Table of Contents

Is it possible to get it without using package titletoc? I'm using special chapter style which doesn't work with this package.
9
votes
2answers
4k views

How to link Table of Contents in thesis PDF

I used the following code and I am able to link references, List of Symbols but unable to link the Table of Contents in my thesis. I wish a completely linked PDF of my thesis. Please help me.... ...
8
votes
1answer
731 views

The line spacing in the list of algorithms

This is my code: \documentclass[12pt,a4paper]{book} \usepackage[T1]{fontenc} \usepackage[chapter]{algorithm} \renewcommand{\baselinestretch}{1.5} \begin{document} \begin{spacing}{1.2} ...
8
votes
2answers
396 views

Custom ToC — Put vspace only below chapters that have sections in them

I’m using the titletoc package in the book class. Currently, my chapter entries are configured like this (I left out the unimportant parameters for simplicity): \titlecontents{chapter}[0pc] ...
7
votes
1answer
856 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 ...
7
votes
2answers
2k views

Customized table of contents

I need to format the table of contents for a compilation of articles in a very specific format: About this volume Author 1 Preface........................first page-last page Articles Author 2 ...
7
votes
2answers
1k views

Grouping the list of listings by chapter

I am using the listings package. I want to print out a list of listings, which I can do. The thing is that in the other listings the typesetter "groups" figures/tables by chapter. Is it possible to ...
6
votes
2answers
2k views

Add “Parts” to the Table of Contents

I want to have a table of contents as follows: 1. Introduction Part 1: the partition function 2. section 2 3. section 3 Part 2: theta function 4. section 4 How can I do this?
6
votes
3answers
2k views

Export only table of contents

What would be the preferred way to export the Table of contents I use in a .tex file to a separate .pdf? Currently I have a my-report.tex file and I wish to pair the result of pdflatex ...
5
votes
3answers
2k views

How to hide a footnote in a section title from the table of contents

This is a question that arose in the comments here: Change Section titles to Small Caps only in ToC I normally hide footnotes from the TOC by doing this: \section[title]{title\footnote{This is a ...
4
votes
1answer
250 views

To-do-notes in separate TeX File, but without \listoftodo in main doc

I am using the todonotes package and have three requirements, the first two which the MWE already does: Obtain a list of todo notes in a separate auxiliary file. This can easily be obtained via the ...
15
votes
2answers
11k views

How do I add dots in TOC?

I want to add dots that would fill the space from section/subsection name to the page number in TOC. How do I do that?
14
votes
2answers
3k views

Appendix with own toc

I want to have two table of contents in my document. The first (main) shall only contains "Appendix A: ...", "Appendix B: ..." and so on with page numbers. In the appendix I want another table of ...
12
votes
5answers
2k views

Change title to small caps but not in ToC

I want the title for the Acknowledgements page in my thesis to be in small caps. However, if I change it, it also changes in the table of contents. How can I avoid this? Especially, the roman page ...
12
votes
1answer
1k views

\addtocontents at end of document not getting written to .toc file?

I'm trying to find a more elegant solution for ToC, LoT, and LoF formatting for my university's thesis/dissertation style. The short form of their requirements means I need one page style for the ...
11
votes
1answer
3k views

List of figures: source below image caption?

I'm relatively new to LaTeX and currently working on a paper. In my list of figures, I'd like to have a structure like this: Fig. 1: <Title of figure> . . . 1 ...
10
votes
1answer
893 views

How to change the display of subfigures in List of Figures?

I'm using the subcaption package and I would like to change the display in the List of Figures of the subfigures. Right now, it displays as : 2.1 Caption 1 . . . . . . . . . . . . . . . . . . . . . ...
9
votes
2answers
10k views

Format ToC for thesis

I apologize for the unspecified and broad question but I have no way to be specific. I'm looking to generate the TOC and List of Figure, List of Table according to the format required by my school. ...
9
votes
3answers
3k views

Excluding chapters from ToC in amsbook

I'm writing a book using the amsbook class, and I've included a page for acknowledgements using \chapter*{}, thinking it wouldn't show up in the ToC. However, it does (and for some reason it's ...
8
votes
5answers
653 views

Reference to the Table of Contents page

I thought that someone must have asked this, but my searches didn't find it. I am looking to refer back to the table of contents from places in my document. How can I do this?
8
votes
2answers
172 views

Why does the changebar package create a page full of “spsp” and how can this be fixed?

To place bars into the "Table of Contents" I use the changebar package, version 2005/09/18 v3.5c, and compile the document with pdflatex (TeXLive 2013, updated 2014/02/25) at least four times. (With ...
8
votes
1answer
3k views

Add algorithm label to list of algorithms

I'm using the classicthesis package along with the algorithmic package. I'm trying to get the list of algorithms to look the same as the list of figures/tables etc., but cant find a way to make it ...
8
votes
1answer
2k views

Apéndices (Appendix spanish accent)

Dear friends: there is a problem with appendix and ápendice. I have a scrbook document and I use appendix package, \usepackage[title, titletoc]{appendix} because I like the word "Apéndice" in ...
8
votes
3answers
1k views

Is it possible to add \chapter after a few \part's at the same level of hierarchy?

Consider the following code: \documentclass{scrbook} \usepackage[bookmarks, bookmarkstype=toc]{hyperref} \begin{document} \tableofcontents \chapter{Introduction} \part{First part} ...
8
votes
1answer
794 views

Replicate Figure w/out Inserting New Entry in List of Figures

I would like to replicate a figure in Chapter 3 within Chapter 6 such that the figure is displayed and optionally, it has the caption and Figure number of the figure in Chapter 3. If that is not ...
8
votes
1answer
2k views

How do you make a TOC link cover text and page number?

The hyperref package allows you to specify that TOC links in the pdf cover the text (default) or the page number (linktocpage=true), but not both. That is, you can have this: [My Title]. . . . . . ...
7
votes
1answer
2k views

Table of equations like list of figures

I am fairly new at this and trying to put a table containing a brief description of the equations I use, into my thesis. This has proven to be quite an irritating problem. I have found a nice concise ...
7
votes
1answer
4k views

Show/hide the sections, subsections and subsections that I want from the navigation sidebar (beamer, Berkeley)

I am using the theme Berkeley, I have lot of sections and subsections, I want to hide certain sections, subsections and subsubsections from the navigation bar, but not from the table of contents. If ...
7
votes
1answer
528 views

Section in page header and TOC without number and no indention

I'm looking for advise about handling sections a a special way. What I want: Sections should not be numbered, they should be listed in the TOC and be available in the page header, and they should ...
6
votes
1answer
449 views

How to avoid numbering of Appendix?

I have only one appendix in my report. But it appears in the table of contents and title page as Appendix A. How can I change it to APPENDIX?
6
votes
2answers
7k views

Appendix in LaTeX

I have the following document: \documentclass[11pt,a4paper,twoside]{book} \usepackage[spanish,activeacute]{babel} \usepackage[titletoc]{appendix} \begin{document} \setcounter{tocdepth}{2} ...
6
votes
3answers
283 views

list of occurences of references

I need a list like the list of figures for \ref entries in the text to instances of a custom Theorem environment. Here's a MWE with a handbuilt example. The solution should add features to this code I ...
6
votes
2answers
383 views

Adding TikZ code to TOC

Friends, I've been successfully using the tocloft package to manage custom indices. But now I have some doubts on a tricky part, whether is possible or not. Consider the following code: ...
6
votes
2answers
4k views

TOC Section & Subsection coloring

Is it possible to create a TOC with section headings in one color and subsection headings in different color. \tableofcontents \setcounter{tocdepth}{2} I am using above lines to create TOC, do I ...
5
votes
2answers
55 views

How to add explanatory text to an index page without page number troubles?

I like to have an introducing text after the index starts (in the same way as it works for the nomenclature). Adding the imakeidx package to the here used makeidx package and writing ...
5
votes
1answer
284 views

How to imitate great looking Motion Mountain ToC, including hyperlinks?

I wanted to customize my ToC to look more or less like the one in Motion Mountain physics textbook, including clickable page numbers. My decision was to use hyperref and titletocpackages. Now it seems ...
5
votes
2answers
231 views

List of short problem names?

I typeset a book with problems and solutions. I need to get a list of short problem names. I expected there will be a way similar to pitcures: \caption[Figure name for List of Figures]{Caption name} ...
5
votes
1answer
2k views

Beamer: increase radius of circle in TOC and include subsection bullet

I am trying to increase the radius of the circle in the TOC of a beamer presentation and include a subsection bullet. The beamer manual states gives an example of \setbeamertemplate{some beamer ...