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

5
votes
3answers
4k views

Creating a separate list of appendices with tocloft

I'm very sorry but I have to ask for urgent help as I could not make sense of the individual questions I asked previously. I'm required a separate list of appendices, i.e. the appendix is not to show ...
10
votes
2answers
5k 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 / ...
5
votes
2answers
885 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 ...
13
votes
2answers
9k views

Table of Contents with Chapter

I'm attempting to modify the Table of Contents in my document. Currently, chapter one in my document is listed as 1 Introduction What I would like to see is Chapter 1 Introduction Seems ...
9
votes
2answers
5k 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 ...
14
votes
6answers
7k views

ToC numbering problem

My LaTeX document is acting strangely. Here is a simplified version of it: \documentclass{article} \begin{document} \tableofcontents \newpage \addcontentsline{toc}{part}{A Part of My Document} ...
8
votes
1answer
1k 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
526 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
6k 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
417 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
1answer
2k 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 ...
6
votes
4answers
5k 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] ...
4
votes
1answer
5k 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
2k 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
648 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?
6
votes
1answer
290 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} ...
40
votes
1answer
15k 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 ...
18
votes
2answers
10k 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: ...
11
votes
1answer
7k 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 ...
9
votes
2answers
3k 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 ...
25
votes
3answers
30k 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 ...
20
votes
4answers
15k 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 ...
16
votes
2answers
41k 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
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 ...
12
votes
2answers
19k 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 ...
16
votes
2answers
1k views

How to determine whether a list of figures is empty, then not show it at all?

I want to check whether the document has any figures so as to decide whether or not to have a list of figures. Is this possible? Feasible without doing something like parsing the lof file? Note that ...
9
votes
3answers
8k 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
801 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 ...
13
votes
3answers
7k 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}.
11
votes
2answers
1k views

Two tables of content

See the min expl below. I would like to have two ToC: one giving only the rough structure of the document and a second one giving all the details down to subsubsections. The code pasted below should ...
6
votes
1answer
609 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 ...
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
3answers
3k 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 ...
10
votes
2answers
5k views

How to remove “zero” preceding section number?

\documentclass[11pt]{book} \usepackage[svgnames]{xcolor} \makeatletter \let\stdl@section\l@section \renewcommand*{\l@section}[2]{% \stdl@section{\textcolor{blue}{#1}}{\textcolor{blue}{#2}}} ...
8
votes
1answer
10k views

Remove dots & Page numbers from TOC

I am using example given here by @stephan TOC Section & Subsection coloring. Works great however I want to get rid of dots and page numbers. I added this to the preamble ...
7
votes
1answer
379 views

List of tables (or figures) by section - LaTeX

I am writing a master's thesis and I wish to create a list of tables and list of figures that is ordered by section, with the name of the section clearly displayed. The numbering of my tables (and ...
7
votes
1answer
6k 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
2k 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
517 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
1k 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" ...
7
votes
2answers
228 views

How can I add the word “Chap” before the chapters numbers in the Toc in class report?

At here Adding the word "Chap" before the chapters numbers in the TOC the word Chapter added in \documentclass{book}. Now I want to use them in \documentclass{report}. How can I do that?
6
votes
3answers
3k views

Remove citation from List of Figures

I have list of figures page. Some of these figures' captions have citation. How can I remove the citation from the list of figures page and keep the citation on the normal pages ? Regards ...
4
votes
1answer
617 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
198 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 ...
1
vote
1answer
945 views

Thesis running problem in KILE

I'm using KILE editor. There is no problem when I run others .tex article in Kile. But problem is when I run a thesis article in KILE. This thesis article is running fine in WinEdt. ...
28
votes
3answers
8k 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, ...
14
votes
3answers
14k 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 ...
19
votes
1answer
4k 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 ...
14
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 ...