{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
0answers
9 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] ...
0
votes
0answers
23 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 ...
1
vote
0answers
15 views

list of figures in a separate page using LyX

I am using LyX editor and koma-script document class in order to write my dissertation. Even though TOC appears in a separate page (page 1), there is an empty page (page 2) and then my list of ...
4
votes
1answer
28 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 ...
4
votes
0answers
26 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
23 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
1answer
19 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 ...
1
vote
1answer
58 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
0answers
31 views

Too long section title in table of contents by using hyperref [on hold]

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
2answers
60 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
26 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 ...
0
votes
0answers
29 views

Chapter without tables/figures appear in LOT/LOF

My "Conclusion" chapter do not have any figures or tables. I'm using the following code in the beginning of each chapter containing a figure/table in order to get a LOT/LOF with chapter headlines: ...
1
vote
0answers
21 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
114 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
32 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
28 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
29 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
32 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
52 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
26 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
19 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
14 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
38 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
28 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
32 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
30 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
44 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
59 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
41 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
33 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
37 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
90 views

How to change color?

How to change the colour of the ball in which the item numbers are written?. Help me please.
2
votes
1answer
54 views

Remove appendix page numbers in TOC while using appendix package

I'm using \usepackage[title,titletoc]{appendix} and putting my appendices in the appendices environment. I'm trying to remove the appendix page numbers from the TOC. I've looked at the documentation ...
0
votes
0answers
19 views

How to create from xx to lastpage in table of content?

Hi, I need help on how to put the last page in the table of contents (PLEASE REFER TO PICTURE ABOVE ON THE EXAMPLE) in LaTeX ? I have searched in forums but no solution is found. Can anybody help ...
0
votes
0answers
20 views

Introduction chapter not included under chapters heading in TOC?

I am generating the toc for my dissertation and the first chapter, the introduction, is not included under the chapter heading. Any idea why this is? I am using ...
1
vote
1answer
27 views

Table of contents with subfiles package

I am writing a report consisting of 3 separate files, each include a self-contained mathematical text. I work with the subfiles package. I have created three chapters in 3 separate files and included ...
0
votes
0answers
34 views

Why does my Table of Contents print the word “Chapter”?

I'm using Lyx, and am required to add the Dedication and Acknowledgement pages to the TOC. It looks great, except that I want the TOC to say "Dedication" and "Acknowledgements" instead of "Chapter ...
2
votes
0answers
71 views

How to create additional space below Section headings followed by Subsections in the Table of Contents

I am preparing my thesis using the apa6 document class. I'm using the tocloft package to format my Table of Contents and List of Figures. In the TOC, I can't figure out how to add space BELOW section ...
1
vote
0answers
46 views

Very specifically customized sections and table of contents

I just became an editor for a bi-monthly Newsletter and we have built XeLaTeX code to generate the newsletter. This Newsletter was previously generated using Microsoft Word. We want to maintain the ...
5
votes
2answers
255 views

Dots in table of contents as on a chess-board

Is there any way to make chessboard-style dot filler in table of contents like at this image? Update: I maked some commands based on @wipet answer and put them in titlesec settings. But it's not ...
0
votes
1answer
31 views

Appendices and references as 'parts' in TOC and bookmarks

I have problems with my appendices and references which do not appear as parts in my TOC (chapter layout instead of part layout, see figure below) and the bookmarks in the pdf file (appendices and ...
1
vote
0answers
40 views

List Of Listings Overlapping Text

I'm attempting to generate a list of listings for my dissertation. The university doesn't have a standard LaTeX template, but there is a pretty good one generated sometime ago that does the trick. The ...
0
votes
0answers
24 views

Conflict between biblatex's refsection and lot/lof with citation in float caption

I'm writing a standard complex document (ie, thesis), in which chapters are separated into different files which are included. I am using biblatex, and I would like to have a separate bibliography per ...
5
votes
2answers
85 views

Do section counters need to be reset if you reset chapter counter?

The answer to this question How to remove chapter numbering without removing it from tableofcontents was given as: \newcommand{\mychapter}[2]{ \setcounter{chapter}{#1} \setcounter{section}{0} ...
1
vote
1answer
26 views

Why does my TOC appears itself below the title of “table of contents”?

I can´t understand why does Table of content name appears twice in my output document, I mean one little version of it below the title I really want. I'm using sharelatex, and Latex as compiler ...
1
vote
1answer
81 views

Table of contents is red

The problem goes away in the minimal example I created if I remove this: \usepackage[colorlinks=true ,urlcolor=blue,urlbordercolor={0 1 1}]{hyperref} However, in my real document, I have links that ...
2
votes
0answers
26 views

Latex table of content page number not contained in the margin [closed]

I have a problem with the page number format in the table of contents. I'm using a thesis style derived from book.The screenshot below shows the problem. The page number "xxxi" is outside the margin ...
2
votes
1answer
31 views

Table of Contents not symmetric with Tuftes symmetric option

I'm using the tufte-latex class and was able to change the layout with \documentclass[twoside,symmetric]{tufte-book} Unfortunately the Table of contents is still not symmetric, but always ...
5
votes
1answer
96 views

How to create a table of authorship

I am trying to create a table of authorship for a report. I want it to look like a table of contents, only with the names of the authors instead of page numbers. I haven't had any luck looking online. ...
3
votes
1answer
62 views

Custom “list of” command for lab notebook

I'm keeping my lab notebook for my PhD in LaTeX. I have it set up such that each "project" has its own chapter. When I make a new entry into the notebook I use a custom "entry command": ...