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

6
votes
1answer
63 views

Insert title of table of contents into toc

I have a little bit of problem. I have to put the title of toc into toc. I've used the following code to do that and it works for me, kind of. The problem is in the title is aligned with the titles of ...
2
votes
0answers
31 views

LaTeX List of listings name in front of number [duplicate]

I am having problems with LaTeX specifically using listings package. The first one is I want to add the word "Código" in front of number of Listing in List of Listings. For example List of ...
1
vote
1answer
65 views

two different lists of figure in the same document [duplicate]

I'm writing my Phd thesis with parts chapters and sections. It is divided in two very different subjects of research and I'd like to have a clear separation in the document and in the Table of ...
4
votes
2answers
183 views

Replace (change) “Chapter 1” to “Chapter ONE” without affecting lof and lot

I used the answer given here Replace (change) "Chapter 1" to "Chapter ONE" but it only should be in case without a following list of tables (lot) or figures (lof). When used as it ...
2
votes
2answers
42 views

how to add the reference to the content? [duplicate]

Today ,I use the \tableofcontentsto yield a content ,however ,it lacks of the reference . My trial \documentclass{ctexart } \begin{document } \addcontentsline{ toc }{ section ...
5
votes
2answers
65 views

Left & Right text on title

I'm trying to have in a subsection title, a text on the left and another on the right, on the same line. Here's what I did: \subsection {Right Text \hfill Left Text} It works fine, but on the ...
4
votes
1answer
92 views

Table of contents without \section, \chapter, etc commands

I was wondering if it is possible to get a list of the bookmark from this MWE: \documentclass{article} \usepackage{tikz} \usepackage{blindtext} \usepackage{hyperref} ...
2
votes
1answer
43 views

Same input file twice, error in table of contents

I'm having some difficulties with my table of contents. I want my conclusion to be in the start of the document and in the end. To do this I've included the same input file twice as you can see here ...
1
vote
1answer
136 views

Beamer: \AtBeginSection doesn't agree with ignorenonframetext

I'm following the advice in the Beamer user guide to produce slides and printed material from the same source using the beamerarticle package. The user guide recommends using the class option ...
6
votes
2answers
121 views

Remove the chapter numbers but display the titles in the table of contents in the book

I want to remove the title "Chapter 1" , "Chapter 2" , etc. in the book class and keep only the chapter name as the title and also update this in the table of contents.But when I give chapter* it does ...
1
vote
0answers
43 views

How to suppress the hanging-over text part of a section title within the table of contents?

My question is, if there exists a method to suppress hanging-over text elements in the table of contents. Below you will find my MWE. Thanks a lot for your solutions and comments! ...
0
votes
0answers
39 views

Changing the section navigation from vertical to horizontal

I like to use the Malmoe theme in the beamer class. However, I would rather have the header navigation for the sections horizontal instead of vertical, so that it takes less space.
3
votes
1answer
72 views

Strange behaviour on redefining \contentsname

I'm using amsart class. I know how to change the value of \contentsname (default is Contents). We can make use of \def or \renewcommand. But I'd like to know why it does not work if I use those ...
4
votes
2answers
69 views

Removing subsection numbers in table of contents

I'm using the report style. I'm using \subsection* to suppress the numbers that would otherwise appear before my subsection text. I'm generating a table of contents using setcounter{tocdepth}{2} ...
1
vote
0answers
39 views

Table of contents looks bad with package chngcntr

I'm using the package "chngcntr" to restart the chapter count in each part of my work. It's working just fine. However, in the table of contents, the chapters and all other sections numbers overlap ...
5
votes
1answer
116 views

list of pdf pages

I need to add quite a few extra pdf files at the end of my report. Is there a way to create a list of these pages (named list of evidence) following the table of contents? Edit to question: I have ...
0
votes
1answer
68 views

Page is numbered on ToC but not on the page itself

you guys. I am working on my thesis and facing an annoying issue: I have to number the pre-Chapter1 pages with roman numbers and, after that, with arabian numbers. I've already tried several solutions ...
4
votes
1answer
228 views

Left margin of table of contents in beamer

I'm making a presentation with the beamer class, and I use the theme Madrid (with default settings). After having completed some frames I noticed that the left margin of the contents page is much ...
1
vote
0answers
28 views

On the tableofcontents [duplicate]

I know that we can use "\tableofcontents" to list all the contents of the article. However, if there are so many subsection for example, how then can I get the contents as follows: complex ...
2
votes
1answer
83 views

How can I create two table of contents for a solutions packet, with one of them being sorted by “topic”?

I am using the extbook environment to create a solutions manual. I would like two table of contents on this document: one of them created the "traditional way," i.e., \tableofcontents with ...
2
votes
1answer
146 views

Cover pages for References, Appendix; fit them nicely in TOC

Would you please take a look at this? If I ask piecemeal questions, solutions seem to break each other. Please advice. I 'm trying to finish a thesis according to school requirements. Thesis has ...
9
votes
1answer
44 views

Limit \listoffigures to several chapters of an entire book?

I use book class and have several chapters in it. However, I want to limit the number of chapters that are included in \listoffigures to less number then there actually are chapters. How could this be ...
3
votes
1answer
84 views

tocloft moving toc onto title page below abstract

I am using the tocloft package in order to reduce the space between the toc header and the table of contents itself. However, the package is causing the table of contents to move up onto the title ...
7
votes
1answer
140 views

How to add a line to the Table of Contents without a page number

In my LaTeX document, I want to add some extra lines in the Table of Contents to show the general topic of the next section of chapters. The syntax I'm using right now, outlined in a quick example: ...
5
votes
1answer
147 views

Minimum space between last word and page number in the table of content

y question is, whether there is a solution to define a minimum blank space (length: three dots) between an entry's last word and the its page number within the table of contents? Thanks a lot! ...
2
votes
0answers
23 views

Undesired vertical space in List of Figures [duplicate]

How to get rid of that vertical space between caption titles? (space between the second line and the third line). The figures come from different files that have been \input'ted ; using \include ...
2
votes
1answer
58 views

TOC edit the numbering from the part section in the TOC

I am very new to Tex, I am working of a template that someone else has given me. I am try to change the /part{Part I: my stuff} from looking like this in the TOC 1 Introduction I Part I: my ...
2
votes
1answer
57 views

custom text in “list of figures”

I am using a template for writing a long document. It automatically creates a list of figures at the start. In the list every entry is nothing but a caption of the figure. In some figures caption ...
5
votes
1answer
65 views

Strange error related to \verb in section titles

I'm writing a document about LaTeX, a sort of guide for my classmates. I've transported the here present practice of distinguishing code from text (backticks and 4-space indenting) by using \verb to ...
5
votes
2answers
76 views

Suppressing section name in table of contents

I'm trying to have a TOC like so: Name of part Name of Chapter Section 1 ..... page Section 2 ..... page I don't want the section's name to appear anywhere in the TOC. I want it hidden. I've ...
2
votes
0answers
104 views

Subsections of one section do not appear in TOC (LaTeX beamer mode)

I'm trying to prepare a presentation using LaTeX's beamer mode. For some reason the subsections of my last section do not show up in the TOC. Here is my MWE (incl. all the packages I'm using): ...
2
votes
1answer
61 views

Use hyperref without any link coloring, and with dotted TOC lines

Currently, my document is of the following form: \documentclass[11pt,a4paper]{article} \usepackage{hyperref} \begin{document} \tableofcontents \section{Introduction to Problem} There is the ...
0
votes
0answers
53 views

I have two TOC - but one can´t be removed -

I have a TOC even but I did remove the \tableofcontents. If I add \tableofcontents I get TWO TOC but with diff "view"... One can't be removed.. How do I remove the unwanted toc? This TOC has no ...
0
votes
0answers
34 views

ToC and lists of theorems (XeLaTeX) [duplicate]

Why is it that if I make a change that should be reflected either in a table of contents or in a list of theorems, I need to typeset twice before getting the change reflected? My TeX Live utility is ...
0
votes
0answers
68 views

MikTex TOC links incorrect when setting title

When I generate a document with toc and a title by adding the lines: % Book Name % by Author Name The toc links to the book are all off. I'm running the following command: pandoc --toc ...
5
votes
1answer
90 views

Memoir: skip section numbers, make subsection numbers continuous within chapter

Can the memoir class create a reference book whose table of contents would look like this: Chapter 1. Animals Mammals Cows ................... 1.000 Bulls .................. ...
2
votes
1answer
78 views

Lists of Theorems (XeLaTeX)

I've found out how to use the thmtools package to make lists of theorems. My questions on this are: Adding [name=xxx,label=thm:...] after \begin{yyy} (xxx is a title for the theorem, ... a label ...
4
votes
1answer
186 views

KOMA-Script (scrbook): onecolumn table of contents & minitoc in twocolumn document

I have problem with formatting of my tables of contents. Please see my MNWE below. I would like to switch all of my tables into one column layout. I try to use solution from this tex.stackexchange ...
4
votes
1answer
38 views

Table of contents and Cross-referencing in multiple chapters

This is a follow-up to the question Cross-referencing in multiple chapters. Following the answer to this question, I am using the following macros: \newcommand*\maybechapter[1]{% % Tests if ...
2
votes
0answers
131 views

Chapter and its name not on the same line

Sorry for being unclear. I am a LaTeX beginner and have been struggling to place the chapter name with its number on the same line where chapter is. This is how it should be: The code itself was ...
11
votes
1answer
146 views

Custom chapter heading

I'm currently writing my thesis, using the book class. I am trying to display the table of contents in this manner: And each chapter is displayed this way: I'm fairly new to latex and this is my ...
5
votes
1answer
97 views

Add table titles from captions in scrreprt class

I am badly looking for a way to give all my tables the same title in the document, that is used in the list of tables via caption[title]{long description...}. The reason is that my tables originate ...
2
votes
1answer
82 views

How can I automatically typeset a list of (theorem-like) definitions?

I've defined two custom types of theorem-like environments: definition and example. I now want to automatically typeset a list of such environments present in my document. The output I'd like to get ...
3
votes
1answer
56 views

Using a font sizing command in \addcontentsline does not work for ccfonts or cmbright

If you comment out \large in the code, it works. The toc level doesn't matter. Any thoughts? \documentclass{article} %\usepackage{ccfonts} \usepackage{cmbright} \begin{document} ...
5
votes
1answer
136 views

Numbering the list of figures in the table of contents

So I'm having a slight problem with the \listoffigures command and the way LaTeX makes the table of contents. In my preamble I'm using \usepackage[nottoc,numbib]{tocbibind} because I want to include ...
2
votes
0answers
80 views

How to display partial TOC (only one section at a time)?

I already know how to print an Outline with only the current section. What I'd like to do is to have an Outline slide with some extra info (for instance, a publication) below each section of TOC. I ...
2
votes
0answers
58 views

Number wrong in the Table of content [closed]

I have a problem with the ToC numbering in the following example: \documentclass[12pt,english]{report} \usepackage{setspace}\onehalfspacing \usepackage{titlesec, blindtext, color} ...
3
votes
1answer
91 views

Table numbering and listing in table of appendices instead of TOC

I am using a list of appendices based on this thread: Appendix in scrreprt - Separate table of appendices but mentioned in original TOC This works perfectly fine. But I realized I don't intend to ...
1
vote
0answers
29 views

Separate sectioning titles for main text, headings, and toc for line breaking purposes

I am using the titlesec package with the toctitles option, which modifies the optional argument of sectioning commands so that this optional argument is used only in headings; the non-optional ...
4
votes
1answer
83 views

Appendix in scrreprt - Separate table of appendices but mentioned in original TOC

I tried to find solutions to this particular case, but I wasn't able to. What I want to achieve is to create an appendix in the following class: \documentclass[a4paper, 12pt, headsepline, ...