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

10
votes
1answer
2k views

Table of Contents horizontal lines

How can I put horizontal lines before and after my Table of Contents entries? To illustrate the look and feel I am after, please take a look at this image: I would like to understand how to do the ...
10
votes
1answer
711 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 ...
10
votes
2answers
2k views

Why are \listof{}{} and \listoffigures styled differently?

I'm writing my thesis and I have certain code-snippets to show. I'm using the the listings package embedded in a custom float environment to display them. To list them in an index at the beginning of ...
10
votes
1answer
1k views

How to change the display of subfigures in List of Figures?

I'm using the subcaption package and I would like to change the display in the List of Figures of the subfigures. Right now, it displays as : 2.1 Caption 1 . . . . . . . . . . . . . . . . . . . . . ...
10
votes
1answer
119 views

ToC fine, but wrong hierarchical structure of index

I'm using Springer's svmult template for an edited book. The header of each article inside the book looks like this: \title{Article's Title} \author{Author's Name} ...
10
votes
1answer
19k 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: ...
10
votes
2answers
468 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 ...
10
votes
2answers
5k views

Extra space for numbered titles in table of contents

Background A manual with chapters, sections, subsections, and sub-subsections. Using KOMA Script v2. Problem The spacing between the heading title and its number is too close to the number in some ...
10
votes
1answer
1k views

How to add the pdf-bookmark of TOC without its name “Contents” in TOC

Since the link of TOC itself in TOC looks stupid, \usepackage[nottoc]{tocbibind} % no `Contents` in TOC is used to remove it. However, The Bookmark Contents will disappear in the index (on the ...
10
votes
1answer
641 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 ...
10
votes
2answers
6k 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 ...
10
votes
1answer
409 views

Todonotes: group list-of-todos by section

This is a follow up question to group list-of-todos by chapter. egreg's solution works great with classicthesis and scrreprt, and I've been trying to do the same without classicthesis and for ...
10
votes
2answers
2k views

How do I center the table of contents title using tocloft?

I'm getting odd behavior using package tocloft to format my table of contents and center the titles "Contents", "List of Figures", and "List of Tables". Using the code suggested in the tocloft ...
10
votes
1answer
1k views

Changing number format in ToC

I'm using the tocloft package to alter the looks of my table of contents, but there's one thing I can't find in the documentation: splitting the number by level, to insert other delimiters than ".". ...
10
votes
1answer
499 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 ...
10
votes
1answer
748 views

Add author before chapter title in ToC

I working on an edition with various author. And I want the chapter's author name being shown in the ToC. I have modified the chapter to add the author there and use it in the page header as follows: ...
10
votes
1answer
391 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} ...
10
votes
2answers
266 views

Add extra columns to table of contents

I'm preparing my lab-report. I need to customize my ToC for this. To be specific, I need to add two extra columns to the table of contents page, viz., Date and Evaluator's signature. These columns can ...
10
votes
1answer
114 views

How to make the TOC's part entry in one column while the others in two columns?

I use the tocloft package to design the Table of Contents. I want the part entries listed in one column and all the other entries such as chapter, section, subsection ... should be listed in two ...
10
votes
3answers
422 views

Removing repeated page numbers from table of contents

Hi I'm trying to create a document in LaTeX with a few small subsections on the same page, is there any way to remove the repeated page numbers and keep the numbers when I move onto a new page?
10
votes
1answer
2k views

Where to place a two-page table of contents / list of figures?

In my Master's thesis, I use scrbook and start every chapter on odd pages. Now both my table of contents and list of figures span exactly two pages. My question is therefore more related to style and ...
9
votes
3answers
6k 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?
9
votes
5answers
810 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?
9
votes
3answers
8k 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 ...
9
votes
2answers
948 views

Alignment of page numbers in table of contents

Consider the following example: \documentclass[a4paper,12pt]{article} \begin{document} \tableofcontents \newpage \section{test} \newpage \setcounter{page}{22} \section{introduction} \newpage ...
9
votes
2answers
4k views

How to link Table of Contents in thesis PDF

I used the following code and I am able to link references, List of Symbols but unable to link the Table of Contents in my thesis. I wish a completely linked PDF of my thesis. Please help me.... ...
9
votes
3answers
866 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 ...
9
votes
3answers
37k views

Increment the section number with 1, not 0.1 [duplicate]

Possible Duplicate: Section numbering I'm happy with the logical layout of my document, but the section numbering is bugging me. I'd like the first section (the introduction) to be 1, not ...
9
votes
2answers
357 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} ...
9
votes
2answers
24k views

\setcounter{tocdepth}

Using \setcounter{tocdepth}{0} displays just the chapter's title in the table of contents. In the last chapter, there's a subsection. I want to use \setcounter{tocdepth}{0}! Therefore no subsection ...
9
votes
2answers
3k 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 ...
9
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]. . . . . . ...
9
votes
2answers
18k views

Table of contents using article and report classes

When I make a table of contents with the article and report classes the results are different. I have two questions. Why does this happen? How can I make the report ToC look like the article one? ...
9
votes
2answers
5k views

Modifying the Page Numbers in the Table of Contents

Is there a way how I could make a section/chapter/any-heading which occurs on page x in my document to appear in the table of contents with the page x-1? (I am using scrbook) I'd like this result not ...
9
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 ...
9
votes
3answers
4k 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 ...
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
876 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
1answer
3k views

List of figures: numbers overlap image caption

I have many images in a part of my document, now the list of figures numbers collide with its respective image caption as seen below. There would be enough space to move the text a bit more to the ...
9
votes
2answers
1k 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 ...
9
votes
1answer
590 views

How to add a line to the Table of Contents without a page number

In my LaTeX document, I want to add some extra lines in the Table of Contents to show the general topic of the next section of chapters. The syntax I'm using right now, outlined in a quick example: ...
9
votes
3answers
2k views

ToC like list of definitions (using theorem environments)

For one of my documents I use these commands to setup my theorem environments with amsthm: \usepackage{xcolor} \usepackage{framed} \colorlet{shadecolor}{lightgray!25} ...
9
votes
2answers
992 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
142 views

How to get the name of first and last section of a chapter?

I want to get the name of the first and the last section of a chapter to be printed into the table of contents for each chapter individually. Therefore I want to use the etoc-package. In the ...
9
votes
2answers
2k 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, ...
9
votes
1answer
5k views

Display \chaptername in table of contents

I'm looking for something to resolve the problem that has been metioned at How do I get \chaptername to appear in the table of contents? and Table of Contents with “Chapter” and per-chapter ...
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
4k views

Add text to TOC without dotted-lines and line number

Despite following many suggestions on the net, I have the following issue. I am using TeXnicCenter and MiKTeX. [I have posted the same on Latex Community Forum]. I have not used/tried the tocloft ...
9
votes
2answers
1k 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
1k 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 ...