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

0
votes
1answer
9 views

Formatting TOC to ignore section and remove extra spaces

I want to format the TOC to ignore section and subsection since the chapters are all extremely small, and just list out the chapters without spaces between them. I can see the question: Format table ...
1
vote
2answers
33 views

Pre-expansion of moving macro argument

I am using databib package (datatool bundle) to get information out of a BibTeX database for arbitrary use in a LaTeX file. It provides a command to loop over the BibTeX entries. Within such a loop, ...
2
votes
2answers
38 views

“List of Lists,” similar to \listoftables or \listoffigures?

While this may seem kind of meta, I'd like some way to create a list of lists at the beginning of a document with labels for each list. Is this easily done? Currently my project is laid out like this: ...
6
votes
0answers
45 views

Table of contents with xtemplate (expl3)

Every time I typeset some book or articles, I start to renew sectioning commands (\part, \section, some \@-commands and so on), \maketitle, \tableofcontents commands by copy-pasting it to my class and ...
3
votes
1answer
19 views

table of contents problem

I have the following code, the problem is that table of contents is not working, it does not use section titles as it should instead there is only a "Contents" title. How to fix that? ...
1
vote
1answer
14 views

Change ToC to \section instead of \chapter

I'm using the report class, and because of this, my table of contents is also displayed as a chapter (i.e. using a chapter heading for "Contents"). This is overly large, and just causes my ToC to wrap ...
2
votes
1answer
35 views

Table of contents not working

My document is failing to generate a table of contents. This is the latest MWE suggested by Nickie (perhaps messed up in translation, I don't know). When I compile this in TeXworks using pdflatex, ...
1
vote
1answer
47 views
+50

Beamer: Show all previous \tableofcontents items and gray out future items. Also: Remove subsections from ToC and then fix distances between items

I want to present a ToC in Beamer which shows the previous items and grays out future items. I cannot quite get it to work however. Here is a MWA: \documentclass{beamer} \usetheme{Luebeck} ...
5
votes
1answer
40 views

Insert Table of Contents in chapter

Any idea of how to create a mini table of contents (TOC) in the beginning of a chapter? Not the ordinary TOC in the beginning of the report, but a mini TOC in the beginning of a chapter (like, ...
2
votes
1answer
32 views

list of figures for a single chapter

I want a list of figures for a single chapter (appendix a). \documentclass[11pt]{scrbook} \usepackage[ngerman]{babel} \usepackage{subcaption} \begin{document} \frontmatter \chapter{Front} ...
2
votes
1answer
76 views

How can change word `پیوست اول` to `پیوست آ` in table of contents

How can change word پیوست اول to پیوست آ in table of contents pay attention my minimal code. \documentclass{book} \usepackage{zref-perpage} \zmakeperpage{footnote} \usepackage{titlesec} ...
1
vote
2answers
31 views

Issue with the numbering in table of content

I have this numbering : I. Introduction I.1.blabla I.2.blablabla I would like to have it like this : I. Introduction 1.blabla 2.blablabla
0
votes
1answer
24 views

Is there a way to “align” text in a LaTeX report table of contents?

I'm using a LaTeX report style to construct a document. Each section has a title that begins with a date, like this: Sun Jan 11 2015 - A Sunny Day Wed Feb 4 2015 - A Rainy Day Thu Mar 5 2015 - A ...
-1
votes
0answers
33 views

Different chapter name in Table of Contents [on hold]

When I use \chapter in \appendix, it shows in the Table of Contents as Appendix 1 but other chapter names in Table of Contents show up as Chapter first. How can do it?
1
vote
0answers
15 views

Deleting extra page when using ToC [duplicate]

How can I delete the extra page created when using table of contents? The page shows the name of the table of contents and the rest is empty.
1
vote
1answer
58 views

Replicate the following table of contents

I like the way the following table of contents was made: What's the way to generate such table? Ok, so I managed to do the following: \documentclass[11pt]{article} \usepackage[left=0.5cm, ...
1
vote
0answers
17 views

Include section in ToC of viewers, but not actually visible in document [duplicate]

I'm writing my thesis, and there are two sections that I do not wish to include in my table of contents: the abstract and the acknowledgements. Of course, LaTeX makes all the right choices for me, so ...
0
votes
0answers
29 views

Content of including PDFs [duplicate]

I have some little problem with my file. There are lot of included PDF files, without any \caption and \section. I need to create a table of content with these PDF files and function hyperref. Can ...
0
votes
0answers
12 views

How do I get rid of the red boxes [duplicate]

How do I get rid of the red boxes generated around the hyperlinks of cross-references, citation etc. It is also making the report dirty especially the 'table of content' part. Will it appear in the ...
1
vote
1answer
12 views

how to add figure numbers in listoffigures continously [duplicate]

I have used \listoffigures in my report and the list contains indexing like 2.1 if it belongs to chapter 2 first image and 5.4 for chapter 5 ,fourth image, how can I change this to continuous arabic ...
4
votes
1answer
38 views

Table of Content, indentation within long title

My question is similar to following one: Table of Contents: Nice Titles for Parts However, the solution didn't help me enough to resolve my problem. My question is: In the Table Of Content, I have a ...
1
vote
1answer
39 views

My table is coming above the title I want it to be

My code is something like this whereas the table is coming above the section "Work experience". \section{Work experience} \begin{table} \caption{Research Experience} \centering ...
1
vote
2answers
46 views

Table of Contents: Changing the formatting of specific Chapters (the Appendices)

Instead of my Appendix titles appearing in my Table of Contents formatted like the rest of my Chapters (I'm using the report class) I would prefer for them to appear in the same format as my Sections ...
3
votes
2answers
57 views

cref table caption: works in body, not in lot

I am using cleveref package. In one of my table, i'm refering to an equation in the text. The reference works fine (also hyperref) in the caption just below the table. Unfortunately it doesn't work in ...
2
votes
0answers
43 views

Adding new entry in the TOC

I need some help in two problems that I am facing now in my thesis writing. I want to add a new page with the title "List of Scientific Contribution" at the end of my thesis and its corresponding ...
4
votes
2answers
94 views

Long title in table of content doesn't break properly

My table of contents doesn't seem to be handling well titles which are just a little bit too long. Here is a screenshot: As you can see some lines are breaking, but some (like the title of section ...
1
vote
1answer
31 views

Beamer: TOC for each section starting from the second

What the title says. In the slides below, I want to put a TOC in the default state at the beginning. But the \AtBeginSection setting will add another TOC just right after it, for the section 1. How ...
2
votes
0answers
36 views

List of figures: figure numbers appear in incorrect order

The List of Figures in my thesis sorts my figures based on the page number on which they appear. Instead I would like the figures to be sorted based on their figure number. The current sorting method ...
3
votes
1answer
24 views

List of Abbreviations headline not same font size as List of Tables

I just started using Latex and I'm stuck already. I tried to find solutions online but I couldn't find the right one. In my document I want to make a list of abbreviations, so I used the acronym ...
0
votes
1answer
23 views

Wrong page with `\addcontentsline{toc}{section}` after a list of figures

Consider the code presented at the end of this message, with the figure downloadable here (it is just a pdf of a rectangle). The problem is that the \addcontentsline{toc}{section} links to the wrong ...
1
vote
1answer
41 views

Roman numbering in table of contents using report

Using the MWE below, I want the chapters declaration, preface and abstract to be given a roman number in the table of contents and the rest of the chapters arabic numbers, using the report class. The ...
0
votes
1answer
18 views

Reference in table of contents without section number

How can I make the Reference visible in the table of contents without numbering it? I use the document class article. So far I have been using \usepackage[nottoc,numbib]{tocbibind}, but this numbers ...
2
votes
1answer
35 views

LaTeX report - table of contents without chapter

I am trying to write a LaTeX report (using class report) but I don't want to use chapters, only sections, subsections and subsub. Using \renewcommand{\thesection}{\arabic{section}}, my sections ...
2
votes
1answer
28 views

Include TOC in TOC page using nameref

I am currently adding the Abbreviations section by using \nameref in the TOC to circumvent the problem with nomenclat and glossaries packages to include the the glossary. This is using the code as ...
2
votes
2answers
30 views

Add a section before \tableofcontents to content

Hi I want to add the section of Signature, which is before \tableofcontents, to the Content. Don't know why my codes don't work. Is it even possible? Thanks a lot! \documentclass[11pt,twoside]{book} ...
3
votes
1answer
47 views

problem with `hyperref` and TOC

I added "chapter" word to my TOC, but when i use package hyperref,this word remove from TOC. this is my code: \documentclass{book} \usepackage{etoolbox} \usepackage{hyperref} % if commented all fine ...
7
votes
1answer
37 views

Completely remove page numbers, including inside TOC references, using bullet sections

I'm taking study notes in latex and I want to read it in my kindle. So far I was able to get very good results using: \documentclass[ebook,oneside,openany,17pt]{memoir} ...
1
vote
0answers
28 views

Table of contents: same colour for all entries [duplicate]

I try to generate a tableofcontents which I will get, but the color of the numbering+text for sections, subsections is different than the color of the pagenumber. What am I doing wrong ? Am I using ...
3
votes
1answer
25 views

Insert unnumbered headings in toc automatically

When I use a numbered heading like \section or \chapter, the heading is automatically added to the table of contents. If I use an unnumbered heading like \section* or \chapter*, I have to add another ...
0
votes
1answer
36 views

How to display appendix letter in the table of contents?

Assuming the following code: \usepackage[toc,page]{appendix} .... \begin{appendices} \appendix \chapter{Foo} \label{app:foo} text1 \chapter{Bar} \label{app:bar} text2 \end{appendices} The table ...
2
votes
0answers
24 views

ConTeXt: Table header as section in TOC (while parsing xml to pdf with xmlflush)

I would like to use the header of a table as a section for the TOC (while parsing an XML to pdf) \startxmlsetups xml:table \page[yes] \dorecurse{3}{ \bTABLE[frame=on,split=no] ...
1
vote
0answers
41 views

Beamer links of table of contents

can anyone explain me why, in a beamer presentation, when I click on a link in the table of contents I am always sent to the first frame of the whole presentation and not to the first frame of the ...
4
votes
1answer
40 views

addtocontentsline only if not empty

I'm using a macro, which does this: \addcontentsline{toc}{section}{\string\iffoo bla \string\fi} When compiled normally, foo is false, so the line should not appear in the toc. But when the .toc ...
5
votes
1answer
45 views

How should I work with beamer, TOC and parts?

I'm writing a beamer presentation that should be divided into several parts, each of them contains sections, subsections, etc. This code (without \part commands) works fine and it generates TOC ...
0
votes
0answers
31 views

In List of Figures, “Figure” and “colon” are disappeared when changing gap between Figure Numbers and Caption

I have found the question Numbers too close to figure captions in List of Figures, can this be fixed without changing the class? very helpful to add some spacing in List-of-figure in a Report ...
1
vote
2answers
28 views

fncychap: Remove vertical space between heading and first element in toF and toT

I'm trying to remove the vertical spacing that occurs when using the fncychap package, but how to do this? I've already done it in the toc by writing the following: \renewcommand\contentsname{Table ...
2
votes
1answer
61 views

How to control spacing in toc for different sections?

I need to have a TOC that has double space between Chapter titles but single space between sections and subsections. I know there are several related questions on this matter, but the difference is ...
1
vote
1answer
47 views

Too long section title in table of contents by using hyperref

Some of titles are too long, and when I make the table of contents by adding the \usepackage{hyperref}, one line is not enough for them. When I add the \usepackage{hyperref}, the titles are out of the ...
0
votes
0answers
17 views

LaTex table of content and table list overfull \hbox

Please help, this is making me go crazy! I have a longer than usual section heading and a longer than usual table caption in the attached LaTex code. Result is that both are printed weirdly in the ...
0
votes
2answers
79 views

TOC and header versions of section titles (titlesec interferes with fancyhdr)

I am working on a long document with many chapters, using report class. I would like to have three different versions of certain section titles (long for document, medium for TOC, and short for ...