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

10
votes
3answers
373 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
90 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
1answer
1k 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
5k 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
2answers
839 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
5k 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 ...
9
votes
3answers
712 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
1answer
9k 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?
9
votes
3answers
3k views

TOC Text - numbers alignment

I am using \tableofcontents to create TOC in my document. however it is appearing as shown in the image. As the numbers increase the gap between the number and text is reducing. Thanks for your ...
9
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 ...
9
votes
2answers
16k 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
3k 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
742 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
2k views

Make Chapter Titles link to Table of Contents

I'm using the hyperref package to create hyperlinks in my document. The links from the TOC->chapters/sections work great, but I was wondering if there was a way to automatically insert hyperlinks from ...
9
votes
2answers
921 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
105 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
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
1answer
4k 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 ...
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
1answer
5k 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 ...
9
votes
1answer
623 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 ...
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
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 ...
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
3answers
12k 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
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
281 views

List of definitions: how to remove the prefix “Definition”?

I have write definitions in this way (this is a MWE class unatesi is available here): \documentclass[laurea,oneside,12pt,italian]{unatesi} \usepackage{amsthm} \usepackage{thmtools} ...
9
votes
1answer
304 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
8k 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
202 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
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 ...
9
votes
2answers
563 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
517 views

KOMA-Script scrbook: width of chapter and section number

I'm using KOMA-Script’s scrbook class and have problems with the Table of Contents. When the chapter number is too large, the chapter number is glued to the chapter heading. The chapter-section ...
9
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 ...
9
votes
1answer
963 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 ...
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
928 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
241 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
241 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
333 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
4k views

List of Algorithms Using algorithm2e

According to the documentation, I can add an entry in the ToC for the list of algorithms created using the algorithm2e package by including dotocloa as a package option. When I do this I receive an ...
9
votes
1answer
239 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 ...