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

8
votes
1answer
854 views

\chaptername is used even for appendix chapters in ToC

I have searched for something to resolve a problem that has shown up here: How do I get \chaptername to appear in the table of contents? I have tried the code from that thread. But I got an issue, ...
8
votes
4answers
488 views

Index is incorrectly listed in the table of contents

I have a large document with an index compiled through makeindex, and is included in my source .tex as follows: \cleardoublepage \phantomsection \addcontentsline{toc}{chapter}{Index} \printindex ...
8
votes
2answers
4k 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 ...
8
votes
2answers
5k 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 ...
7
votes
1answer
358 views

First chapter appearing before first line in table of contents

I have a table of contents in my memoir book. I want there to be one line for each chapter, in addition to headings for each set of similar chapters. For some reason, the line for the first chapter ...
6
votes
4answers
4k views

Custom list of hypotheses in table of contents format

The Context: I am writing a multi-chapter scientific report with many numbered hypotheses. I have created a custom hypothesis environment in the preamble: \newtheorem{hypothesis}{Hypothesis}[chapter] ...
5
votes
1answer
1k views

Beamer with Warsaw Theme: Two column navigation

I am using Beamer with the Warsaw theme to make a presentation. I quite like having a mini-outline of the TOC at the start of each slide. However, I have found that it tends to take up quite a bit ...
4
votes
1answer
482 views

Add the word “Algorithm” before each entry in the List of Algorithms

I'm trying to add the word "Algorithm" before each entry in the List of Algorithms (because of unavoidable thesis guidelines). I saw similar questions but the solutions listed there don't work for ...
4
votes
1answer
4k views

Adjusting spaces for the ToC [duplicate]

Possible Duplicate: TOC Text - numbers alignment How to modify the indentation before sectioning titles in the table of contents? I have a LaTeX document with many subsections (more than ...
13
votes
1answer
1k views

Hiding the “Table of Contents” page from Table of Contents

I'm using the memoir class, and it adds the Table of Contents page to the TOC. It is... well... pretty redundant... Any quick way to eliminate this? \documentclass{memoir} \begin{document} ...
6
votes
1answer
245 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} ...
5
votes
1answer
512 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?
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
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 ...
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 ...
5
votes
1answer
2k 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 ...
7
votes
1answer
4k 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 ...
14
votes
2answers
37k 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 ...
11
votes
2answers
11k 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
745 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
2answers
682 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
6k 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 ...
10
votes
3answers
6k 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
354 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
860 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 ...
5
votes
1answer
1k views

How to make appendices behave like sections in ToC

I would like my appendices to behave like sections under the ToC but keep them as chapters in my document. Here is a MWE of my current structure: \documentclass[11pt,a4paper,oneside,openright]{book} ...
4
votes
1answer
544 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
188 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 ...
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 ...
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, ...
12
votes
3answers
9k views

Generate table of contents when \section* (sections without numbering) has been used

Is it possible just to generate a table of contents based on sections in asterisk mode, i.e., \section*? I basically just want the table of contents without section numbers. Like a list of headings ...
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 ...
17
votes
2answers
627 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
12k 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.
10
votes
2answers
4k views

TOC entries and labels for included PDF pages

I am embedding full pages from another PDF document (using the pdfpages package), but I would like to be able to declare my own section headings before each embedded document (for e.g. hyperlinking / ...
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 ...
7
votes
1answer
2k 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 ...
4
votes
1answer
10k views

\addcontentsline: lines added to TOC not numbered, and lines added to TOT not shown

Two problems arise when I add lines to the table of contents (TOC), and to the table of tables (TOT): The TOC lines are not properly numbered. The TOT lines don't show on the TOT. Any idea how to ...
13
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 ...
8
votes
2answers
2k views

Hyperref: Changing the linkcolor locally in the TOC

I found that the link-color for TOC text is identical to the link-color for Figures and Tables. When I change the color to black in the TOC also the color for Figures/Tables citation etc. is changed. ...
6
votes
1answer
452 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
3k 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
513 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
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 ...
4
votes
2answers
424 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
2k 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 ...