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

6
votes
2answers
4k 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 ...
5
votes
1answer
410 views

Space length between the chapter number and the chapter title

How can I learn the horizontal distance between the chapter number and the chapter title both in ToC and the body text where I use \documentclass[12pt,reqno]{book}. Which keys hold these values?
5
votes
1answer
221 views

write contents of an environment to document and toc

I want to write the contents of an environment to the document and the toc. Here's a MWE hacked to look (almost) like what I need. \documentclass[pdftex,12pt]{book} \usepackage{hyperref} ...
4
votes
2answers
164 views

Fix formatting errors of page number > 99 in table of contents?

This is a follow up question of Page numbers > 99 in the table of content are not aligned correctly (cleanthesis). The formatting problem has nothing to do with cleanthesis.sty. The problem is ...
17
votes
2answers
8k 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: ...
10
votes
3answers
6k 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 ...
8
votes
2answers
2k views

Numbered section hidden from the ToC

I'm writing a set of course notes that has an appendix containing many activities. I do not wish the activities to be shown in the Table of Contents, but I do wish them to be numbered. Here is the ...
15
votes
4answers
11k 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 ...
14
votes
2answers
35k views

Making a table of contents for a book

I'd like to know how to create a table of contents in LaTeX. For example, if I were to write a book, I would want something like this Contents Chapter 1 1.1 Real Analysis .............. 1 ...
5
votes
1answer
968 views

How to create a fancy table of contents for Beamer

How can I create a fancy-looking table of contents for a Beamer presentation? \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} \frame{ \tableofcontents ...
11
votes
2answers
675 views

Linking the section text to the TOC

I'd like the section headings in running text to link to their "line" in the Table of Contents so as to get "two-way" navigation, eg: a user looks in the Table of Contents for a section title, jumps ...
10
votes
2answers
7k views

Bibliography in table of contents

\begin{document} \tableofcontents \include{chapter1} \bibliographystyle{plain} \bibliography{biblio} \end{document} The bibliography does not appear in the table of contents, have you an ...
8
votes
3answers
717 views

Insert key words & key phrases into toc

To make the structure of documents (here: my PhD-thesis) comprehensible straight from the ToC, I would like to insert some key words or key phrases in each element of the ToC. I saw this device in a ...
5
votes
1answer
3k views

Show ToC of only a section in beamer (completely hide other subsections)

I'm using beamer for a presentation. What I want is that whenever a section o subsection starts, it completely hides other subsections that are outside the section in the ToC. I mean, for example if ...
4
votes
2answers
592 views

Help formatting table of contents, left margin numbers

Hello I am trying to get rid of some of the numbers on the left side of the table of contents entries. I am using the article class and I would like to eliminate numbers left of "sections" but not ...
8
votes
3answers
5k views

Formatting the title of the TOC

I would like for example to have a bold Arial like font and a red color for the title of the table of contents, and also I would like to change this title to for example "Another title for the table ...
8
votes
3answers
10k views

List of Equations / Table of Equations

After finding Table of Equations and http://www.latex-community.org/forum/viewtopic.php?f=5&t=428, I set about making a List of Equations for my document. The catch here is that we already have a ...
10
votes
3answers
5k views

Table of contents with page style empty

How can I make produce a table of contents by \tableofcontents with page style empty? It doesn't work with \thispagestyle{empty} or \pagestyle{empty}.
4
votes
1answer
263 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 ...
2
votes
1answer
754 views

How to remove double “Contents” heading generated by memoir? [duplicate]

Possible Duplicate: How to remove the self-reference of the ToC from the ToC? I am using memoir with the article setting. For some reason my table of contents has a double "Contents" ...
6
votes
1answer
4k views

Breaking table of contents between frames in beamer

I've got a rather long table of contents for my presentation in beamer, and it doesn't fit on one frame. I know I can provide a table of contents per section, or to manually break it between sections ...
4
votes
1answer
514 views

Page number before Chapter title in the Table of Contents with memoir

I've seen in some novel that, in the table of contents, the page number is before the chapter title, for example: 3 Down the Rabbit Hole 7 The Pool of Tears 15 The Caucus Race and a Long Tale ...
4
votes
2answers
181 views

Chemcompound package : how to avoid the listoffigures scan ?

Another chemcompounds package related question. Also maybe related to my first question relative to chemcompound and subfloat comportement here So my question is how to avoid chemcompounds to scan ...
26
votes
3answers
6k 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 ...
22
votes
2answers
2k 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, ...
20
votes
3answers
19k 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 ...
17
votes
2answers
600 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 ...
11
votes
3answers
11k views

How can I add abstract and acknowledgement pages into the table of contents?

I followed Mike's solution from my first question: Roman numeral page numbering My next question is how to add entries (for the abstract and acknowledgements pages) into the table of contents.
8
votes
1answer
1k views

Add colors that depend on chapters to the TOC

I'would like to add different colors in my TOC, depending on the chapter. I've a color for the header, section subsection of each chapter (red chapter one, blue chapter two etc...). With this code I ...
12
votes
2answers
2k views

Table of contents without title

I would like to have two-columned table of contents: \begin{multicols}{2} \tableofcontents \end{multicols} But it looks wierd if I have a title included in two columns - second ...
12
votes
2answers
9k views

Table of Contents or TOC lines without page numbers

Is it possible to create a TOC (table of contents) with \sections and \subsections, but without the page numbers on the right hand side? I know this defeats the purpose of a TOC but for knowledge's ...
6
votes
1answer
349 views

Multiple listings styles

In using the listings package, how can I have a distinct \lstlistingname value for each type of listing. Lets say my document has C++, R and Pseudo listings, and I would like the \lstlistingname ...
6
votes
2answers
2k views

coloring the page numbers in the table of contents

I try to color the page numbers of my table of contents. I'm using the package hyperref along with the options : \hypersetup{ colorlinks, linkcolor=wine-stain % custom color } Here's the ...
6
votes
1answer
459 views

How to emulate titletoc with tocloft

I was using titletoc until I realized that it has some incompatibilities with hyperref. The thing is, that titletoc can do the same thing in a easier way, less one. \titlecontents*{subsection}[5.4em] ...
5
votes
1answer
3k views

How to get a list of appendices?

How to get a list of appendices like the list of figures and list of tables? How to set it on a separate page, like the list of figures and list of tables?
5
votes
1answer
3k views

List of Appendices

My document guidelines for a multi-chapter thesis requires that any appendices be pulled out of the TOC and dropped into a separate List Of Appendices (LOA). The latex package put together for my ...
4
votes
2answers
402 views

“Page” heading on contents tables

Currently, this code generates pages that look something like: First thing.................i Second thing...............ii 1 First Big Chapter...........1 and so forth, which is fine except ...
3
votes
2answers
1k views

Remove dots for chapters in ToC with memoir

I have seen similar posts but none seem to work. I simply need to remove the dots in the ToC between the chapter titles and the page numbers. I think the page numbers should line up (as if there were ...
3
votes
2answers
1k views

Fix for amsart.cls tableofcontents bug regarding starred sections?

The command \section* is meant to produce a section that is not listed in the table of contents. However, when using amsart.cls, such sections are still listed. I believe this is a known bug. How ...
10
votes
2answers
909 views

How to make a hyperlink cover the whole line in table of contents including the dots?

The linktoc=all option of hyperref package makes both the reference text and page number clickable hyperlinks. However, the dots are still not hyperlinks. This is not very important but I'm asking out ...
8
votes
1answer
528 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 ...
8
votes
2answers
2k views

List of Figures/Tables - eliminate dots?

I need to eliminate the dots that appear in \listoffigures and \listoftables results - is there an easy way to do that? EDIT: I think I need to actually eliminate the dots. Modifying @dotsep via ...
7
votes
2answers
4k views

Modifying the Page Numbers in the Table of Contents

Is there a way how I could make a section/chapter/any-heading which occurs on page x in my document to appear in the table of contents with the page x-1? (I am using scrbook) I'd like this result not ...
7
votes
2answers
2k views

How to use a longtable with only one entry in the list of tables

I'm using longtable to spread my table over three pages. Unfortunately the caption is also added three times to the list of tables. Is is possible to have it displayed only once?
7
votes
3answers
561 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?
6
votes
1answer
280 views

How do I get multiple ToC entries in the same line?

I need that, in the ToC, all the \paragraph references appear in the same line, like. 1 First Chapter................................................1 1.1 First ...
4
votes
3answers
2k views

Customizing the list of listings generated by \lstlistoflistings?

I'm using listings in my document, and its command \lstlistoflistings to generate the list of listings. The problem is that I've customized all the other lists (TOC, LOF and LOT). More precisely, I've ...
3
votes
2answers
528 views

How to remove page number in TOC for Part entry (not page number printed in TOC pages)

I want to remove page number in TOC entry for Part (in this example 3 must be removed) \documentclass{scrbook} \usepackage{lmodern}% for sans-serif plus bold plus italic ...
2
votes
2answers
1k views

Is it possible to change the way a list of algorithms is generated to include the word “Algorithm” before each element in the list?

I've tried using both algorithm2e and algorithmic to generate a list of algorithms, but they both do it this way: List of Algorithms 1 BFS ..... 1 2 DFS ..... 2 ... When I'd like to it to be: ...
1
vote
2answers
841 views

Table of contents

How will i create a table of contents to have an output like this... CONTENTS ILLUSTRATIONS ...........................................i ...