{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)

147
votes
4answers
7k views

Pretty Table of Contents

I would like to know if it's possible to have a Table of Contents looking like the following, where the number of the page is the big number on the left. The sections could look like in the ...
49
votes
4answers
45k views

Making the bibliography appear in the table of contents

I need to make my (BibTeX) references section appear in the table of contents of my LaTeX document (documentclass: article), with section numbering too. My approach until now has been making a new ...
44
votes
4answers
28k views

How can I make a clickable Table of Contents? [duplicate]

Possible Duplicate: How to make clickable links and cross-references in pdfs produced by LaTeX? I need links for the Table of Contents, so that I can navigate fast to different sections. I ...
40
votes
4answers
25k views

How can I display a short chapter name in the header and a long chapter name in the ToC?

I am writing a book and one of my chapter has a very long title. As it can't be displayed correctly on the top of even pages, I provide a "short title name" via the \chapter[short title]{long title} ...
40
votes
3answers
10k 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?
34
votes
2answers
14k 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 ...
33
votes
2answers
1k views

How can I reproduce this beautiful table of contents?

I stumbled upon this TOC today: I really like its structure and simplicity. The page numbers are right behind the entries, and not unnecessarily remote as they often are. The separation between ...
33
votes
1answer
11k views

How to make clickable links and cross-references in pdfs produced by LaTeX?

How can I make things link url references, my index, table of contents, and cross references clickable links in documents produced by LaTeX? I generally use pdflatex to produce my documents.
32
votes
1answer
1k views

Adding a per-chapter image along with group of entries in ToC

Friends, I have an old analytic geometry book with an unusual table of contents: for every group of entries based on the current chapter, there is an image along with it. Well, let me show some actual ...
31
votes
1answer
6k views

How to modify the space between the numbers and text of sectioning titles in the table of contents?

I'm preparing a document using the book class. In the table of contents, the space between the subsection number and title is too wide. How to reduce it?
28
votes
3answers
7k views

Contents in PDF bookmarks

I am using KOMA-Script (scrreprt) and hyperref. The PDF bookmarks are generated nicely from the table of contents, but I would like an extra Contents bookmark to point to the table of contents itself ...
28
votes
1answer
3k views

Adding Table of Contents to existing PDF

How can I add a Table of Contents (TOC) to an existing PDF? I have an existing PDF (scanned notes from a class). I'd like to improve this basic scan as much as possible. I do not think that any OCR ...
27
votes
2answers
633 views

How to get thumbnails in a list of figures?

To be honest, I'm not sure if I really want this because I can't imagine how exactly it would look. But maybe someone is interested in this, too, or even has already written code to achieve this: it ...
27
votes
1answer
9k views

Captions for figures in \listoffigures

When I use \listoftables and \listoffigures I get in the list long captions that appear next to the tables/figures. I would like to use short captions for this list which summarize these captions. Is ...
26
votes
2answers
816 views

Create a “List of Effective Pages”

I am considering learning Latex in order to more easily maintain a bunch of manuals for my company. One of the requirements is to have a "List of Effective Pages" towards the beginning of the ...
25
votes
2answers
4k views

Bibliography not in ToC when using biblatex/biber

I just managed to switch from using BibTeX to biblatex with the biber backend. My references now appear how I want. However I have two new issues. 1) How do I change "Bibliography" to references? The ...
25
votes
1answer
2k views

Mini table of contents inside TikZ node on chapter start page

I need to add a fancy looking chapter start page to a book. We're using the memoir class and make use of tikz for fancy section and chapter headings. Now, I need to add a list of the sections that ...
25
votes
1answer
1k views

Table of Contents with additional description of entries

I would like to achieve table of contents with additional description for chapters/sections (see screenshot). What way would you go to achieve this? I'm wondering if it is possible to wrap the ...
25
votes
1answer
3k views

How to customize the table of contents using TikZ?

Are you aware of tentatives to customize the table of contents with TikZ? I am thinking of fancy graphical objects (coloured ovals, squares, rectangles...) coming with "chapter" or the numbering, for ...
24
votes
2answers
19k views

Creating unnumbered chapters/sections (plus adding them to the ToC and/or header)

I'm using the report document class for a thesis, and I need to add things like "Acknowledgements" and an "Introduction". I noticed that there is an \abstract command which would have been wonderful ...
24
votes
1answer
2k views

Book layout Contents, Chapter, Section,

my goal is to get new style of Table of Contents, new style of Chapter and new style of section. I there is one more: how to change itemize native symbol for a black square? Table of Contents: text ...
24
votes
1answer
2k views

Resources for designing a table of contents

What various packages, example code, or examples of existing documents with available source code are available to assist one in: Changing the style and formating of a table of contents? Building a ...
24
votes
1answer
200 views

Why is the .toc file created at end document?

To create a Table of Contents (for example), LaTeX2e follows the process: Run 1 .aux file is created from scratch after \begin{document}. When processing section headers, write \addtocontents to ...
22
votes
3answers
22k views

Insert list of figures in the table of contents

Is it possible to create a list of all the figures at the end of a document (this I can do) and make it appear in the table of contents? So in the the table of content there will be a line saying ...
22
votes
2answers
3k views

Table of Equations

I've looked around for this, and haven't been able to find a satisfactory answer; How would one go about producing (automatically) a table of equations, just a numbered list of used equations, ...
21
votes
2answers
15k views

How to change the title of ToC?

I need to change default title of ToC. Is it possible with titlesec package? Here is my MWE: \documentclass{book} \usepackage{titlesec} ...
21
votes
1answer
4k views

KOMA warning about ToC

Lately I've noticed the following warning from KOMA when I compile my documents: Class scrreprt Warning: \float@addtolists detected! (scrreprt) You should use the features of package ...
20
votes
3answers
7k views

How to remove the self-reference of the ToC from the ToC?

I'm having a very weird problem. The following example should illustrate it quite right. \documentclass[a4paper,12pt]{memoir} \begin{document} \frontmatter \tableofcontents \clearpage ...
20
votes
3answers
2k views

How can I force ToC not to end with a chapter?

So I am writing a programming book and I decided to include \sections in the ToC as well (see picture below). The problem I am having is that I have ugliness where \chapter is the last item on the ...
19
votes
1answer
3k 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 ...
19
votes
1answer
502 views

Separate column in table of contents (in Memoir)

I'm curious if there is a way to have another "column" of numbers in the Table of Contents. The book I'm trying to typeset has a column of chapter and section titles, a corresponding column of ...
18
votes
4answers
2k views

Centering \section* and adding them to the ToC

I'm using LaTeX and the book class and have one problem: I want that my starred sections (only starred sections) appear in the center of the pages instead of the left side of the pages and also these ...
18
votes
4answers
12k views

How to show \listoffigures and \listoftables on one page and in the ToC?

Is it possible to put the list of figures and tables onto one page? I only have two tables in my thesis, so having it on an extra page looks quite bad. I've read about the tocloft package and tried ...
18
votes
2answers
9k views

Remove “chapter #” from the chapter title but keep chapter number in the table of contents

I am using report document class. I want to remove word "Chapter" and "chapter number" from chapter title, so when new chapter starts I will get only chapter title. I can do it using: ...
18
votes
3answers
3k views

Include chapters in List of Figures with titletoc?

I'm working on a book using titlesec&titletoc and want to include chapters (with their numbers and names, but no page number) in the list of figures, if and only if they contain figures. Manually ...
18
votes
4answers
860 views

Is there an easy way to tag content in a LaTeX document?

I am writing a document which will contain many small (approximately a page) snippets of text, potentially organized in sections or subsections. To each such section, I would like to attach several ...
18
votes
3answers
37k views

Beamer table of contents - display all subsections below section

In a latex-beamer document i added the following TOC-Definition: \AtBeginSubsection[] { \begin{frame} \frametitle{Inhalts\"ubersicht} ...
18
votes
1answer
1k views

Is it possible have the PDF bookmark level go deeper that the table of contents depth?

Is it possible to make the bookmarks in the PDF go a level deeper that the table of contents goes? I'm using KOMA-script, scrreprt if that matters. If the table of contents displays two levels: 1. ...
18
votes
3answers
2k views

Photograph credits in LaTeX

Is there any convenient package/way to link photograph credits with a figure, and then generate a kind of \listoffigures? Have you any other solution than generating the .lof temporary file, and ...
17
votes
2answers
626 views

How to put the list of figures into a table

How can I get a “list of figures” of the following type? List of figures Exactly, this list of figures is set as a table. I know this cannot be obtained by the command \listoffigures directly, but ...
17
votes
2answers
2k views

Beamer: Vertical alignment of multi-column ToC

In my LaTeX beamer presentation I have a long Table of Contents, which has been split across two columns by using the multicol package. The problem is that I have not found any way to control vertical ...
17
votes
2answers
2k views

Automatically produce outline?

I have a .tex document which is divided into \section, \subsection, \subsubsection, etc. I would like to produce a separate second document which is an outline of this first document. What's the ...
16
votes
2answers
9k views

Incorrect bookmarks and page number in table of contents

I have problem with table of contents and with bookmarks. In pdf file table of contents shows wrong page number of Introduction and Bibliography, Bookmarks: introduction and bibliography don't bring ...
16
votes
3answers
8k views

How to change the line spacing in my list of figures?

I am using the book documentclass and have a list of figures. After much trouble I noticed that there is a blank line to separate figures that are in different chapters, but not if they are within the ...
16
votes
2answers
456 views

Combined List of Figures and Tables?

Is there a way to have a List of tables and figures as one list? Currently I have \listoffigures \listoftables which generates two lists and starts a new page for each list. What I want is a list ...
16
votes
3answers
1k views

Replacing dot leaders in the table of contents with better typography

Dot leaders are the lines of dots in the table of contents, for example. Bringhurst says of them: [They] force the eye to walk the width of the page like a prisoner being escorted back to its cell ...
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?
16
votes
2answers
4k views

How to hide the table of content's heading?

Is there any chance to hide the "Table of contents" heading that \tableofcontents generates? If figured that \renewcommand\contentsname{} works (it sets the title to "", an empty string), but it does ...
16
votes
2answers
256 views

How can I create two table of contents for a solutions packet, with one of them being sorted by “topic”?

I am using the extbook environment to create a solutions manual. I would like two table of contents on this document: one of them created the "traditional way," i.e., \tableofcontents with ...
15
votes
2answers
10k 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?