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

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
42 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
34 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
41 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
103 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
338 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
50 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
89 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
25 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
47 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
69 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
84 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
187 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
191 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
46 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
110 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
21 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
44 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
74 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
215 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: ...
4
votes
2answers
106 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
37 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
123 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
42 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
29 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 ...