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

2
votes
1answer
48 views

Overfull boxes in Memoir Table of Contents

I am trying to address overfull boxes in my thesis table of contents. I am using the memoir class in draft mode to mark the two problems. This starts out minor (MWE doesn't look too bad) but grows ...
2
votes
0answers
49 views

2nd column in TOC with subtitles for subsection and subsubsection

How can I achieve something like this in my Table of Contents? The sections should look like this in the main document: Important Features of the TOC: Subsections can have TITLES (smallcaps), ...
1
vote
1answer
92 views

tableofcontents with allowframebreaks breaks internal links

sorry if this was asked before. After perusing many comments, I cannot find a solution to the following problem: I have included a table of contents entry in my latex beamer code, and I had to also ...
1
vote
1answer
46 views

Table of contents in black. Cross references and bibliography references in blue

I am using article as document class and chicago as bibliographystyle. I want to display the table of contents in black (still being able to click on the sections and subsections) and the cross ...
4
votes
3answers
75 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 ...
0
votes
0answers
46 views

list of figures and tables header plus \addcontentsline

I am adding a heading in the list of figures and list of tables. Also, I'm adding a document using pdfpages and having a problem with dots in the list of figures when I try to add they mannually, by ...
3
votes
1answer
56 views

How can I add inject text into a ToC with the scope being a specific table of contents (\tableofcontents or \localtableofcontents)?

Question How can I add text to a table of contents, yet limit its scope to that specific table, and whose format can be manipulated and does not have a page number? Conditions I can hide it from ...
2
votes
1answer
48 views

list of figures reference to image, caption on another page

Using the caption package to put a caption of a figure on another page, the List of Figures shows the number of the page where the caption is, not the page where the actual image is. ...
2
votes
2answers
79 views

Include an unnumbered appendix chapter in TOC and hide numbered appendices from TOC

I have a few appendices that I do not want to show in the TOC. Instead, in the TOC, I want a single entry named "AllAppendices" to be shown. This shall be an (unnumbered) chapter in the appendix. The ...
0
votes
0answers
21 views

Chapter and table of contents [duplicate]

I'm trying to insert a chapter in my work (documentclass is book) without giving it a number \chapter*{Introduction} but in this way I can't find the chapter in the table of contents. Qhy? Can I ...
1
vote
0answers
48 views

Indentation different level of appendix entries in ToC

I'm writing my thesis paper, I got a tough question. How do I change the indent of A.l Coverable Region 1 inch after the Appendix A, so on and so forth for A.1.1 and A.1.2 ...
0
votes
0answers
15 views

indentation of appendix entry in toc [duplicate]

I'm writing my thesis paper, I got a tough question. How do I change the indent of A.l Coverable Region 1 inch after the Appendix A, so on and so forth for A.1.1 and A.1.2 the code is was like:
1
vote
1answer
67 views

How not to show caption of figure but only of subfigure in list of figures

I have a similar problem to How to change the display of subfigures in List of Figures?. I'm using the subcaption package. I dont need to show the caption of all figures but for some figures which ...
1
vote
0answers
27 views

Middle portion of a line is become invisible at the end of a page [closed]

I am facing some problems during writing an article. Some texts is become invisible after last page. A screen shot is given below : Also another problem is occurred in the table of contents ...
1
vote
1answer
64 views

Change the font size in ToC

Here is my problem: \documentclass{article} \renewcommand{\thesubsection}{\arabic{subsection}} \begin{document} \tableofcontents \section*{\LARGE Section 1} ...
0
votes
1answer
218 views

Not numbering Executive summary in Table of Contents

I'm a beginner in Latex, and I want to use this software to do my report for uni. However, I'm stuck on how to "not" number my executive summary in the table of contents. Attempt ...
1
vote
0answers
67 views

In double spacing, find proper captions skip for both figure and table, and customize TOC page number for long title

I am writing a thesis using a class based on book. Overall double spacing is required. Right now I have two issues: The first is finding a proper caption skip for both figure and table caption; and ...
1
vote
1answer
60 views

Unnecessary \addvspace in List of Tables?

I am trying to conditionally-print a List of Figures and List of Tables only when the relevant elements exist. (I started by modifying the solution to this question: Add list of figures/tables only ...
2
votes
1answer
94 views

Align section number with bottom line of title in TOC with tocloft

I have a customized TOC modified with tocloft that I am vary pleased with (see below). The problem is when I have chapter titles that are more than one line long. The large chapter numbers are then ...
27
votes
3answers
650 views

Visual table of contents using tikz mindmap or similar

For a book, I'd like to have a visual table of contents, showing parts, chapters (and maybe sections) visually as a radial tree diagram or mindmap. Ideally, it would be lovely to have some tool to ...
7
votes
1answer
89 views

Roman Numeral Justification Issue in Memoir TOC

I'm typesetting a book with lengthy frontmatter, but any roman numeral page numbers more than three characters are being pushed into the right margin of the TOC. How would I fix this? ...
2
votes
2answers
46 views

Exclude sections with empty titles from TOC

With the preamble that I built from the answer on \section with empty title. Show number next to first paragraph, I use \section{} and related with empty title, which will mark the first paragraph of ...
3
votes
1answer
108 views

Appendix: Remove letter from chapter

I have a document with a single appendix chapter. Latex is numbering this as "Appendix-Chapter A". But because it is my only appendx chapter, I want only to show "Appendix-Chapter". Current source: ...
2
votes
1answer
73 views

Memoir: Change dots in ToC to colored horizontal line

Using memoir, I want to change the ToC such that it displays a colored horizontal line (_____) instead of the dots between the chapter name and the page number. Is this possible? Before: 1 First ...
2
votes
1answer
92 views

Memoir: Typeset chapter as section in TOC

For my Appendix, I'd like to change the look of the ToC such that Appendix-Chapters look like Sections in the main part of the document. The following code \documentclass{memoir} \begin{document} ...
2
votes
1answer
95 views

Add parts titles to the LOF

I would like to add parts and chapters to the LOF. I can add chapters but the \apptocmd{\@part} doesn't work unless I comment \titleformat{\part}. Why ? I have found a workaround with ...
4
votes
1answer
111 views

How do I insert a Table of Contents reference for a page that does not yet exist?

Basically, I need to insert a page before my table of contents -- this would be a PDF that cannot be modified and needs to contain the original text. In my table of contents, I want to reference the ...
9
votes
2answers
128 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 ...
0
votes
0answers
36 views

Why is the command \appendix preferred over \begin{appendices}, …\end{appendices}? [duplicate]

This is a follow-up question to How to replace the word "Chapter" for appendix items with "Appendix" in book using titlesec. I've tried \begin{appendices} ... \end{appendices} ...
2
votes
1answer
80 views

Flush left Table of Contents title in revtex4

I am using revtex4, and I would like to flush left the title of the table of contents, that I customized to be 'My Title of Table of Contents' in the following example. May you please help me with ...
2
votes
1answer
86 views

The text instead of chapter number

I just get some code from Pretty Table of Contents and modify it for my purpose)). But I need some variable text parameter or command for using instead of chapter number in the Table of Contents. ...
4
votes
1answer
69 views

Meanings of some macros in beamer source

In the source file beamerbasetoc.sty of beamer package there are these lines: \def\tableofcontents{\@ifnextchar[{\beamer@tableofcontents}{\beamer@tableofcontents[]}} \def\beamer@tableofcontents[#1]{% ...
7
votes
1answer
220 views

Understanding how a TOC is generated

I'm trying to understand, in some detail, how a toc is generated. But now I'm thoroughly confused and perplexed after examining the .toc file before and after making a ``slight'' modification. I hope ...
3
votes
1answer
48 views

Table of Contents labels not directing hyperlinks to correct page

Being only a LaTeX novice I may have introduced a bit of customizing code renewing part formats and adjusting numberings which may have messed up the ability for hyper-references accuracy in heading ...
3
votes
1answer
79 views

Change number after chapter in table of contents

From Chapter Roman in tableofcontents , it has an effect on Theorem, Definition etc. I would like to change number of chapter into Roman number in tableofcontents like CHAPTER I in picture. ...
4
votes
2answers
141 views

Edit contents title and running header separately

I'm typesetting a book using XeLaTeX. In creating the table of contents, I want to have control over: The title at the top of the toc The running header throughout the toc I want the contents ...
5
votes
1answer
87 views

Beamer: Highlighting subsubsections in TOC

I borrowed the following code from this answer (provided by @Gonzalo) to my earlier question and now I want to show highlighted subsubsections as sections and subsections. Any help will be highly ...
3
votes
1answer
139 views

Table of Contents in Elsevier Class with two columns

How can I show a table of contents in one column and below of abstract in Elsevier Class, considering twocolumn and preprint as selected options? My minimal example is below. ...
4
votes
2answers
155 views

List of theorem dots overlapping with theorem name

Here is my MWE: \documentclass[a4paper]{report} \usepackage{amsmath,amsfonts,amssymb,amsthm,thmtools,tikz,xparse,lipsum} \usepackage{newtxtext,newtxmath} \usepackage{hyperref} \makeatletter ...
4
votes
2answers
327 views

Removing the zero in the chapter numbering

I have a line of code to hide "Chapter" and just head every chapter in the format "ChapterNumber" + "." + "ChapterTitle". However, the Table of Contents is assumed to be "Chapter 0", so it shows "0. ...
1
vote
1answer
59 views

How does one create a counted command (e.g. TODO) for use in a list?

Pretext: I am aware of packages such as todonotes, todo, and fixme, but this is more of a task for learning LaTeX programming. Therefore, the use of additional packages downloaded from CTAN is ...
6
votes
1answer
97 views

roman numbers too wide in table of contents

Consider the Code below: \documentclass[% paper=A4, twoside=true, fontsize=12pt, titlepage=true, listof=totoc, bibliography=totoc, listof=flat, open=right, ...
3
votes
1answer
45 views

Deeper TOC only in one section

I have a deep title structure (until subsubsubsection) and want to show for the whole document only sections and subsections – this is easy so far. But for one section only, I want to have also ...
5
votes
2answers
182 views

Token allowed in PDF string in \section but not in a customized (with \addcontentsline) section command

babel's frenchb option makes active e.g. ! character by making it automatically preceded by a \thinspace. Such active characters are properly supported in sections by hyperref's bookmarks. But, when I ...
3
votes
1answer
102 views

Is there a way to limit the scope of the Table of Contents (\tableofcontents command)?

Question If I have a document with multiple tables of contents, can I limit the scope of a toc sections are added and reset the toc? Situation I have a document made up of 10 languages. (using ...
0
votes
0answers
18 views

Two ToCs in a document? [duplicate]

I want to have a first level ToC in the beginning of the document, and full ToC at the end. I'm using titletoc. There's a similar question but it is actually about printing ToC by parts. I expected ...
4
votes
1answer
91 views

Setting Entries of List of Listings in LaTeX. Package Listings

I'm trying to put an hyphen after the entries of the "List of Listings" as follows: List of Codes Code 1 -- First Code ................................ 7 Code 2 -- Second Code ...
0
votes
0answers
20 views

Table of contents inside an included PDF [duplicate]

I've got some problem with LaTeX right now, well to be honest it's not really a problem and I'm not even sure that it is possible but I would like to be able to do it. Basically, here is my LaTeX : ...
0
votes
0answers
45 views

Conditionally prepend text to chapter title in TOC

I want to prepend some text to chapter titles on the TOC according to certain conditions. For example (this doesn't work): \documentclass[letterpaper,openany,oneside]{book} ...
1
vote
1answer
41 views

Exclude section numbers from links in ToC: non-numbered sections bug

I use etoc to exclude section numbers from links in ToC. However, when I insert a non-numbered appexdix section — etoc adds a period: I played with the code, and found that the problem is with ...