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

1
vote
1answer
41 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
84 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
74 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
60 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
143 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
42 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
51 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
59 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
42 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 ...
2
votes
1answer
65 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
24 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
65 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
37 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
37 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
56 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
54 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
33 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
58 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
38 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
46 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
54 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
82 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
52 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
45 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
70 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
64 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
58 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
106 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 ...
0
votes
0answers
45 views

Adding References to Table of Contents WITHOUT double entry

I'm using the article class and have a problem where if i used the commands: \addcontentsline{toc}{section}{References} \bibliographystyle{plain} \bibliography{Bibliography} then my table of ...
1
vote
0answers
31 views

Exported TOC in LyX centers Part headings

I have two matching documents with notes for two different classes. The document class, preamble, etc. are all the same. In one file, when I export it, the TOC centers the Part headings, in the other, ...
1
vote
2answers
127 views

utf8x character fails in the table of contents every second time i compile

\documentclass[a4paper]{report} \usepackage[utf8x]{inputenc} \begin{document} \tableofcontents \chapter{ø} \end{document} First time I compile this, I get an ø in the table of contents. Second time ...
0
votes
1answer
54 views

Compile equations used in a document to an equation sheet?

I am trying to find a way to take all of the numbered equations in my document (i.e. anything inside an equation environment) and automatically generate an equation sheet appended to the end of the ...
1
vote
1answer
42 views

How to format the leading dots of section page number and subsection page number respectively in the table of contents

everyone: I came across a problem. Following is how I format my table of contents: \usepackage{tocloft} \tocloftpagestyle{empty} \renewcommand{\cftdot}{…} \renewcommand{\cftdotsep}{0} ...
1
vote
2answers
45 views

Section-wise Table of Contents for Articles [duplicate]

Is it possible to have a section-wise Table of Contents in the article class?
2
votes
1answer
95 views

Table of contents of algorithm and algorithm2e together

The contents of the algorithms thinks that an algorithm that uses algorithm is one algorithm and an algorithm that uses algorithm2e is another algorithm, not the second of what was imported with the ...
2
votes
2answers
66 views

Vertical Spacing Between Figure Names from Different Chapters in Table of Figures [duplicate]

I'm using the chngcntr package to prevent the figure numbering from restarting, in my scrreprt. Take a look at the following code: \usepackage{chngcntr} \counterwithout{figure}{chapter} ...
2
votes
1answer
35 views

How to typeset the *same* table of contents twice: once with depth 0, and then with depth 1

Suppose a book has only 4 chapters. Suppose each chapter has a ridiculously large number of sections, say, 100. A table of contents with depth=0 for this book will take only 1 page, whereas a table ...
1
vote
0answers
33 views

Using tocloft with custom titles

I'm using the tocloft package to edit the spacing between entries in my Table of Contents, as follows: \usepackage{tocloft} \setlength{\cftbeforechapskip}{2ex} \setlength{\cftbeforesecskip}{0.5ex} ...
0
votes
0answers
20 views

Show full section titles in beamerarticle ToC when short section titles are present-Continued

This is a continuation of this question. I'm sorry, I couldn't add a comment there, so I wrote this new question. Gonzalo Medina solved the problem by defining a new \Section command. This cannot work ...
3
votes
1answer
59 views

Custom List of Listing Page Numbers Not Working

So I have been using this particular latex template for a while now and I keep adding and changing it to be what I want. Recently I tried reformatting to get rid of the leading dots in the TOC, LOF, ...
1
vote
0answers
39 views

Roman and arabic numbering in combine environment?

I'm putting together an academic journal for my student history society and am wondering whether I can have different papers in the combine environment display as roman or arabic numbers. The ...
2
votes
1answer
55 views

How to make listofalgorithms behave like a section, not a chapter?

I have a problem. I included the following: \documentclass[a4paper,11pt,reqno]{book} \usepackage{algorithm} \usepackage{algorithmicx} \usepackage[noend]{algpseudocode} and wanted to create a ...
0
votes
0answers
31 views

Extra List of Figures Page [duplicate]

I'm running into an issue with my dissertation. I'm using a template created to format my dissertation according to the University's guidelines. When I format it using the twoside argument for the ...
3
votes
1answer
113 views

Fill section entries in table of contents with dots (using scrartcl)

I use scrartcl and I want to … have list of figures and list of tables listed in the table of contents fill the space between sections and their pagenumbers with dots in the table of contents leave ...
4
votes
0answers
67 views

How do you NOT get an index entry in the TOC?

My problem is that I don't want the automated index entry to appear in the TOC but would rather add one manually. But no matter what I try, the automated entry always appears. I have tried ...
2
votes
1answer
57 views

Difference between \insertsectionnumber and \inserttocsectionnumber

The following beamer code \documentclass{beamer} \setbeamertemplate{section in toc}[sections numbered] \begin{document} \frame{\tableofcontents} \section{section one} ...
1
vote
1answer
46 views

How to avoid marginal notes in TOC

Short Version I want to stop marginal notes from being copied to the TOC   Long Version I use LyX to write notes in class. When a lesson starts, I mention the date of the lesson in a marginal ...
2
votes
1answer
82 views

How to change the color of TOC part font using tocloft

I have customised my toc using tocloft for everything from chapter down to subsection, but I cant work out how to change the color of the part font, how do you renew this command? I have read the ...
2
votes
2answers
97 views

How to change color?

How to change the colour of the ball in which the item numbers are written?. Help me please.