{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
61 views

Remove dot after part number in TOC

I want to remove the dot after the Part number in the TOC. So far, only Koma-Script classes worked. \documentclass{mwbk} \usepackage{titletoc} \titlecontents{part} [0pt] {\addvspace{2pc}% \...
4
votes
1answer
30 views

Categorizing Listings

Is it possible to group listings by type? I have a document with two types of listings, namely one for source-code and one for series of shell-commands (and their outputs). So is it possible to have ...
1
vote
0answers
44 views

Adding border to table of contents in xepersian package

I'm trying to add a border to the table of contents and so far I've done this: \def\@makeschapterhead#1{% \begin{tikzpicture}[remember picture,overlay] \node at (current page.north west) {\begin{...
2
votes
1answer
62 views

texorpdfstring with two arguments

The space between the first and the second chapter is different. I know the issue is with the newcommand \chapterAndAuthor with the texorpfdstring command. I added the command texorpfdstring to get no ...
1
vote
0answers
33 views

Splitting Table of Contents [closed]

In a beamer presentation the table of contents that appears at the top of the slides is taking a lot of space and making the bottom portion of the slides unobservable. Is there a way to split the ...
3
votes
1answer
80 views

Right justify roman page numbers in list of tables

I have a scrartcl document with arabic and roman page numbers. The list of tables looks like this: Arabic page numbers are right justified (relative to each other), whereas roman numbers are ...
2
votes
1answer
67 views

Section title centering

I am writing my PhD thesis in LaTeX. When I tried to center the section titles, awkwardly, it compiles without table of contents but whenever I write \tableofcontents an error occurs. For centering, ...
0
votes
0answers
32 views

Clickable table of contents and non-clickable equation references?

I know that the hyperref package provides a clickable table of content and clickable equation references. How can I have clickable table of contents and non-clickable equation references ...
2
votes
2answers
24 views

Creating various mini ToC fails to print desired ToC

I will be referring to the mwe below: \documentclass[11pt,twoside,openany]{book} \usepackage{titlesec} \usepackage{titletoc} \usepackage{xparse} \let\oldsubsection\subsection \RenewDocumentCommand{\...
4
votes
1answer
21 views

Removing boldface from appendix chapters in TOC

How do I remove boldface from appendix chapter headings in the TOC? I would like the TOC to look like this: 1 First chapter   1.1 First section Appendices Appendix I First appendix ...
3
votes
1answer
16 views

Error in creating new title class and excluding from ToC

I am trying to create a new title class somewhat like a section but that is not included in the ToC. But when I use \titlecontents{exercise}{}{}{}{} it does not compile. How can I fix this? Here is a ...
2
votes
1answer
37 views

How do I update minitoc

I'm desperatly trying to update my minitocs I added in the beginning of every chapter. To do so, I've tried compiling several times, and I've tried to delete my "\minitoc and my \dominitoc in my code. ...
2
votes
3answers
38 views

add prefix to toc numbering

I add a prefix to the page number of my appdix by \documentclass[a4paper,oneside]{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \copypagestyle{apx}{plain} \makeevenfoot{apx}{}{...
1
vote
1answer
28 views

Adding “Appendices” before A,B,C in TOC

I would like to add the word "Appendices" in my toc, before the Appendices A,B,C etc. That is to say, I would like something like this: 1. Chapitre 1 2. Chapitre 2 Annexes A B C ...
1
vote
1answer
84 views

Modifying Table of contents using titletoc

I need to remove the roman numbers of the part class and the alphabetic enumeration marks from the subpart entry. Then I want the chapter to have arabic numbers. As I tried to show some chapter ...
2
votes
1answer
51 views

Table of contents pagestyle

Consider the following MWE: \documentclass[a4paper, twoside, 11pt]{report} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead{} \fancyfoot{} \renewcommand{\sectionmark}[1]{\markright{\...
4
votes
1answer
55 views

How do I show the theorem body in thmtools \listoftheorems

I would like to add a list of theorems to my document so I have included thmtools. This gives a list of theorems but in the following format. 1.1 Theorem . . . . . . . . . . . . . . . . . . . . . ...
4
votes
1answer
87 views

Resetting chapter counter to 0 for each new part in the book document class

For reasons that may look misguided to some, there are cases where I would like to structure a documentclass{book} into parts and number the chapters of each part starting with 1. This works fine as ...
0
votes
1answer
70 views

overfull \vbox warning in table of contents, TOC doesn't break to a new page

I'm having the overfull \vbox problem in TOC. As you can see in the following image there is an overwrite on the footer. The warning I get is: "Overfull \vbox (188.96039pt too high) has occurred while ...
1
vote
0answers
49 views

Translation from Memoir class to Book class of pretty tables

Gonzalo Medina pretty TOC/LOF/LOT (memoir class) can be found at Pretty List of Figures and List of Tables. If the class is switched to the book class, there are 187 error messages produced. Is there ...
1
vote
1answer
102 views

minitoc problem

I 'm writing my phd using Thesis.cls But i have a problem with minitoc. The table of content of each chapter doesn't appear. This my MWE: \documentclass[11pt, oneside]{Thesis} \graphicspath{{...
4
votes
1answer
67 views

How to control the depth of \localtablecontents in etoc

Is there a way to control the depth of what is shown by \localtablecontents, similarly to how \setcounter{parttocdepth}{.} and \setcounter{minitocdepth}{.} control the depth in the minitoc package. ...
3
votes
2answers
69 views

Items after appendix in the bookmarks

I have a problem in the bookmarks of my dissertation. The order in which the elements must appear are: Introduction chapters Appendices Bibliography Index. However, in the ...
2
votes
2answers
56 views

Positioning etoc's \localtableofcontents

I am writing a long document and want to include local tables of contests after each chapter. This is easily achieved with the package etoc and the command \localtableofcontents being introduced just ...
1
vote
0answers
31 views

Why all sections are not showing in ToC in Beamer Berlin theme? [closed]

I have 8 section in tex file. But only 6 sections are showing in ToC why? How to increase ToC. i have used Berlin theme
1
vote
2answers
49 views

Appendices indented as multilevels in table of contents

I am doing my appendices with \appendix \section*{Appendices} \addcontentsline{toc}{section}{Appendices} \renewcommand{\thesubsection}{\Alph{subsection}} \subsection{Code} ... so the Appendices ...
0
votes
0answers
27 views

Table of contents not created properly

I used \tableofcontents command but it only worked once. Then, it only included a single numbered chapter. Does that mean that the table won't include unnumbered chapters? How can I include them?
2
votes
0answers
67 views

Indent appendices in table of contents

If I use \documentclass{article} \usepackage[toc,page]{appendix} \begin{document} \tableofcontents \begin{appendices} \section{Some Header} .. \section{Another Header} .. \end{...
1
vote
1answer
31 views

How do I add the symbol \textsection in the table of contents?

I would like to add the symbol \textsection in the table of contents, How can I do that?, I'm using the AMSBook class. The above picture show that standard table of contents with the AMSBook class ...
5
votes
1answer
53 views

How can I format dots in tableofcontents like this picture?

How can I format dots in tableofcontents like this picture?
3
votes
1answer
39 views

Customize TOC, center align and italics in memoir

I would like to customize my TOC so that titles are centred and italicized while in the \frontmatter, like in the following picture: My MWE: \documentclass[14pt,twoside,a5paper,extrafontsizes, ...
3
votes
1answer
33 views

How to get Okular to parse a pdf's table of contents?

I am writing my thesis as a latex book which I compile using pdflatex. I use Okular to read pdfs, and I have seen that sometimes it displays the contents of a book in a clickable form. I would like to ...
1
vote
1answer
54 views

Chapters in List of figures with tocloft

I can't group my list of figures by chapters. I've tried solutions proposed in subjects Include chapters in List of Figures with titletoc? and Include Chapters have figures with caption In List of ...
2
votes
1answer
51 views

Why is there no content under the Contents section generated with \tableofcontents?

I wrote the following TeX program. This is copied straight from page 8 (Figure 1.2) of lshort.pdf. \documentclass[a4paper,11pt]{article} % define the title \author{H.~Partl} \title{Minimalism} \begin{...
2
votes
1answer
41 views

addtotoc without a number

I am trying to use addtotoc key-value in order to make a PDF page appear as a chapter in my Table of Contents. Ex: \includepdf[pages=-, pagecommand={\thispagestyle{empty}}, scale=1.008, addtotoc={1,...
1
vote
1answer
27 views

How do I shift all the TOC references one page forward?

I have the page numbering starting on page 2, which is labeled in the PDF as page 1. Therefore, 'Section A' falls on page 2, but the TOC sees it as page 1, and thus sends me to page 1 rather than page ...
1
vote
2answers
42 views

Counter in section title, table of contents increases it

I'm trying to add a counter to subsection titles. For example: Design tests 1.1 Test 1. A test 1.2 Test 2. Another test Functional tests 2.1 Test 3. Yet another test The problem is, since the ...
1
vote
0answers
46 views

Chapter with one big table appears one page later on ToC [closed]

I have made a chapter with no header (like I saw it in this question Start a new chapter without heading) that consists only of a big table. The chapter appears in the table of contents, but one page ...
3
votes
1answer
82 views

“Table of Figures” Title and “Table of Codes” Title not in the same line

Hello! I have the following problem: the title of my table of listings (codes) is not in the same position as the title of my table of figures is. You can see the 2 pages of the tables in the pic. I ...
4
votes
3answers
44 views

Appendix with two chapters and two counters

I would like to create two successive appendices for my current project. They're supposed to be formatted like this: Appendix A A.1 Random Section A.2 Random Section Appendix B B.1 Random ...
1
vote
1answer
34 views

Bibliography within table of contents in report class

I am trying to insert the bibliography in the TOC, and I am using the report document class. After looking at similar questions in this forum, I found that this code is what appears to work best: \...
2
votes
1answer
69 views

Numbers before parts and chapters in the table of contents

When I use \tableofcontents* for adding a table of contents, Roman numbers appear before the name of a part (entered by \part) and English numbers is appear before chapters (entered by \chapter). How ...
4
votes
1answer
78 views

Customizing toc in book class (appendix and coloring sections depending on current chapter)

I'm trying to customize my TOC as in this post (second example) and I'm having two issues. The first one is documented but I can't figure out what I'm doing wrong : I want to write "Appendix" instead ...
4
votes
1answer
81 views

Two column toc in footnotesize with scrartcl: pagenumbers in toc are too large

I'd like to have a small table of contents in two columns. Everything looks as expected, except the pagenumbers in the toc: they are still at normalsize, instead of footnotesize, and still in rmfamily,...
1
vote
0answers
25 views

[memoir][half-resolved] strange “numbering” in lof and lot [closed]

I have a strange problem that makes me crazy. I've defined my own class based on the memoir one, all works as I wish but not the lof and lot: instead of numbering figures and tables as in the body ...
2
votes
1answer
26 views

How to remove this title from mini ToCs?

How to remove "Whatever it is" from just the two mini ToCs? (I want it to remains in the main ToC.) \documentclass[notoc]{tufte-book} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \begin{...
7
votes
2answers
240 views

Why do I get this error in this very simple mwe?

Why do I get this error in this very simple mwe? It seems that the same error appears in the book class, two. \documentclass[notoc]{tufte-book} \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \...
3
votes
1answer
63 views

Figures and Tables in ToC within section

I have to fulfill a layout requirement, where the ToC includes a list of figures and a list of tables (that's OK), but additionally in the pdf bookmarks each figure and table should be indicated ...
1
vote
0answers
35 views

How to set a page number to a chapter in table of contents? [closed]

I have a chapter: \chapter*{Introduction générale}\markboth{Introduction générale}{Introduction générale} In the table of contents was declared on the third page but the chapter is in the first ...
3
votes
0answers
44 views

How to use tocloft with revtex without changing \tableofcontents formatting

I need to create a custom "list of ..." in my document. As I search around the intertubes, I'm told to use the tocloft package. The documentation seems promising. However, when I load the package, the ...