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

4
votes
2answers
1k views

Is it possible to change the way a list of algorithms is generated to include the word “Algorithm” before each element in the list?

I've tried using both algorithm2e and algorithmic to generate a list of algorithms, but they both do it this way: List of Algorithms 1 BFS ..... 1 2 DFS ..... 2 ... When I'd like to it to be: ...
3
votes
2answers
2k views

Remove dots for chapters in ToC with memoir

I have seen similar posts but none seem to work. I simply need to remove the dots in the ToC between the chapter titles and the page numbers. I think the page numbers should line up (as if there were ...
3
votes
2answers
2k views

Fix for amsart.cls tableofcontents bug regarding starred sections?

The command \section* is meant to produce a section that is not listed in the table of contents. However, when using amsart.cls, such sections are still listed. I believe this is a known bug. How ...
13
votes
2answers
9k views

Customizing the sidebar in beamer

I'm working with the Marburg theme with beamer, and I would like to customize its Sidebar so that the title & author of the presentation does not show up, and I want the sections in the Sidebar to ...
7
votes
1answer
7k views

Show/hide the sections, subsections and subsections that I want from the navigation sidebar (beamer, Berkeley)

I am using the theme Berkeley, I have lot of sections and subsections, I want to hide certain sections, subsections and subsubsections from the navigation bar, but not from the table of contents. If ...
7
votes
1answer
383 views

How do I get multiple ToC entries in the same line?

I need that, in the ToC, all the \paragraph references appear in the same line, like. 1 First Chapter................................................1 1.1 First ...
6
votes
1answer
1k views

How to tweak the LOF and LOT without using any packages?

The list of figures/tables in default book class looks like: Default looking: List of Figures 1.1 Snapshots .................. 2 1.2 Snapshots .................. 4 1.3 Snapshots ...
6
votes
1answer
1k 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 ...
4
votes
1answer
308 views

Adding appendix in TOC as Appendix A, Appendix B using appendix package

I am writing my thesis, I want to add appendix after the references in TOC. I want the appendix in following format Appendix A 107 Appendix B 115 ...
4
votes
1answer
455 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 ...
3
votes
2answers
1k views

How to remove page number in TOC for Part entry (not page number printed in TOC pages)

I want to remove page number in TOC entry for Part (in this example 3 must be removed) \documentclass{scrbook} \usepackage{lmodern}% for sans-serif plus bold plus italic ...
1
vote
2answers
1k views

Table of contents

How will i create a table of contents to have an output like this... CONTENTS ILLUSTRATIONS ...........................................i ...
11
votes
2answers
6k views

Hide navigation information in sidebar on title page and TOC page (beamer)

Edited for clarity: I am trying to remove the navigation information in the sidebar that lists a TOC on the title page and the TOC page in a beamer presentation. I still want the sidebar to appear ...
11
votes
1answer
1k views

Cite in the caption of a graphic but not in \listoffigures?

Sometimes I'd like to cite the reference in the caption of a graphic. But I want to avoid that this citation is displayed in the \listoffigures. How can I achieve that? Fore example with this code: ...
11
votes
1answer
23k 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
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 ...
8
votes
1answer
213 views

Page numbering problem

I use \pagenumbering{roman} for several pages in my \documentclass{report}. I display my \tableofcontents, and then switch to \pagenumbering{arabic}. However, my table of contents is two pages long, ...
6
votes
1answer
6k views

Help removing subsection and subsubsection numbers from Table of Contents TOC

Hello I am trying to further modify my TOC. I got an answer here as to how I could remove the \section numbers on the left side of the TOC and now I would like to expand that. I would like to remove ...
6
votes
1answer
921 views

Adding the word “Chap” before the chapters numbers in the TOC

I'm using the book class and I need to add the word "Chap" before the chapters numbers in the TOC. Please keep in mind that the "Chap" should only appear before my chapters numbers, not before starred ...
6
votes
2answers
459 views

Spacing for \listtheorems in ntheorem

Q: How do I get my theorem number and name to not overlap each other in my list of theorems? This is basically the same question as "Spacing control for listtheorems". But the solutions mentioned ...
5
votes
1answer
4k views

table of contents: adding a vertical space

In a table of contents that has been generated with LaTeX's \tableofcontents command, I would like to add a vertical space before a Chapter item in the table of contents. One way that I have in my ...
4
votes
3answers
151 views

list of figures and tables when there are no figures or tables?

I have a rather large project, from which I select portions based on needs. This selection is done using a complex system of \include and \input commands. I would like to generate a list of figures ...
4
votes
1answer
198 views

Small caps in section but not in ToC

With LaTeX, I would like to set all my section titles in small capitals but I need the \textsc to be 'cancelled' in my table of content. Is that possible somehow ? I currently do this : ...
4
votes
1answer
953 views

Header and Footer on multipage listoffigures

I've using the fancyhdr package to modify the header and footer. If my \listoffigures spans multiple pages then the header and footer on page one of the LoF is not fancy. The TeX example below ...
4
votes
2answers
506 views

Problem with the numeration appearing in the table of contents

I have some trouble with the page numbers printed in the table of contents. I am writing a text in book class. In my text, I first print a table of contents with the commands \frontmatter ...
3
votes
2answers
7k views

How to remove “Contents” line from table of contents [duplicate]

Possible Duplicate: Hiding the “Table of Contents” page from Table of Contents How to remove the self-reference of the ToC from the ToC? I have a table of contents in my ...
2
votes
1answer
268 views

How to avoid widows and orphans in ToC?

I want the chapter's author name being shown in the ToC. So I have modified the chapter to add the author there and use it in the page header as follows: \documentclass[10pt,twoside]{memoir} ...
0
votes
1answer
578 views

Increase space between numbers and text in List of Figures

The template I am using for my thesis doesn't have sufficient space between the numbering of the table of figures and the wording. This results in a table that looks like: 3.17Answer presenter editor ...
27
votes
2answers
856 views

How to get thumbnails in a list of figures?

To be honest, I'm not sure if I really want this because I can't imagine how exactly it would look. But maybe someone is interested in this, too, or even has already written code to achieve this: it ...
28
votes
1answer
4k views

Adding Table of Contents to existing PDF

How can I add a Table of Contents (TOC) to an existing PDF? I have an existing PDF (scanned notes from a class). I'd like to improve this basic scan as much as possible. I do not think that any OCR ...
24
votes
1answer
2k views

Book layout Contents, Chapter, Section,

my goal is to get new style of Table of Contents, new style of Chapter and new style of section. I there is one more: how to change itemize native symbol for a black square? Table of Contents: text ...
27
votes
2answers
1k views

Create a “List of Effective Pages”

I am considering learning Latex in order to more easily maintain a bunch of manuals for my company. One of the requirements is to have a "List of Effective Pages" towards the beginning of the ...
22
votes
4answers
6k views

Automatically typeset math in section headings in bold-face

This question is motivated by a question asked me by a friend who is working on his thesis in mathematics. His section headings occasionally contain math, which: he would like to be in boldface to ...
12
votes
3answers
15k views

Table of Contents incorrect page numbering

I am using the following code. \newpage \section*{Abstract} \addcontentsline{toc}{section}{Abstract} \newpage \tableofcontents \addcontentsline{toc}{section}{Table of Contents} \newpage ...
23
votes
3answers
23k views

How to change spaces between items in Table of Contents

Is it possible to get it without using package titletoc? I'm using special chapter style which doesn't work with this package.
14
votes
1answer
3k views

minitoc of a subsection

I'm trying to use the minitoc package to generate a ToC for a subsection. From my reading of the minitoc documentation, this doesn't look too possible to do with minitoc, so I am open to suggestions ...
14
votes
1answer
10k views

Splitting TOC into two columns on single frame in beamer

I am doing a presentation but my table of content is too long with short titles for a single slide. I was wondering if there was a way such that the table of contents appears on two columns. Related ...
13
votes
1answer
7k views

Minitoc + thesis template + pdflatex

I added the package minitoc \usepackage[nohints]{minitoc} to this template and did as I read: add \dominitoc before \tableofcontents and \minitoc after a chapter's creation, but it doesn't appear. ...
6
votes
2answers
169 views

TOC and Subfiles: which TOC pkg for unique TOC compilation with each subfile?

The Subfiles package makes compiling individual parts of a LaTex document convenient. The package works so that each subfile inherits the master preamble main.tex and the user is able to compile ...
5
votes
3answers
3k views

Setting the name of an index with makeidx and adding to table of contents

I would like to change the name of my index, so that instead of "Index", it reads "Index of whatever I want". I've tried quite a few things: redefining \indexname, after or before calling \makeindex ...
9
votes
1answer
1k 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, ...
8
votes
2answers
2k 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
1answer
3k views

Modifying mini-toc content

I have adapted the pretty table of contents solution written by Gonzalo Medina with the modification to the "blue box style" that Stephan Lehmke helped me with to design a somewhat consistent ...
18
votes
3answers
9k views

How can I fit my table of contents into a single page?

When I use \tableofcontents I get all my contents in a single page except for a line that goes on the other page, how can I make all in the same page?
12
votes
1answer
10k views

Best way to remove page numbers from a TOC?

What is the best way to remove Page Numbers from a Multi-Page TOC without touching the \pagestyle or \thispagestyle? I've seen this post already, but I want to find out if there are more ways to ...
12
votes
2answers
991 views

How do I create custom “list of…”s on a section level?

I have a long document with frequent uses on an environment that needs to be indexed on a per-section basis. I know that the tocloft package allows creation of custom "list of..."s I also know that ...
10
votes
1answer
1k 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
2answers
504 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?
9
votes
2answers
1k views

Grouping the list of listings by chapter

I am using the listings package. I want to print out a list of listings, which I can do. The thing is that in the other listings the typesetter "groups" figures/tables by chapter. Is it possible to ...
7
votes
1answer
7k views

How to change style and color of Table of Content?

I want to change style and color of my Table of Contents to match this: Note that I use the minitoc package for creating my Table of Contents on a per-chapter basis.