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

9
votes
2answers
8k views

Format ToC for thesis

I apologize for the unspecified and broad question but I have no way to be specific. I'm looking to generate the TOC and List of Figure, List of Table according to the format required by my school. ...
8
votes
1answer
1k views

Apéndices (Appendix spanish accent)

Dear friends: there is a problem with appendix and ápendice. I have a scrbook document and I use appendix package, \usepackage[title, titletoc]{appendix} because I like the word "Apéndice" in ...
8
votes
1answer
726 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 ...
7
votes
1answer
2k views

Add algorithm label to list of algorithms

I'm using the classicthesis package along with the algorithmic package. I'm trying to get the list of algorithms to look the same as the list of figures/tables etc., but cant find a way to make it ...
7
votes
1answer
2k 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]. . . . . . ...
6
votes
1answer
341 views

How to avoid numbering of Appendix?

I have only one appendix in my report. But it appears in the table of contents and title page as Appendix A. How can I change it to APPENDIX?
6
votes
2answers
4k 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
701 views

How to avoid \parskip being applied to \listoffigures etc.?

Follow-up question of Why are \listof{}{} and \listoffigures styled differently?... With the issue mentioned above I finally managed to design my \listof{}{} and \listoffigures as desired but one ...
6
votes
2answers
3k 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}}} ...
6
votes
2answers
1k views

Customized table of contents

I need to format the table of contents for a compilation of articles in a very specific format: About this volume Author 1 Preface........................first page-last page Articles Author 2 ...
6
votes
2answers
358 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
3answers
3k 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
2answers
193 views

List of short problem names?

I typeset a book with problems and solutions. I need to get a list of short problem names. I expected there will be a way similar to pitcures: \caption[Figure name for List of Figures]{Caption name} ...
5
votes
3answers
263 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
7k 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 ...
5
votes
1answer
2k views

Beamer: increase radius of circle in TOC and include subsection bullet

I am trying to increase the radius of the circle in the TOC of a beamer presentation and include a subsection bullet. The beamer manual states gives an example of \setbeamertemplate{some beamer ...
5
votes
1answer
514 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, ...
5
votes
2answers
3k 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 ...
4
votes
1answer
295 views

Remove blank page between Acknowledgements and Table of Contents?

I get a blank page between “Acknowledgement” and “Table of contents”. How can I remove it? I used a template from somewhere. The preamble is as follows: \documentclass[openany,12pt]{ubthesis} ...
4
votes
1answer
93 views

How to use \section*{something} without removing it from the Table of Contents?

I am trying to insert an abstract and acknowledgement page into my report. I want to suppress the (numbers in front of): Abstract Acknowledgment part by using \section*. But by doing so, it is ...
4
votes
1answer
306 views

Let title distinct in mainmatter and TOC and header

Title in mainmatter (long title): Sec.1 The introduction of TEX --- A powerful typsetting system blabla... Sec.2 installation blabla... Title in TOC (short title, line break before em ...
3
votes
3answers
706 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 ...
3
votes
1answer
3k 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 ...
3
votes
1answer
2k 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
101 views

Facing Table of contents problem?

On first page of Table of Contents there is no header and footer, but on the second page there are a header and a footer. My question: I don't need any numbering and header/footer on table of ...
2
votes
2answers
617 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
3answers
3k views

How to change the style of “Contents” heading?

Help me, please to make the style of "Contents" heading to be as \chapter{Le choix du thème}. Also I would like to put all headings a little bit higher and to fix the hyperref for "Contents" in pdf ...
1
vote
1answer
153 views

Hyperref-ize the keywords in toc

once I asked in Insert key words & key phrases into toc whether it is possible to insert some keywords in the toc that it looks like this: Contents 1 section .............................1 key ...
11
votes
1answer
209 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
457 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 ...
9
votes
1answer
821 views

List of Figures + Beamer?

I want to have a List of Figures in my Beamer presentation. I spent some time searching the web for a solution and only found desperate people telling others that it's not possible, i.e. here or here ...
9
votes
1answer
15k 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: ...
8
votes
1answer
696 views

Different section numbering styles for toc and body

I'm looking for a way to display section numbering differently in the text body and in the toc. I've set up the numbering in the body as ...
8
votes
3answers
2k views

Excluding chapters from ToC in amsbook

I'm writing a book using the amsbook class, and I've included a page for acknowledgements using \chapter*{}, thinking it wouldn't show up in the ToC. However, it does (and for some reason it's ...
8
votes
1answer
346 views

How do I create a new command \listofcodes in latex?

In addition to tables and figures, I have a bunch of code pieces. Just like follows: \begin{figure} \lstinputlisting[ language=C++, breaklines=true, keywordstyle=\color{blue}, ...
6
votes
5answers
296 views

Reference to the Table of Contents page

I thought that someone must have asked this, but my searches didn't find it. I am looking to refer back to the table of contents from places in my document. How can I do this?
6
votes
2answers
652 views

Roman chapter numbers cause overfull hbox in titletoc-ToC

Overfull hbox in ToC after chapter numbers changed to Roman; see MWE below. With the tocloft package \setlength\cftchapternumwidth{3em} solves the problem. But: Is there any solution to the problem ...
6
votes
1answer
945 views

suppress pagebreaks in titletoc's titlecontents* blocks

How do I suppress pagebreaks in the toc "paragraphs" produced by titlesec's \titlecontents* command without stopping linebreaks between subsections? The follwoing suppresses linebreaks within ...
6
votes
2answers
426 views

Use italic ampersand in different sizes depending on environment

This is going to be a little complicated: in the spirit of Bringhurst I am trying to incorporate italic ampersands into headings. I am using a LuaLaTeX modified version of classicthesis, hence the ...
6
votes
2answers
4k 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 ...
5
votes
2answers
83 views

entries in the toc from printindex

I want the entries in the TOC for the indices to align with the Chapter entries. I can do this with \addcontents. \printindex also puts an entry in the TOC but it is aligned with the section entries. ...
5
votes
1answer
349 views

Splitting list of figures

I'm starting to accumulate a large and fairly unwieldy list of figures at the start of my thesis and want to split that list into two. I want to have a list of the 'main' figures included in the ...
5
votes
1answer
476 views

lstlistoflistings isn't showing the lstlistingname

I've actually a problem with my document. I redefined the listing for my ruby code: \usepackage{listings} \renewcommand\lstlistingname{Quellcode} \lstloadlanguages{Ruby} \lstset{% ...
5
votes
1answer
165 views

Remove Formatting in Table of Contents

I have custom colouring in the section headings, i.e. \section{\textcolor[red]{Heading}}, so when I use \tableofcontents it prints the table of contents including all the unnecessary colouring. Is ...
5
votes
3answers
2k 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 ...
5
votes
2answers
544 views

Replacing page number with other counter in listoftodos

I'm using the todonotes package to add notes in my documents. The \listoftodos command adds a ToC for todos. Instead of the page numbers in this ToC, I would like to display another value, for ...
5
votes
1answer
890 views

\listoffigures chokes on inline math delimiters in captions. What is going on?

I'm working on my thesis, and I've realized that, any time I try to use \( \)-type inline delimiters in captions, that pdflatex breaks. While I can weasel out of actually \needing\ math in my ...
4
votes
1answer
67 views

Add an unnmbered section to the table of Contents in Lyx

I use Lyx 2.1, class document : report. I created a general introduction as unnumbered chapter, but at the table of Contents, the introduction does not exist.
4
votes
1answer
90 views

Add a symbol in ToC between the section number and its section

My problem is that there exists an overlap between the symbol to introduce and the section title; it is manifest with two \heartsuits \documentclass{article} \usepackage{tocloft} \usepackage{lipsum} ...
4
votes
2answers
107 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?