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

3
votes
1answer
65 views

Overlapping numbers and titles in toc

How can i change formatting of the table of contents to avoid section numbering and section title to overlap? Document: \documentclass[10pt,oneside,notitlepage]{book} % Use Heuristica Font ...
0
votes
0answers
57 views

How to delete the prefix 'figure" from LoF [duplicate]

Even though I searched my problem, I could not find any answer. I'm really bad in LaTeX and I barely know few packages of the complete set of packages used. Anyway i use a book document and my list of ...
3
votes
3answers
123 views

KOMA-script: Add word “Part” and “Chapter” in ToC

How can I add the word "Part" to the part entry and "Chapter" to chapter entries in the ToC? \documentclass[chapterprefix]{scrbook} \usepackage[english]{babel} \begin{document} \tableofcontents ...
2
votes
1answer
23 views

How to list all items defined in a predefined enviroment

Code is: \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{fancyhdr} \usepackage{pgfplots} \usepackage[letterpaper,left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry} ...
10
votes
2answers
360 views

How to get a very compact TOC

This is how the original TOC looks. This original format of the table of contents takes too much space. I wanted some format that is compact and found this sample. I am also searching for other ...
2
votes
2answers
63 views

Text next to page number in table of contents

In my (sub)section title I use \hfill to add some text to the title on the right side of the page. I want this text to also show up in the table of contents next to the page number. This works well ...
1
vote
1answer
51 views

List of Used Programs

Is it possible to make a page or an entry like "List of Figures" or "List of Tables" but I would need it for "Used Programs". I just would like to to have a list where all programs that we used are ...
0
votes
1answer
24 views

Include Page Numbering into Table of Contents Hyperref

I want to make the page number listed in table of contents also clickable. Does anybody know how to do this? At the moment I use the following code to hyperlink my table of contents. ...
4
votes
2answers
95 views

How to change numeration in ToC

I've got a problem while trying to figure out a structure for report document. At this moment I have: \chapter[Chapter 1]{} \section{Section 1} \subsection{Subsection 1} \subsection{Subsection 2} ...
1
vote
2answers
77 views

\section*[toc]{normal section title} not working for me

for my thesis I want to have a section appear differently in the ToC than in the text. After googling a bit, I found \section[short]{long} as a proposed answer, but this does not seem to work for me. ...
0
votes
1answer
51 views

\addxcontentsline causes empty to part of mdframed box before page break

I’m using mdframed to surround an own environment called {myenv} (for this example). And this environment is setup as a trio list and uses \addxcontentsline to write a list of these environments (I’m ...
3
votes
1answer
29 views

tag based table of contents

Is it possible to create several table of contents with redundant entries based on special tags next to a full table of contents? Let's assume a book full of short stories for kids. There are 5 ...
1
vote
0answers
28 views

Lists of figures in Contents page

I use document class report in lyx. I want to add list of figures, tables, algorithms & Abstract as items in the table of contents page. In the forum, I read a post to change the settings in ...
3
votes
1answer
30 views

Adding just chapter label and number, without the title

I am trying to create the following ToC with titletoc package: Chapter 1 .......... 1 Chapter 2 .......... 10 Chapter 3 .......... 20 The titletoc code is the following: ...
1
vote
0answers
27 views

Multiline hyperref in list of of tables

I have a problem with proper formatting of too long labels in list of figures with hyperref. It works fine if the label is short (one line). But if it breaks to another line, the hyperref is not ...
1
vote
1answer
58 views

How can I change the alignment of pagenumbers of TOC using documentclass{scrbook}?

I'm using a template I've found and now I would like to change the Table Of Contents. I'm using the following document class. ...
2
votes
2answers
41 views

How do I force the urls in my references to wrap at the end of the line?

As you can see in the picture above, the small caption for my images is not working well. In source code it looks like this: \begin{figure} \begin{center} ...
2
votes
2answers
44 views

how to use a figure in the table of contents instead of a title

I would like to use a figure (small icon) for a special section in the table of contents. Do you have any suggestion? typically I use \addcontentsline{toc}{section}{Name} for making the references ...
2
votes
1answer
79 views

How to make an entry in the table of contents for the bibliography

Question In a document of class scrartcl, I would to make an entry in the table of contents for the bibliography. Currently the table of contents contain entries for any notation of \section{} and ...
2
votes
1answer
92 views

How do I make my section uncounted but listed in the table of contents?

I was asked to have my Introduction and Summary section uncounted. However, if I use \section* it doesn't appear in the Table of Contents which is undesired. EDIT: The proposed solution doesn't work: ...
1
vote
1answer
44 views

appendix instead of chapter in table of contents

In the table of content, I want to have Appendix A instead of chapter A, Appendix B instead of chapter B, and show on. I can't show this when I use \include{appendix}. Following is my code: ...
5
votes
3answers
208 views

Table Of Contents Title In Uppercase Letters

I have generated a Table of Contents in a document and I would like to make the title "Contents" in uppercase letters, i.e. "CONTENTS". All I have found searching was how to customize the entries in ...
1
vote
3answers
305 views

Table of contents in scrbook/komascript: add dots to chapter titles

I need to customize the appearance of my table of contents according to the requirements of a publisher. Here is a minimal example of what it looks like right now: \documentclass{scrbook} ...
2
votes
2answers
59 views

Changing the title of table of contents in lyx

I've already tried to follow the answer here: How to change the title of ToC? by using \renewcommand{\contentsname}{Whatever} However, it does not seem to work with lyx, neither in the preamble nor ...
4
votes
1answer
124 views

How to change the font style of elements in KOMA-script?

Is there a possibility to change the font-style in the table of contents? Everthing I wrote down in my document was written with Times. However, the ToC does not have the same font family. Is there a ...
0
votes
1answer
43 views

problem with the table of content [on hold]

I have a problem in my PhD report : in the introduction page, I got "sommaire" on top of page in place of "introduction". I try with \newpage and \clearpage. But the i got always the same problem. ...
1
vote
1answer
49 views

Second ToC with per-chapter author

I am currently writing a larger document with multiple people. For grading purposes we need to specify one author per chapter/section/... However, I would like to keep the real ToC clutter free, and ...
2
votes
1answer
39 views

Two list of figures

I'm trying to get two separate lists of figures. Ones are the figures containing some plots created using tikzpicture like: \begin{figure} \begin{tikzpicture} \begin{axis} ... ...
2
votes
1answer
67 views

Redefine `\section*` so it behaves *exactly* as `\section` except leaves out the number

There's any number of variations on the question "How do I get my unnumbered sections into the table of contents?" ... Creating unnumbered chapters/sections (plus adding them to the ToC and/or ...
0
votes
1answer
27 views

BibLatex: Entry in ToC either displays wrong page or links to wrong page

In the following MWE, the Bibliography entry in the ToC links to page 3 instead of page 5, where the Bibliography is. If I first \printbibliography and then \addcontentsline, then the entry in the ...
1
vote
0answers
41 views

Hide irrelevant numbers in ToC [closed]

I have a question concerning the numbering of sections in my file. I use the article class and tocloft to format my table of contents. The relevant commands are: %customize table of contents ...
2
votes
1answer
48 views

How to make TOC sections apper in pdf as bookmarks?

I am very new to Latex. I am trying to make my thesis paper in latex as now. I am using the mwart documentclass. I dont know either it is a documentclass specific thing, but the items i have in table ...
1
vote
1answer
60 views

Mini TOC next to chaper

I would like to place a mini table of context directly next to the chapter like in the following. For compatibility reasons the toc should be created using titletoc as suggested in this answer. The ...
0
votes
0answers
20 views

How do I add list of my own floats to the table of contents?

I have the following MWE: \documentclass{book} \usepackage{float} \usepackage{newfloat} \DeclareFloatingEnvironment[ fileext=loa, listname=List of A, name=FloatA, placement=tbhp, ...
4
votes
3answers
75 views

Manual input of table of contents file (\jobname.toc) empty in some circumstances

According to Using .toc external files, the following file should display the table of contents twice: \documentclass{report} \begin{document} \tableofcontents \chapter*{Contents (manual input)} ...
4
votes
1answer
47 views

Why do my lists of floats get collapsed?

I defined two types of new floats, but when I try to list each of them separately, they get collapsed into the same list. Here is an MWE: \documentclass{book} \usepackage{float} ...
4
votes
1answer
272 views

Minitoc of wrong chapter

I'm writing my Thesis and I want the general table of contents at the beginning of the document and the toc for every chapter at beginning of every chapter. For doing so I use the minitoc package. If ...
5
votes
2answers
124 views

Document doesn't show the list of figures (LaTeX)

I have the problem that LaTeX doesn't show the List of figures and List of Listings. I don't know where the problem is. I'm working with TeXstudio and the code was defined as follows: ...
3
votes
2answers
123 views

How can I put a minitoc before a chapter, on the facing page?

I'm writing a large book, using minitoc to put a small table of contents at the start of each chapter. But it looks terrible. I would like instead to put the minitoc on the facing page before the ...
3
votes
1answer
41 views

How to hide subsections in the table of contents?

I have a table of contents (\tableofcontents) in my document. How can I hide subsections in it? I want that only names of sections are displayed there.
3
votes
2answers
124 views

How to get a page number of a section/subsection?

I have a document and I want to customise Contents of it, so I don't want to use \tableofcontents, instead of that I just want to get number of pages of sections and subsections and put them in to the ...
0
votes
0answers
12 views

Make cross references and table of contents linked, clickable objects [duplicate]

I'd like to ensure my PDF is easy to navigate so is there a way to have the TOC allowed to be clicked to get to various chapters and sections, similarly with the cross references to allow jumping ...
3
votes
1answer
60 views

Hide sections of specific chapter from table of contents

How do I hide all the sections and subsections of one chapter from the contents page? What I want is if I have this: \documentclass[12pt, a4paper, draft, titlepage]{report} \begin{document} ...
2
votes
1answer
35 views

Using the secdot package, display dots also in the ToC

My requirement for section numbering is as follows: 1. Section foo 1.1 Subsection foobar 1.1.1 Sub-subsection barfoo 2. Section bar etc. The important thing is the dot after the section numbering, ...
2
votes
1answer
45 views

How can i add a line to contents?

I'm a beginner of LaTeX,recently I'm using the tableofcontents and {titletoc} to custom my contents,but here is a problem that confuse me a long time. How can i make a line like this?(which follow ...
8
votes
3answers
89 views

Section title formatting also in the toc

I have searched the web to no avail trying to figure out how to redefine the section title format in a way that will be transmitted to the way that same chapter appears in the Table of Contents. I ...
0
votes
0answers
100 views

fancyhdr and headings in table of contents, bibliography and so on

I want to change the headings in my document with fancyhdr in my document to be bold and lower case: This is quite easily done by using fancyhdr: \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} ...
1
vote
1answer
71 views

Unbold frontmatter chapter names in table of contents [duplicate]

According to the thesis guidelines set out by my university, the Chapter names in the table of contents must be bold. But all sections in the prefatory sections must be normal font (unbold) in the ...
1
vote
0answers
64 views

KOMA-Script: Wrong alignment of roman numbers [duplicate]

I'm encountering the same problem as in "roman numbers too wide in table of contents" and in "In table of contents, long page numbers intrude on right margin despite plenty of available space". I'm ...
1
vote
0answers
70 views

Change font in List of Figures? [closed]

Im trying to change the font in both the list of figures and list of tables. Its the only part of the document that I am failing to change. Im trying to make all headings throughout as seen in the ...