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

11
votes
3answers
8k views

\tableofcontents from \part commands in Beamer

I am not able to generate the table of contents made of all the parts (declared by \part command) of my Beamer presentation. While sections of each part are listed easily, there is no hint in the ...
11
votes
3answers
534 views

Table of contents numbering is strange [duplicate]

Possible Duplicate: ToC numbering problem My LaTeX document is acting strangely. Here is a simplified version of it: \documentclass{article} \begin{document} \tableofcontents \newpage ...
11
votes
3answers
547 views

Creating organized table of content for a randomly organized content

I am working on an ever evolving document, which will contain my notes on certain topics which I learned outside school. I would like to use Latex to document it as it can sometimes contains math and ...
11
votes
2answers
2k views

How can I add Section numbering and a Contents entry to the PDF bookmarks?

I'm having a bit of trouble with the PDF bookmarks. I am trying to Add "Contents" as an entry to the PDF bookmarking. Have numbering for my sections and subsections. I am looking to achieve ...
11
votes
1answer
2k views

Table of Contents horizontal lines

How can I put horizontal lines before and after my Table of Contents entries? To illustrate the look and feel I am after, please take a look at this image: I would like to understand how to do the ...
11
votes
2answers
562 views

Chapters inside LoF and LoT?

I was wondering if it was possible to section the LoF (and similarly LoT) by Parts and/or Chapters. Currently, I have : List of Figures 1.1 blablabla 1.2 blablabla 1.3 blablabla ...
11
votes
3answers
1k views

Generating lists of custom environment.

I've created my own environment example, similar to theorem. Now I want to generate a list of examples, similar to list of tables or list of figures. How can I achieve this?
11
votes
1answer
1k views

Cite in the caption of a graphic but not in \listoffigures?

Sometimes I'd like to cite the reference in the caption of a graphic. But I want to avoid that this citation is displayed in the \listoffigures. How can I achieve that? Fore example with this code: ...
11
votes
2answers
6k views

Hide navigation information in sidebar on title page and TOC page (beamer)

Edited for clarity: I am trying to remove the navigation information in the sidebar that lists a TOC on the title page and the TOC page in a beamer presentation. I still want the sidebar to appear ...
11
votes
2answers
3k views

Why are \listof{}{} and \listoffigures styled differently?

I'm writing my thesis and I have certain code-snippets to show. I'm using the the listings package embedded in a custom float environment to display them. To list them in an index at the beginning of ...
11
votes
1answer
3k views

Hyperref pointing is incorrect in the Table of Contents

I'm observing strange behavior with hyperref and the \tableofcontents. Clicking on List of Tables or Synopsis takes me to the Preface page. Perhaps it has something to do with \chapter* titles for ...
11
votes
2answers
856 views

Different tocdepth for main toc and in-section toc

Having code like this \documentclass{article} \usepackage{lipsum} \usepackage{titletoc} \begin{document} \tableofcontents \section{A long section} \startcontents[section] ...
11
votes
2answers
6k views

Extra space for numbered titles in table of contents

Background A manual with chapters, sections, subsections, and sub-subsections. Using KOMA Script v2. Problem The spacing between the heading title and its number is too close to the number in some ...
11
votes
1answer
23k views

Changing color and bullets in Beamer's table of contents

Does anyone know how to change the color scheme and/or bullets used in Beamer's table of contents (without changing the overall structure color or theme)? Unfortunately, the following doesn't work: ...
11
votes
3answers
2k views

One caption in listoffigures for a ContinuedFloat

I am using the \ContinuedFloat command of the subfig package to print a series of figures in more than one page. I would like to have one caption in the List of Figures and "compress" the pages so ...
11
votes
1answer
506 views

Todonotes: group list-of-todos by section

This is a follow up question to group list-of-todos by chapter. egreg's solution works great with classicthesis and scrreprt, and I've been trying to do the same without classicthesis and for ...
11
votes
3answers
4k views

How do I center the table of contents title using tocloft?

I'm getting odd behavior using package tocloft to format my table of contents and center the titles "Contents", "List of Figures", and "List of Tables". Using the code suggested in the tocloft ...
11
votes
1answer
12k views

Hyperref, Table of Contents and subsections

I have encountered a problem in latex that I have not been able to solve. While the hyperref package generates clickable links in the table of contents, it does not link any subsection to the actual ...
11
votes
2answers
1k views

Different hierarchical levels in TOC and hyperref-generated PDF bookmarks

I would like to make hyperref generate bookmarks for all available hierarchical levels of my documents, but only in the produced PDF. For the TOC itself (i.e. the one printed at the beginning of the ...
11
votes
1answer
876 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") ...
11
votes
1answer
471 views

How to remove the indentation in list of listing

The list (from \lstlistoflistings) is indented compared to list of tables (\listoftables). How can I remove the extra indentations? \documentclass{memoir} \usepackage{listings} \begin{document} ...
11
votes
1answer
152 views

Visual table of contents (tikz mindmap) - Problem in output

I would like to make visual table of contents, just like here. However, I have a part that does not have a section and I would like it to output, but it does not do so. I took my code from here as ...
11
votes
1answer
2k views

Where to place a two-page table of contents / list of figures?

In my Master's thesis, I use scrbook and start every chapter on odd pages. Now both my table of contents and list of figures span exactly two pages. My question is therefore more related to style and ...
10
votes
2answers
20k views

How to get lines with dots in the table of contents for sections? [duplicate]

Possible Duplicate: Changing the TOC style of an Article document-class When I use \tableofcontents, It uses ... as a filler between title and page number for subsections, How I can force ...
10
votes
2answers
359 views

How to get a very compact TOC

This is how the original TOC looks. This original format of the table of contents takes too much space. I wanted some format that is compact and found this sample. I am also searching for other ...
10
votes
3answers
1k views

Adding table of contents to contents - wrong page numeration

I want the "Table of contents" position to appear in the table of contents. I'm using \addcontentsline to add this position, but the page numeration seems a bit odd. I have a table of contents ...
10
votes
2answers
6k 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.... ...
10
votes
4answers
6k views

How can I produce an unnumbered chapter for the introduction?

If I did \setcounter{chapter}{-1} \chapter{Introduction} then I get Chapter 0 Introduction. I just want the word Introduction, and I want it also in the contents when I use \tableofcontents How ...
10
votes
1answer
21k views

Removing page number from ToC

How to remove the page number from the table of contents page?
10
votes
1answer
4k views

List of figures: numbers overlap image caption

I have many images in a part of my document, now the list of figures numbers collide with its respective image caption as seen below. There would be enough space to move the text a bit more to the ...
10
votes
2answers
5k views

How to remove top margin above \tableofcontents

My contents page would fit on one side, if LateX wouldn't force an automatic whitespace block on top of the table of contents. Is there any way to remove this block and have \tableofcontents start at ...
10
votes
4answers
3k views

Changing distance between chapter number and chapter title in the table of contents

I'm typesetting a document with more than 100 chapters in it (don't ask, I didn't write it!). The table of contents comes out ugly, because it seems the distance between the chapter number and the ...
10
votes
2answers
22k views

Table of contents using article and report classes

When I make a table of contents with the article and report classes the results are different. I have two questions. Why does this happen? How can I make the report ToC look like the article one? ...
10
votes
2answers
12k 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. ...
10
votes
2answers
2k views

Make Chapter Titles link to Table of Contents [duplicate]

I'm using the hyperref package to create hyperlinks in my document. The links from the TOC->chapters/sections work great, but I was wondering if there was a way to automatically insert hyperlinks from ...
10
votes
2answers
7k views

Changing the TOC style of an Article document-class

When typesetting an article documentclass, the sections appear as bold in the table of contents, with no leading dots. I would like to change these to non-bold, and insert some leading dots. I tried ...
10
votes
2answers
4k views

Table of contents not dotfilling?

Is this wrong? It seems the ToC does dotfilling only for sections and not subsections. Why is this happening and how can I fix it? I'm using \tableofcontents and nothing else to generate this ToC, ...
10
votes
1answer
921 views

Add author's name automatically while building ToC

I, along with a few others, am writing a project report, where different subsections have been authored by different people. When I build the table of contents using the \tableofcontents tag, it would ...
10
votes
2answers
7k views

List of figures with sources

What is the best way to place the source of images in my document? I have some images and they are shown in the \listoffigures like expected, but how can/should I point out where they come from? ...
10
votes
1answer
4k views

\subsubsection in a report style document

I am trying to make a subsubsection in a report document. It does this successfully, however it removes the subsection from the contents section of the document. Is there anyway to rectify this? I ...
10
votes
2answers
2k views

Remove spacing between per-chapter figures in LoF

When I'm generating a List of Figures in my project, all figures are grouped by chapter. I would like to have the whole list without any additional new lines between different chapters. How it looks ...
10
votes
1answer
2k 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 . . . . . . . . . . . . . . . . . . . . . ...
10
votes
1answer
122 views

ToC fine, but wrong hierarchical structure of index

I'm using Springer's svmult template for an edited book. The header of each article inside the book looks like this: \title{Article's Title} \author{Author's Name} ...
10
votes
2answers
652 views

Rendering only the Table of Contents

Strange question, but I wanted to know if its possible to render only the table of contents and not the associated body of text below. Is there a suppression command that means that a section is ...
10
votes
2answers
767 views

KOMA-Script scrbook: width of chapter and section number

I'm using KOMA-Script’s scrbook class and have problems with the Table of Contents. When the chapter number is too large, the chapter number is glued to the chapter heading. The chapter-section ...
10
votes
1answer
734 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 ...
10
votes
1answer
1k views

Changing number format in ToC

I'm using the tocloft package to alter the looks of my table of contents, but there's one thing I can't find in the documentation: splitting the number by level, to insert other delimiters than ".". ...
10
votes
1answer
1k views

Add author before chapter title in ToC

I working on an edition with various author. And I want the chapter's author name being shown in the ToC. I have modified the chapter to add the author there and use it in the page header as follows: ...
10
votes
1answer
540 views

How to highlight specific entries in a tocloft-formatted ToC

I am writing a document using the book class, and I use tocloft in order to customize the appearance of my ToC. So far, the package did a great job for most customizations, except for one thing: I am ...
10
votes
1answer
6k 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 ...