{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
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: ...
4
votes
2answers
4k views

Centering table of contents caption

I would like to center the caption of my table of contents, so that it looks as follows: Table of contents 1. Section 1 1.1 ...
12
votes
1answer
1k views

\addtocontents at end of document not getting written to .toc file?

I'm trying to find a more elegant solution for ToC, LoT, and LoF formatting for my university's thesis/dissertation style. The short form of their requirements means I need one page style for the ...
27
votes
1answer
2k 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 ...
9
votes
2answers
1k views

Grouping the list of listings by chapter

I am using the listings package. I want to print out a list of listings, which I can do. The thing is that in the other listings the typesetter "groups" figures/tables by chapter. Is it possible to ...
6
votes
2answers
1k views

AMSTeX table of contents

I'm using the docoumentclass amsart. Two things I don't like: The table of contents (TOC) looks kind of poor, is there an easy way to change it? I like it from article more. If I use \section*{bla} ...
3
votes
2answers
1k views

cftpartnumwidth - TOC not responding to changes

I posted the question here: http://www.latex-community.org/forum/viewtopic.php?f=47&t=11499&sid=ff51ce4bc05d87957773d360d33ffa91 but nobody answered, so I'm posting my question here ;] I am ...
1
vote
1answer
731 views

How to make the subsection number and the section title share the same vertical alignment in ToC?

Background The following screenshot shows "the left part of section title" and "the left part of subsection number" have different vertical alignment lines. For 12pt option passed to \documentclass, ...
2
votes
1answer
1k views

\tableofcontents and \listoffigures — suppress header after first page

I have set the top and bottom margins of a book class document like this: \setlength{\topmargin}{0in} \setlength{\headheight}{0in} \setlength{\headsep}{0in} \setlength{\textheight}{8.5in} ...
13
votes
2answers
12k 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
1answer
899 views

Replicate Figure w/out Inserting New Entry in List of Figures

I would like to replicate a figure in Chapter 3 within Chapter 6 such that the figure is displayed and optionally, it has the caption and Figure number of the figure in Chapter 3. If that is not ...
5
votes
3answers
5k 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 ...
2
votes
2answers
2k views

Table of contents makes pdf generation fail.

I am using TeXworks to try and create a PDF file. The problem is that it seems that the \tableofcontents is making the pdf generation fail. Here is part of my code which seems to be causing the ...
1
vote
3answers
434 views

How can I change the level of the References in the Table of Contents by using the package “bibunits” for long monographs

In monographs, references are often put at the end of each chapter, and the bibunits package can be used. References in the Table of Contents(ToC) should have the same level as section as follows: ...
89
votes
5answers
88k 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 ...
8
votes
1answer
2k views

How can I generate a list of appendices, separate from the table of contents (ToC)?

LaTeX's appendix environment formats sections differently and uses a different enumeration in the table of contents: \begin{appendix} \section{superuser} \dots{} .... Shows up as ...
9
votes
3answers
5k views

Add 'Page' above page numbers in Table of Contents

I am using my school's latex cls file. Unfortunately, since this package was last updated, we are now required to add the word 'Page' above the topmost page number on each page of the Table of ...
5
votes
1answer
4k 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 ...
3
votes
2answers
2k 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 ...
11
votes
1answer
22k 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: ...
13
votes
3answers
3k views

TOC Text - numbers alignment

I am using \tableofcontents to create TOC in my document. however it is appearing as shown in the image. As the numbers increase the gap between the number and text is reducing. Thanks for your ...
6
votes
2answers
5k views

TOC Section & Subsection coloring

Is it possible to create a TOC with section headings in one color and subsection headings in different color. \tableofcontents \setcounter{tocdepth}{2} I am using above lines to create TOC, do I ...
17
votes
6answers
3k views

Roman numerals become “too wide” in table of contents

Following minimal document: \documentclass{report} \begin{document} \renewcommand*\thechapter{\Roman{chapter}} \tableofcontents \setcounter{chapter}{6} % Problem starts at chapter 7 \chapter{Seven} ...
15
votes
2answers
13k 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?
12
votes
1answer
3k views

How do you make a TOC link cover text and page number?

The hyperref package allows you to specify that TOC links in the pdf cover the text (default) or the page number (linktocpage=true), but not both. That is, you can have this: [My Title]. . . . . . ...
8
votes
2answers
1k views

What is the easiest way to decrease the linespread in a table of contents?

Using the scrartcl class for a report I am writing, I would like to have only the sections show up in the table of contents. Although I manage to do that, the linespread looks too big in my eyes, and ...
4
votes
1answer
1k views

list of requirements, problem with listing text of requirements

I would like to have "requirements" in my document numbered. Then I wanted to have list of requirements, but not only number of requirement and corresponding page/section but also theirs text. I ...
65
votes
4answers
45k 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} ...
17
votes
2answers
3k 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 ...
5
votes
1answer
6k views

Customizing Beamer's Table of Contents

I used the following standard beamer code to create a table of contents at the beginning of each subsection: \AtBeginSubsection[] { \begin{frame}{Outline} ...
5
votes
1answer
523 views

How to number the ToC?

I need to give a Roman number to the ToC. So basically, I want the ToC to internally use \chapter instead of \chapter*. Is there any way to do that?
7
votes
4answers
2k views

[Optionally] Specifying arbitrary numbers for sections and subsections

I'm working on a package to simplify writing my homework and assignments. Unfortunately, not all of my professors assign problem sets with sequential numbering. Thus, I'd like to optionally be able ...
16
votes
1answer
8k views

Split the Table of Contents in two pages

Let's say I'm writing a document with 6 chapters. I want to force the table of contents to be split between two pages. The first page would list the first 4 chapters, the second page would list the ...
8
votes
2answers
5k views

customizing TOC

I'm new to latex, I'm thankful if someone can give me an example script to customize TOC that looks like Chapter 1.XXXXXX (1-15) 1.1 ...
4
votes
1answer
933 views

Changing the width of the table of contents

I'd like to be able to change (in particular, make smaller) the width of my table of contents in the article document class without altering the margins of the page. Is this possible??
11
votes
1answer
1k views

Adding notes to Table of Contents

How could I add a note ... or a footnote at the beginning of the Table of Contents, something like 'Chapters with * can be skipped on a first reading'...?
6
votes
1answer
5k views

Fonts in scrartcl.

Hallo all, I started using the scrartcl class and then all the fonts (section, title ...) were messed up. How can I get them back as they where when I used article. Do I have to set them all with ...
8
votes
2answers
3k views

Style of tableofcontents

I want to change style of table of contents which is given by \tableofcontents, (say I do not want that much space between lines and some I want the subsections to be listed in one line). How can I ...
12
votes
2answers
4k views

Minitoc and memoir

I read this question about minitoc but I can't make it work with memoir. Is there an known incompatibility between these two ? Is it somehow possible to make it work ?
3
votes
3answers
11k views

Changing the font in the ToC ?

I am using the package memoir and I redefined the fonts related to the chapters headings: \renewcommand\chapnamefont{\normalfont\Large\sffamily\scshape\raggedleft\so} ...
4
votes
1answer
341 views

How to use several different fonts in the table of contents ?

I want to use different font and size for chapters and sections in the table of contents generated by toc. How should I customize the toc?
17
votes
3answers
9k 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}.
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 ".". ...
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 ...
6
votes
2answers
9k views

TOC line indent and break problem

I have long chapter and section titles in my document, so titles in the table of contents do not fit into one line. I have two problems regarding with this: When the second line starts, i need to ...
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? ...
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, ...
7
votes
1answer
10k views

How can I add the bibliography in a report with its own section, including number?

I'm writing my thesis as a report document using TeXShop (pdflatex and bibtex) and want the bibliography to get its own section number and appear in the table of contents. Here's what I've tried so ...
7
votes
3answers
2k views

Problem with special characters in .toc files

I have an odd problem with special characters (in this case the Swedish åäö), that pops up in my .toc file. If I remove the .toc file everything works OK except I get an empty table of contents. When ...
12
votes
3answers
4k views

How to enforce generation of PDF table of contents?

When I'm adding \tableofcontents to my document the PDF generated contains a nice list of sections/subsections on the left side, when viewed in Adobe Acrobat (I also use hyperref package). Everything ...