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

5
votes
3answers
74 views

Conditional list of listings - lstlistoflistings only if listings are present

As shown in this thread and this thread it is possible to conditionally create lists of figures and tables only if these items are used in a document. I would like to extends this to listings. ...
4
votes
1answer
52 views

custom listof with endash separator

I'm using floatrow to create a new environment Quadros (it means frames) but despite showing the correct separator within caption the List Of Quadros still displays a empty space instead. Just need ...
1
vote
1answer
26 views

Editing the toc page with amsbook document class

I'd like to change 'Contents' to say 'TABLE OF CONTENTS' in all capital letters. I would like for them to read as 'CHAPTER 1.' instead of just 'Chapter 1.' Also, excuse me for being too needy, I'd ...
0
votes
0answers
21 views

Removing number in front of Appendices in ToC while maintaining title on page header as Appendices [on hold]

\lehead{\mbox{\l7lap{\small\thepage\kern1em\color{halfgrey}\vline}\color{halfgrey}\hspace{0.5em}\rightmark\hfil}} \pagestyle{scrheadings} This code adds the section title and page ...
0
votes
0answers
52 views

How to change name of “part”s in table of contents

I am writing a long document with two main parts and appendices, and I am struggling to customize the table of contents. I have the following code: ...
0
votes
1answer
33 views

Non-breakable space in chapter name

How could I move last word in following example to the next row without making \newline (which will also effect ToC)? I need non-breakable space, however ~ doesn't work here at all. Thank you. ...
0
votes
0answers
8 views

Refer a figure in text [duplicate]

In some papers I have seen that, People give reference to figure and if we click on his reference it takes you to the figure (in pdf) .What is command for that please. Lets say I have a figure 2.3 in ...
0
votes
0answers
28 views

Removing CHAPTER heading for BIBLIOGRAPHY in TOC

I have the following code in my MemoireThesis.sty file for defining \thebibliography{} environment. \renewenvironment{thebibliography}[1] {\chapter*{\bibname}% ...
2
votes
1answer
43 views

add a space in \addcontentsline command for list of equations

This is a follow-up question to Creating List of Equations. I think the spacing issue happened when the equation number is greater than 9 (shown in the image). I tried to add a space with \vspace and ...
1
vote
0answers
35 views

Fix chapters being on multiple lines in the table of contents

This is the first time I am facing such a probem with latex. In my table of contents, chapters are displayed on as many lines as the number of pages required to write them. For instance let's assume ...
1
vote
0answers
32 views

Right-align LoF entries

Is there a simple way to align the RHS of LoF entries; for example using hyphenation, sloppy spacings, or similar? \documentclass{scrreprt} \usepackage[english]{babel} \usepackage[utf8]{inputenc} ...
2
votes
0answers
45 views

Is it possible to place a picture on a TOC that appears before each section?

I want to show my TOC before each section. However, I am hiding my subsections, which makes the slide look bare. Is it possible to add in a image on the right side (away from the text)? I have ...
3
votes
1answer
42 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 ...
2
votes
3answers
108 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
22 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
344 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
62 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
23 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
91 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
70 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
49 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
27 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
24 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
55 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
40 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
43 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
70 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
85 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
42 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
189 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
202 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
48 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
111 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
40 views

problem with the table of content

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
46 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
37 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
58 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
24 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
40 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
47 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
52 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
19 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
45 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
222 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
98 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: ...