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

7
votes
1answer
1k views

hyperlink to the ToC page

I want to have hyperlinks pointing to the ToC page. (In my MWE, the links are situated in the section titles, but it makes no difference for the discussion here). My MWE: \documentclass{article} ...
9
votes
2answers
1k views

Inline table of contents

I am trying to generate an inline Table of Contents that would have no title, a depth of two and the following formatting: 1. Section one ‖ 1.1. Subsection one; 1.2. Subsection two ‖ 2. Section two ...
9
votes
1answer
5k views

List of Algorithms Using algorithm2e

According to the documentation, I can add an entry in the ToC for the list of algorithms created using the algorithm2e package by including dotocloa as a package option. When I do this I receive an ...
6
votes
1answer
402 views

Back-referencing figures

Similar to the backref package that enables back-referencing for bibliographic items in a LaTeX document, I want to use back-references in my list of figures. Is there a clean way to accomplish this? ...
2
votes
1answer
214 views

List marginpars in the/a TOC

I try to write a longer story. To make the structure more clear I use the command \marginpar. But that is still time consuming when it comes to the point when I need to find a certain passage. That is ...
9
votes
2answers
2k views

Table of contents: section titles ragged right

In the standard book class, if there are very long section titles, \tableofcontents tries to produce justified text. How can I produce a table of contents so that the section titles are typeset flush ...
11
votes
2answers
6k 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}}} ...
12
votes
1answer
4k views

List of figures: source below image caption?

I'm relatively new to LaTeX and currently working on a paper. In my list of figures, I'd like to have a structure like this: Fig. 1: <Title of figure> . . . 1 ...
5
votes
1answer
456 views

How to define parallel section-like headings?

I am trying to help typeset a book for a friend, and I've converted most to use chapters, sections, subsections and subsubsections. However, some sections are of the form "Digression N: Text". The ...
7
votes
2answers
9k views

How do I enumerate the items in beamer table of contents

I'm inserting a \tableofcontents slide in my beamer presentation. The trouble is that I have everything in itemize environment throughout my presentation. (Gives a better view to the audience.) The ...
13
votes
2answers
14k views

Beamer: Removing headline and its space on a single frame (for plan), but keeping the footline

There is now 4 hours that I'm Googling to found a solution to my problem but it's still impossible! Here is the situation: I have some frames in a presentation using the Warsaw theme, on the first ...
3
votes
1answer
2k views

Number on all pages of table of content

I have this issue with a LaTeX document: I want to have page numbers on every page of the Table of Content. In my case the ToC is displayed across two pages because of many chapters in the text, but ...
6
votes
1answer
17k views

Adding the word “APPENDIX” to Table of Contents in LaTeX

My appendix style looks like this: \newboolean{@@inappendix} \newcommand{\@@appendixname}{Appendices} \renewcommand{\appendix}{\par \setboolean{@@inappendix}{true} \setcounter{chapter}{0}% ...
1
vote
0answers
534 views

Including a graphic in the contentsline of a Table of Contents [closed]

In a dictionary, I have the first page of each section — corresponding to a different letter of the alphabet — marked to appear in the table of contents, using the titletoc package: ...
9
votes
2answers
2k views

How do I remove spacing from before the table of contents in memoir class?

I am using memoir class to create a collection of short stories, and the default space before the table of contents and chapter titles is quite large. I have seen several posts on this site that show ...
3
votes
2answers
484 views

tex4ht: limit toc

When I run the following file through htlatex main html,4, the first (main) page has a table of contents that is too deeply nested. I only need part,chapter and section in my toc. The section page ...
5
votes
1answer
2k views

titletoc: How to format mini/partial tocs for each section (hspacing, vspace of entries)?

I would like to have partial tocs (mini-tocs) for each section. I would like to achieve this with the titletoc package. As you can see from the code below, it pretty much does the job but the problem ...
8
votes
1answer
2k views

Getting a section to not appear in beamer tables of contents

How do I do that? How would I get this one section frame to not appear? \section{Section} \subsection{} \frame{ }
1
vote
2answers
1k views

How to make table with caption appearing on \listoftables without \begin{table} environment? [duplicate]

Possible Duplicate: Label and caption without float Create caption without float AND without caption-package? Here is an example of LaTeX document being compiled with pdflatex having ...
1
vote
1answer
2k views

Title page plus table of contents

I am writing a paper for my candidacy exam. I am using book class, but I want my name and the title to appear on the first page with the Table of Contents instead of appearing in a sepearte page. ...
8
votes
1answer
7k views

Ignore figure for list of figures

I'd like to include some figures in my LaTeX document just like every other figure but don't have exactly these figures included in the list of figures. Since I couldn't find a solution I have to ask ...
6
votes
1answer
390 views

Grouping figures in \listoffigures

Is it possible to group together several figures in the List of Figures. For example a time step sequence where there are 4 or 5 different figures would only have one entry.
3
votes
1answer
1k views

figures in sidewaysfigure environment are not listed in List of Figures

I was writing my thesis and found that all figures I included in sidewaysfigure environment are not listed in \listoffigures. How can I make those figures listed in List of Figures? What I did is ...
2
votes
0answers
5k views

How to show subsubsections and paragraphs in table of content [closed]

I have a table of content that shows the chapters, section and subsections. However, I want to list the subsubsections and paragraphs too. In the document all of them are listed (enumerated) but ...
2
votes
1answer
554 views

How to use \addtocontents to indent to section/subsection names

\chapter{C} \section{S} \subsection{SS1} \subsection{SS2} \addcontentsline{toc}{subsection}{AddedSS} results in 1 C ................... 1 1.1 S ............... 1 1.1.1 SS1 ....... 1 ...
2
votes
1answer
2k views

Changing ToC subsection entry font in scrartcl

I have changed the default serif font of my document to use old-style numerals (I think they look quite nice). However, in the serif entries of the subsections (section entries are in a sans-serif ...
4
votes
2answers
1k views

Printing the bibliography heading in uppercase but showing it as sentence case in the ToC

At my class I am supposed to write a report where the chapter headings are always in uppercase, but have to printed in sentence case in the table of contents. For regular chapters I have achieved this ...
0
votes
1answer
506 views

Incorrect page number in List of Listings

The problem I'm having is that page numbers, in a List of Listings, are frequently off by one page. I'm using the listings package and I have a List of Listings in the beginning of the document, ...
5
votes
1answer
5k views

How to make (force) line-break in Chapter Title (in ToC, Chapter, Header) - if possible?

I've found how to make different text for Title appearing in ToC, Chapter and headers Chapter title in header too long : \chapter[medium-length title for TOC, if wanted]{full title name} ...
2
votes
1answer
3k views

Formatting new list of definitions with tocloft

Using the tocloft package in LaTeX, I created a List of Definitions. From the package documentation and some online examples I came up with: \newcommand{\listdefinitionname}{My list of definitions} ...
5
votes
1answer
701 views

Spacing (numwidth) control for listtheorems

I am using the \listtheorems command from ntheorem to generate a list of theorems for a document. However, because I number the theorems inside sections, the theorem number is a bit on the long side, ...
3
votes
1answer
664 views

Memoir: Stopping hyphenation in chapter titles in the table of contents

I am working on my dissertation using xelatex and the memoir class. Many of the titles to my chapters contain long words which I don't want to be hypenated in the table of contents. According the ...
3
votes
1answer
2k views

How to fix moderncv's ToC generation to get nesting in the PDF ToC

I am preparing a (somewhat lengthly) application using the moderncv class. For this I would like to provide for some additional structure in the PDFs ToC, that is, use something like ...
4
votes
1answer
203 views

set minimum number of pages for TOC

I am looking for a method to set the minimum number of pages for the TOC. For example, with the MWE, chapter 1 starts on the 3rd page in first run, and the 14th page on second run. Knowing this I ...
4
votes
2answers
884 views

Wrong abstract page number and spaces between LoF and LoT with \addcontentsline

How to correct two things in ToC: Page number of abstract - should be "vii" Spaces above LOF,LOT and Abstract are big. Not like above chapters ? Currently: Contents List of Figures iii ...
3
votes
1answer
2k views

How to get header and footer over ToC, LoF and Nomeclature?

I would like to know how we include header and footer over Table of Contents, List of Figures and Nomenclature? Do we need to renew any command? or any package is used to do that? Sample script would ...
3
votes
1answer
2k views

Inserting a new page to ToC in memoir [duplicate]

Possible Duplicate: How can I force ToC not to end with a chapter? Does anyone know a way of adding a \newpage (or similar) to the ToC. One of my chapter headings is at the bottom of a page ...
5
votes
2answers
1k views

List of appendices with tocloft and memoir

I found a very nice example showing how to create a list of appendices here: How to get a list of appendices? but it doesn't seem to work with the memoir document class. I get the error message ...
3
votes
2answers
339 views

Modify a \part entry in ToC with memoir

I would like to change how a "Part" title appears in the Table of Contents of a memoir document. In particular, I'd like to have the "Part Title" between two lines. Take the following minimal example: ...
21
votes
2answers
13k views

How to add a navigation window to a LaTeX generated PDF document?

Some ( if not most ) pdf ebooks have the option to view the table of contents in a left navigation window. I would like to add this option to my document as well. Question: How to add a navigation ...
5
votes
1answer
731 views

remove unwanted contents from list of listings

The following code adds a wrong line to the list of listings \documentclass{scrbook} \usepackage{listings} \usepackage{filecontents} \begin{document} \begin{filecontents*}{democodefile} ...
4
votes
1answer
407 views

Sync listings caption numbers and add all to List of Listings

I want to create a list of all listings. Listings itself allows to add captions and list them in a list using \lstlistoflistings, but they can not float. If I set up such a floating environment using ...
7
votes
1answer
565 views

Section in page header and TOC without number and no indention

I'm looking for advise about handling sections a a special way. What I want: Sections should not be numbered, they should be listed in the TOC and be available in the page header, and they should ...
8
votes
1answer
135 views

Including ToC from second volume in first volume, and vice versa

I am preparing a book which will be printed in two separate volumes, and I'd like to show in the ToC the full content in both, either in two separate ToCs (Index for Volume I / Index for Volume II), ...
1
vote
0answers
74 views

List of Figures / Tables Prefixed with “Figures” or “Tables” [duplicate]

Possible Duplicate: Adding word 'Table' before each entry in list of tables I'm attempting to modify the figure and table listing in my document from: 3.1 Some_Figure To: Figure ...
3
votes
2answers
3k views

Table of contents does not show in a frame

In the following presentation, the table of contents does not show on the second slide, but when I change the whole thing to an article (removing beamer related stuff), the table of contents is shown. ...
5
votes
1answer
2k views

Wrong page number for List of Figures within Table of Contents

I have a problem when I typeset my document. The document class is book. I added the List of Figures to Table of Contents manually using following command: \newpage \phantomsection\label{listoffig} ...
6
votes
1answer
8k views

Beamer - No table of contents at top

Once a table of contents is created, by \tableofcontents it is shown in at the top of the presentation, like in the following picture: Is it possible to prevent the contents from appearing at ...
15
votes
2answers
6k views

Section added by \addcontentsline on the wrong page

I am adding a section with the bibliography references by using \addcontentsline in order to add a link to the table of contents. Unfortunately the link in the table of contents links to a wrong page, ...
4
votes
1answer
528 views

\ExecuteMetaData command not properly 'executed' as argument of \addcontentsline

So, I'm creating a rather big project in LaTeX and we've got our own API defined, so my current job is to create MAN-like pages for each API function in LaTeX. The standard format we use for each ...