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

6
votes
2answers
319 views

Add an asterisk in front of section label in TOC

Could you please tell me how to make the table of content like this: Preface..................................i Chapitre 1. Les décisions ................1 1.1 Bla bla bla ...
6
votes
1answer
2k 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 ...
5
votes
1answer
263 views

tcolorbox - list of listings?

In a book with figures, tables and listings, I figured out that all listings and some tables and figures look better when presented in a tcolorbox. The book has the usual tables of contents: ...
5
votes
1answer
202 views

How to remove section indentation in partial ToC using titletoc?

See MWE below. How can I remove the indent in front of the section entries in the partial ToC (only there, not in the normal ToC)? \documentclass{book} \usepackage{titletoc} \usepackage{lipsum} ...
5
votes
1answer
1k views

Table of Contents Spacing

How do I place vertical spacing between the chapter header and the first section entry (report document class). For example, I would like: Chapter 1 Title 1.1 Title 1.2 Title Chapter 2 ...
5
votes
1answer
331 views

Chapter descriptions in the TOC, but at a fixed width

I'm really in love with the TOC one gets using the accepted answer at Adding a per-chapter image along with group of entries in ToC. However, instead of having sections in my TOC, I'd like to ...
5
votes
1answer
356 views

Changing the table of contents

I'm finalizing my dissertation, and they require that the "Table of Contents - Continued" heading in the ToC (that shows if it flows onto a second page) be centered. I thought I could find the code ...
5
votes
3answers
573 views

Setting the name of an index with makeidx and adding to table of contents

I would like to change the name of my index, so that instead of "Index", it reads "Index of whatever I want". I've tried quite a few things: redefining \indexname, after or before calling \makeindex ...
4
votes
3answers
204 views

Beamer - Put a picture right of the table of contents

I have problems to put a picture right to the table of contents. This is how it should look like: I have two MWE's, becuase I already tried two different approaches. (All the empty frames are needed ...
4
votes
1answer
98 views

Summary based on environments/custom commands

Suppose I am taking notes in class and label certain things with my own environment like: \begin{Theorem} Important Theorem Here. \end{Theorem} or smaller key ideas labeled with my own command ...
2
votes
1answer
177 views

Indent subsections in Beamer's TOC

Following Beamer: increase radius of circle in TOC and include subsection bullet I set the 'subsection in toc' of Beamer by: \setbeamertemplate{subsection in toc} ...
27
votes
4answers
7k views

How can I make a clickable Table of Contents? [duplicate]

Possible Duplicate: How to make clickable links and cross-references in pdfs produced by LaTeX? I need links for the Table of Contents, so that I can navigate fast to different sections. I ...
12
votes
2answers
5k 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?
11
votes
2answers
441 views

Own table of contents?

Is it possible to introduce an own table of contents in LaTeX? I would like to introduce an own tag, to define some terms in my document. At the end of the document I would like to automatically ...
10
votes
1answer
570 views

Customize minitoc

I'm writing my thesis and I woud like to add a minitoc at the beginning of each chapter. However, I don't like the standard format where the titles of the sections are listed as in the main TOC and I ...
8
votes
1answer
197 views

Citations in captions as separate argument

Whenever I include a table of a figure in my research papers, I cite the source of the information in the caption itself. However, I don't want this citation to appear in the List of figures/tables. ...
7
votes
3answers
175 views

TOC in double language

For my thesis, I have to write the table of contents in two different languages.. (don't ask me why...). Is there a way to do it?
6
votes
2answers
1k views

Appendix in LaTeX

I have the following document: \documentclass[11pt,a4paper,twoside]{book} \usepackage[spanish,activeacute]{babel} \usepackage[titletoc]{appendix} \begin{document} \setcounter{tocdepth}{2} ...
6
votes
1answer
1k views

Page header - Upper and lower case

First of all: this is the first time that I use LaTeX. I have these commands that create my header: \usepackage[headsepline,plainheadsepline]{scrpage2} \pagestyle{scrheadings} \clearscrheadfoot ...
6
votes
1answer
170 views

How do I get multiple ToC entries in the same line?

I need that, in the ToC, all the \paragraph references appear in the same line, like. 1 First Chapter................................................1 1.1 First ...
6
votes
2answers
253 views

Adding TikZ code to TOC

Friends, I've been successfully using the tocloft package to manage custom indices. But now I have some doubts on a tricky part, whether is possible or not. Consider the following code: ...
6
votes
2answers
299 views

Generating lists of custom environment.

I've created my own environment example, similar to theorem. Now I want to generate a list of examples, similar to list of tables or list of figures. How can I achieve this?
6
votes
1answer
513 views

How to align underlined text and a horizontal line created with \rule

As described in this question I'm using the tocloft package to customize the table of contents. We are putting a horizontal line under the whole section text up to the page number. Therefore we ...
5
votes
1answer
289 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
3answers
191 views

list of occurences of references

I need a list like the list of figures for \ref entries in the text to instances of a custom Theorem environment. Here's a MWE with a handbuilt example. The solution should add features to this code I ...
5
votes
1answer
944 views

Understanding titletoc example (and vertical alignment on line)

EDIT: TLDR summary (as I wrote in comments): What I want from this question (and couple of others referenced herein) is: -- section number (label) to be top-aligned with the title + AND I want the ...
5
votes
2answers
752 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 ...
5
votes
2answers
380 views

Generate consecutive page numbers + ToC from 28 .tex files?

I've completed half a semester of Discrete Mathematics. I have written up all 28 lectures into individual .tex files, labelled Lecture1.tex Lecture 2.tex ... Lecture28.tex. The beginning of each one ...
4
votes
1answer
126 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
3answers
1k 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 ...
3
votes
1answer
62 views

To-do-notes in separate TeX File, but without \listoftodo in main doc

I am using the todonotes package and have three requirements, the first two which the MWE already does: Obtain a list of todo notes in a separate auxiliary file. This can easily be obtained via the ...
3
votes
1answer
144 views

Changing vertical alignment of items in middle of line (for ToC entry)

Well, I'm really starting to hate LaTeX sometimes - mostly because you can't really learn one thing, and have it applied everywhere else you wanted :/ For instance, I asked the question Changing ...
3
votes
2answers
870 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 ...
3
votes
1answer
486 views

Change spacing between elements in \newfloat listof

I have created a new float type with the following in my preamble: \floatstyle{plain} \newfloat{myfloat}{thpb}{myfloat}[chapter] \floatname{myfloat}{\bf My Float} Then I use the following to create ...
2
votes
1answer
184 views

babel and \contentsname, how to add extra customization?

This is what I'm trying to do: \renewcommand{\contentsname}{ \vspace{-8mm} {\Huge Table of Contents}\vspace{-3mm} \rule{\linewidth}{0.5mm} \\[-4mm] } Using babel, I can get this code to work: ...
2
votes
2answers
541 views

Redefine \tableofcontents to start a new page after the ToC

How can I properly redefine \tableofcontentsto include a \newpage or \clearpageafter the table of contents?
2
votes
2answers
788 views

Typeset cftchapfont as uppercase

I'm trying to put the whole cftchapfont as uppercase. \renewcommand\cftchapfont{\MakeUppercase} does not work at all (it actually messes up everything), nor does: ...
1
vote
1answer
757 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. ...
1
vote
1answer
609 views

How to have greyed out subsections in a table of contents frame?

I'm doing a beamer presentation with sections and subsections, and would like to remind the audience of the outline at some points (before some subsections). I would like all sections and subsections ...
0
votes
1answer
169 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 ...
0
votes
0answers
59 views

Multiple 'List of Tables' entry for single threeparttablex type table that spans multiple pages [duplicate]

Possible Duplicate: How to use a longtable with only one entry in the list of tables I have a single table that spans three pages using threeparttablex/longtable. The table: ...
14
votes
3answers
829 views

Replacing dot leaders in the table of contents with better typography

Dot leaders are the lines of dots in the table of contents, for example. Bringhurst says of them: [They] force the eye to walk the width of the page like a prisoner being escorted back to its cell ...
11
votes
5answers
702 views

Change title to small caps but not in ToC

I want the title for the Acknowledgements page in my thesis to be in small caps. However, if I change it, it also changes in the table of contents. How can I avoid this? Especially, the roman page ...
11
votes
3answers
12k views

Beamer table of contents - display all subsections below section

In a latex-beamer document i added the following TOC-Definition: \AtBeginSubsection[] { \begin{frame} \frametitle{Inhalts\"ubersicht} ...
10
votes
1answer
139 views

Problems with mathtools package

The following code produces an error. If the mathtools package is removed, it works. Why? \documentclass{report} \usepackage{mathtools} \usepackage{etoolbox} \newbool{shorttoc} \makeatletter ...
10
votes
1answer
1k 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 ...
10
votes
2answers
1k views

Appendix with own toc

I want to have two table of contents in my document. The first (main) shall only contains "Appendix A: ...", "Appendix B: ..." and so on with page numbers. In the appendix I want another table of ...
9
votes
1answer
127 views

Removing Subordinated Headline Levels From The ToC Automatically When Using `*`

Usually, when you use section*{}only the section will be removed from the toc. In order to remove subordinated subsections you have to add the *. Is it possible to define a command that removes ...
9
votes
2answers
2k views

Customizing the sidebar in beamer

I'm working with the Marburg theme with beamer, and I would like to customize its Sidebar so that the title & author of the presentation does not show up, and I want the sections in the Sidebar to ...
9
votes
1answer
384 views

How to highlight specific entries in a tocloft-formatted ToC

I am writing a document using the book class, and I use tocloft in order to customize the appearance of my ToC. So far, the package did a great job for most customizations, except for one thing: I am ...