{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
214 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
625 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
264 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
475 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
943 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
791 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
1answer
1k views

List section in pdf bookmarks, but omit in LaTeX table of contents

Normally (under pdflatex with hyperref) a section added with \section will appear in both the LaTeX table of contents, and the pdf metadata; while a \section* will be omitted from both. Is it ...
9
votes
1answer
215 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
289 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
2answers
4k 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
3answers
1k views

Generating a separate pdf file of tables and figures from a latex file?

Is it possible to generate a pdf of figures and tables of a paper from latex itself? I saw Journals and Conferences asking for a separate file of tables and figures. In this question, questioner ...
9
votes
1answer
208 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
694 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
47 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
266 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
153 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
1answer
1k views

\part and tocloft

The following code was provided by Martin Scharrer in reply to a post in May 10. \documentclass{book} \usepackage[british]{babel} \usepackage[titles]{tocloft} \usepackage{tocloft} ...
8
votes
2answers
2k 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
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
558 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
2answers
406 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
3answers
439 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
788 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
249 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
97 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
242 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
268 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
2answers
3k views

Ignore citations in captions in list of figures when numbering

When using the \cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the ...
8
votes
4answers
455 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
2answers
173 views

Math in table of contents, bookmarks and heading

I would like to obtain the following: the title of a section occurs in the text as Math symbols $\boldsymbol{\sum, \int}$, in the table of contents it is Math symbols $\sum, \int$ (without bold), in ...
8
votes
4answers
140 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
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
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
1k views

Capitalization of Titles and Headers

I'm attempting to capitalize certain titles or headings in my LaTeX file. Specifically, if I want to use \printindex, \listoffigures, or \listoftables the title heading on each of these will be ...
8
votes
2answers
2k views

change caption in list of tables

I would like to change the caption in the List of Tables in a way it is different from the caption in the corresponding table. How can I do that? Does there exist a command to do that?
8
votes
2answers
1k views

How do I make the list of figures use an automatically shortened version of the caption?

Many of my captions are quite long and appear as 5 or more lines in the list of figures. To save me the effort of using the optional argument in the caption are there any packages that can produce ...
8
votes
3answers
719 views

Insert key words & key phrases into toc

To make the structure of documents (here: my PhD-thesis) comprehensible straight from the ToC, I would like to insert some key words or key phrases in each element of the ToC. I saw this device in a ...
8
votes
3answers
897 views

Is it possible to add \chapter after a few \part's at the same level of hierarchy?

Consider the following code: \documentclass{scrbook} \usepackage[bookmarks, bookmarkstype=toc]{hyperref} \begin{document} \tableofcontents \chapter{Introduction} \part{First part} ...
8
votes
2answers
542 views

Table of contents not dotfilling?

Is this wrong? It seems the ToC does dotfilling only for sections and not subsections. Why is this happening and how can I fix it? I'm using \tableofcontents and nothing else to generate this ToC, ...
8
votes
2answers
354 views

Custom ToC — Put vspace only below chapters that have sections in them

I’m using the titletoc package in the book class. Currently, my chapter entries are configured like this (I left out the unimportant parameters for simplicity): \titlecontents{chapter}[0pc] ...
8
votes
1answer
452 views

Add author's name automatically while building ToC

I, along with a few others, am writing a project report, where different subsections have been authored by different people. When I build the table of contents using the \tableofcontents tag, it would ...
8
votes
1answer
3k views

Question about indent lengths in ToC

It seems that there is a different length between the different levels. It seems it is larger between the subsection and subsubsection as opposed to between the section and subsection. I have read ...
8
votes
1answer
1k views

Keep “Appendix #” in the appendix title, but remove the appendix from the table of contents

I'm writing a PhD thesis, and my university requires that I list the appendices in a "List of Appendices" (LOA) that is separate from the main table of contents (TOC). I've successfully created a LOA ...
8
votes
1answer
344 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}, ...
8
votes
1answer
1k views

Add colors that depend on chapters to the TOC

I'would like to add different colors in my TOC, depending on the chapter. I've a color for the header, section subsection of each chapter (red chapter one, blue chapter two etc...). With this code I ...
8
votes
3answers
10k 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 ...
8
votes
4answers
159 views

LOF: Formatting Figurenames and adding Column Names

Here is the specific format I have to apply to the LOF: It should be Basically 3 aligned columns that contain: page number - figure number - the figure name (in this very order, like a tabular). And I ...