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

Changing distance between chapter number and chapter title in the table of contents

I'm typesetting a document with more than 100 chapters in it (don't ask, I didn't write it!). The table of contents comes out ugly, because it seems the distance between the chapter number and the ...
9
votes
3answers
612 views

Change Section titles to Small Caps only in ToC

I'm new to LaTeX and already facing my first problem. I want to change all section titles to small caps in the table of contents but not in the text. I'm using WriteLaTeX and article as document ...
9
votes
2answers
9k 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. ...
9
votes
2answers
3k 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 ?
9
votes
2answers
4k 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}}} ...
9
votes
2answers
903 views

How to set two types of appendixes on memoir class?

I need to set up two types of appendixes: Appendixes and Annexes They must appear as "Appendix A - Title of Appendix A", etc, and "Annex A - Title of Annex A", etc. in the chapter head (which I ...
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 ...
9
votes
2answers
2k views

Hyperref: Changing the linkcolor locally in the TOC

I found that the link-color for TOC text is identical to the link-color for Figures and Tables. When I change the color to black in the TOC also the color for Figures/Tables citation etc. is changed. ...
9
votes
1answer
918 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
3answers
11k views

List of Equations / Table of Equations

After finding Table of Equations and http://www.latex-community.org/forum/viewtopic.php?f=5&t=428, I set about making a List of Equations for my document. The catch here is that we already have a ...
9
votes
1answer
16k 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: ...
9
votes
1answer
290 views

Missing space when using memoir's \newfloat and \newlistof

I've created a new float environment and new list-of as described in the memoir manual. My issue is that the spacing between the title of the list and its items isn't the same as for list of figures. ...
9
votes
1answer
7k views

Hyperref, Table of Contents and subsections

I have encountered a problem in latex that I have not been able to solve. While the hyperref package generates clickable links in the table of contents, it does not link any subsection to the actual ...
9
votes
1answer
199 views

Numbering a figure with a symbol in a way that is compatible with \label and \ref

In a long paper, full of figures labeled as usual, there are two figures which I would like to single out and label with symbols. For instance, I would like to have them labeled Figure $\dag$ and ...
9
votes
2answers
5k views

Table of Contents with “Chapter” and per-chapter “Appendix”

How do I create a table of contents that looks like: Chater 1 Name 1.1 section 1.2 section Appendix A Appendix B Chapter 2 Name 2.1 section 2.2 section Appendix A ...
9
votes
2answers
342 views

Different hierarchical levels in TOC and hyperref-generated PDF bookmarks

I would like to make hyperref generate bookmarks for all available hierarchical levels of my documents, but only in the produced PDF. For the TOC itself (i.e. the one printed at the beginning of the ...
9
votes
2answers
281 views

Rendering only the Table of Contents

Strange question, but I wanted to know if its possible to render only the table of contents and not the associated body of text below. Is there a suppression command that means that a section is ...
9
votes
1answer
812 views

How can I add Section numbering and a Contents entry to the PDF bookmarks?

I'm having a bit of trouble with the PDF bookmarks. I am trying to Add "Contents" as an entry to the PDF bookmarking. Have numbering for my sections and subsections. I am looking to achieve ...
9
votes
1answer
528 views

Minitoc with two column content

I have a question regarding \minitoc, I want to change the layout for \minitoc inside my MSc thesis. The document is written using a single column, but I want to have the content within the \minitoc ...
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
854 views

How do I remove hyperlinks from \tableofcontents in beamer?

I am designing a presentation in beamer and would like to use \tableofcontents to generate an outline frame. However, by default, beamer includes hyperlinks on the section names in the table of ...
9
votes
2answers
5k views

How do I use LaTeX to create a table of contents for a set of pdf files which I am merging into a single large pdf?

I have a set of pdf files which I want to merge into a larger pdf files. Each individual pdf file is an article with sections. I am hoping to make the merged pdf file into a book format with each ...
9
votes
1answer
194 views

How to typeset the table of contents raggedright in memoir?

I basically have the same question as this one Table of contents: section titles ragged right but none of the two solutions there work with memoir. I want to typeset section etc. titles raggedright ...
9
votes
1answer
236 views

Centering contents name with [twocolumn] contents

I'm trying to make Table of Contents in two columns, but I'd like to center the contents name. Now I'm doing \twocolumn \tableofcontents but these commands give something like this: Contents name ...
9
votes
1answer
319 views

suppress lot/lof entry in memoir

Using the caption package, one can suppress lot/lof entry with an empty optional argument for \caption. But the caption package is incompatible with memoir. How can I suppress lot/lof entries in ...
9
votes
1answer
224 views

ToC showing page number and then the chapter title

I would like to have the Table of Contents of the book I am editing showing first the pages of the chapters and then the chapter titles. Something like this book: I am working with XeTeX (through ...
9
votes
1answer
786 views

Todonotes: group list-of-todos by chapter

I use the todonotes package extensively to mark and comment my projects. So, for a large project, I have dozens of todo-notes and the list of todos, which I insert at the beginning of a document, ...
9
votes
1answer
49 views

Limit \listoffigures to several chapters of an entire book?

I use book class and have several chapters in it. However, I want to limit the number of chapters that are included in \listoffigures to less number then there actually are chapters. How could this be ...
9
votes
1answer
298 views

How to remove the indentation in list of listing

The list (from \lstlistoflistings) is indented compared to list of tables (\listoftables). How can I remove the extra indentations? \documentclass{memoir} \usepackage{listings} \begin{document} ...
9
votes
1answer
155 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 ...
8
votes
2answers
3k views

Give a chapter a letter

I have a preface for my document and instead of calling it Chapter 1, or using \chapter* to not include it in the table of contents, I would like it so it instead of a 1 I have a P. Then normal ...
8
votes
3answers
1k views

Adding numberless chapters to the table of contents

How do I include a chapter reference within the table of contents without giving it a chapter number? I am using the report document class. Normally, I would create a chapter as follows: ...
8
votes
3answers
6k views

Formatting the title of the TOC

I would like for example to have a bold Arial like font and a red color for the title of the table of contents, and also I would like to change this title to for example "Another title for the table ...
8
votes
3answers
4k views

More section headings?

I am a novice in LaTeX and I have one question. Can someone tell me what if you want more heading's in LaTeX. Like 5 or 10 or even 15. Is there a package for that?
8
votes
2answers
1k views

Second table of contents only for annexes

I'd like to have in my report a table of contents from introduction to conclusion and another between the conclusion and the first annexe. This latter only for annexes : - Table of contents - 1. ...
8
votes
2answers
745 views

How to make bold all of the TOC by default?

Is there a way to make all the table of contents bold by default?
8
votes
3answers
585 views

Adding table of contents to contents - wrong page numeration

I want the "Table of contents" position to appear in the table of contents. I'm using \addcontentsline to add this position, but the page numeration seems a bit odd. I have a table of contents ...
8
votes
2answers
288 views

Can't add \raisebox to ToC in XeTeX

In XeLaTeX I've defined the following command: \newcommand*{\PoETeX}{P\kern -.15em\raisebox{-0.21em}{O}\kern -.05em E\TeX} as a simple (non-robust) way to create a silly logo styled after \LaTeX. ...
8
votes
2answers
460 views

In table of contents, long page numbers intrude on right margin despite plenty of available space

Some of the page numbers listed in my table of contents are long roman numerals. For some reason, these long page numbers get pushed into the right margin. Here is a screenshot of the table of ...
8
votes
2answers
1k views

Different indentations of same level in ToC

I am writing a paper for university and I need to do it according to style guides. Everything looks peachy, except for the ToC. This is how it comes out for me: The word "appendix" shouldn't ...
8
votes
2answers
115 views

How can I print the table of contents multiple times in my document?

I am using also titletoc to improve how my table of contents. I would like to print the table of contents several times. How can I do it? It does not work in the MWE: \documentclass{article} ...
8
votes
3answers
498 views

No caption but entry in list of figures

Now, there are many 'solutions' for this problem on the internet, but they all seem a bit messy to me. Like for e.g. this one: Link to ' Community' Is there a proper solution for this? As this is ...
8
votes
2answers
298 views

Have almost managed to get my TOC the way I want, but need help making it 100% perfect

If you compile my current TOC code: \documentclass[a4paper,10pt]{book} \usepackage{lipsum,kantlipsum} \usepackage[dotinlabels]{titletoc} \contentsmargin{0pt} ...
8
votes
4answers
489 views

Index is incorrectly listed in the table of contents

I have a large document with an index compiled through makeindex, and is included in my source .tex as follows: \cleardoublepage \phantomsection \addcontentsline{toc}{chapter}{Index} \printindex ...
8
votes
1answer
6k views

Add an item in the table of contents

I am using tufte-book document class. I would like to add a part at the end of the document which is neither a chapter nor a section. How can I do for making this part visible in the tableofcontents?
8
votes
1answer
6k views

Remove blank page between list of figures and list of tables

Please how can I delete the blank page between List of Figures and List of Tables? I tried this: \listoffigures \nopagebreak[0] \listoftables but nothing changed. Here is my code: ...
8
votes
4answers
152 views

Know the width of the widest section label in memoir

I'm using memoir class to write my master's thesis, and my university asks to align all section labels to the left. I say section, but I really mean all levels, as chapters, sections, subsecs and so ...
8
votes
2answers
2k views

List of Figures/Tables - eliminate dots?

I need to eliminate the dots that appear in \listoffigures and \listoftables results - is there an easy way to do that? EDIT: I think I need to actually eliminate the dots. Modifying @dotsep via ...
8
votes
2answers
2k views

Numbered section hidden from the ToC

I'm writing a set of course notes that has an appendix containing many activities. I do not wish the activities to be shown in the Table of Contents, but I do wish them to be numbered. Here is the ...
8
votes
2answers
167 views

Expand (for PDF ToC) biblatex's citation commands

For a research report I want to embed some of the cited papers as PDFs (with \includepdf). As all related metadata is available in the bibtex database and also the PDF filenames can be computed out of ...