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

1
vote
1answer
592 views

How to control \chapter text related to \tableofcontents

How can I control \chapter text associated with \tableofcontents How to change the font size of \chapter{text} in TOC page. How to restrict TOC pages to ONE. (Two pages are coming as default). At ...
6
votes
2answers
2k views

Add a link to the TOC

I'd like to link the Table of Contents in the footer of each page. I can achieve this thanks to this hint like so: # In the hyperref section of the document preamble \cfoot{\hyperlink{page.1}{TOC}} ...
8
votes
3answers
2k views

Number mhchem reactions and create a \listofreactions

Is there a way to create an environment for reactions defined with mhchem that behaves similarly to equation in terms of numbering the reactions (including a \nonumber command)? Can I get a list of ...
28
votes
1answer
4k views

Adding Table of Contents to existing PDF

How can I add a Table of Contents (TOC) to an existing PDF? I have an existing PDF (scanned notes from a class). I'd like to improve this basic scan as much as possible. I do not think that any OCR ...
24
votes
4answers
12k views

How to remove the self-reference of the ToC from the ToC?

I'm having a very weird problem. The following example should illustrate it quite right. \documentclass[a4paper,12pt]{memoir} \begin{document} \frontmatter \tableofcontents \clearpage \...
5
votes
1answer
462 views

How can I restore Chapter page numbers in minitoc with memoir?

Here's my minimal example: \documentclass{memoir} \usepackage{minitoc} \usepackage{lipsum} \doparttoc \begin{document} \tableofcontents \part{The Only Part} \parttoc \chapter{The Only Chapter} \...
8
votes
1answer
500 views

Recommendations for partial contents page arrangement in memoir

I'm writing a moderately large reference work using memoir. As it falls naturally into parts by audience, I'd like to include partial tables-of-contents, by part. I have managed to get my head round ...
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? ...
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
5k 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 ...
28
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
736 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} \setlength{\...
14
votes
2answers
13k 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
907 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
446 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: ...
92
votes
5answers
94k 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
6k 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
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: \...
13
votes
3answers
4k 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 help ...
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 ...
20
votes
7answers
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} \...
16
votes
2answers
14k 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 ...
69
votes
4answers
47k 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} \tableofcontents[currentsection,...
5
votes
1answer
541 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 ...
17
votes
1answer
9k 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
948 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??
12
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
12k 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} \renewcommand\chaptitlefont{\...
4
votes
1answer
342 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
10k 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}.