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

1
vote
0answers
26 views

Hide irrelevant numbers in ToC

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
19 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
19 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
9 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
49 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)} ...
0
votes
0answers
20 views

Empty List of Tables header appearing in the wrong place with main matter

I'm writing a long thesis and the List of Tables 'header' appears on the first page of the main matter. The List of Tables has already been displayed after the table of contents, but only the header ...
3
votes
1answer
26 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
119 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 ...
4
votes
2answers
53 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
66 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 ...
0
votes
0answers
33 views

Removing Boldface From Table of Content

I am a frequent user of ShareLaTex but I don't think I am a power user. Currently I am typing my thesis's table of content and looking for ways to (a) remove the boldface and, less importantly, to (b) ...
3
votes
1answer
32 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
112 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
11 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
18 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} ...
0
votes
1answer
19 views

Table of tables line spacing large [closed]

I've noticed an odd line spacing in my table of tables compared to my list of figures. The table of tables didn't used to look like this:
2
votes
1answer
12 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
36 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
63 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
44 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
17 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
53 views

KOMA-Script: Wrong alignment of roman numbers

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 ...
0
votes
0answers
14 views

Combine: How to reference a paper in the introduction

In the table of contents that combine generates, I would like the paper names to include numbers: 1 First paper 2 Second paper Then, in the introduction, I would like to refer to them: In Paper ...
0
votes
0answers
31 views

How to remove dots in front of appendix in table of contents?

It may this question be considered as a duplicate one, but it is not. Please read it then decide. I've spent lots of time to solve this annoying problem. I'm going to submit my thesis, but university ...
1
vote
0answers
32 views

Change font in List of Figures?

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 ...
4
votes
1answer
50 views

Special package combination gives “No room for new \write.”

In my special package combination I get the error No room for new \write. \tablecontents and Bad number (16). \tablecontents. The following MWE throws this error in pdflatex and lualatex with TeX Live ...
1
vote
0answers
42 views

Tableofcontents section and subsection don't fit in ToC page

I’m experiencing some unusual behavior in the ToC of my document. The section and subsection are out of page and there are no dots from the title to the number of page. I tried several solutions like ...
1
vote
1answer
11 views

How to line up entries when using cftchapternumwidth in memoir document?

I'm using cftchapternumwidth and cftchapteraftersnum to insert some spacing between the section numbering and titles in the table of contents of a memoir document. It works great except that it turns ...
1
vote
1answer
48 views

How to create table of contents if I don't have section at all?

I have almost 20 pages document where no \section, \subsection and etc. The reason is it should have plenty of enumerators. Currently the deepest level is 3 - XX.XX.XX. I have done all this stuff with ...
1
vote
1answer
20 views

How to right-align section numbering in a memoir Table of Contents?

I'd like to right-align the section numbers in the Table of Contents of a memoir document. I'm already using some tocloft features and figured it would have this feature, but I can't seem to find it. ...
3
votes
1answer
48 views

Publication list in Ph.D. thesis

I am writing my Ph.D. thesis and I would like to add a list of the publications my thesis is based on. I would like the list to be in the first pages of the thesis, so I put it at the end of the ...
0
votes
1answer
33 views

Remove numbering from Table of Contents, List of Figures, List of Tables [closed]

In my document on Overleaf, chapters should have a numbering. That's working fine so far. Sadly, after I adjusted the numbering of chapters the table of contents, list of figures, etc. all got a "0" ...
1
vote
2answers
37 views

Hiding sub-entries in the TOC but not the heading

Consider the following MWE: \documentclass[ms, 12pt]{kfupm_thesis} \usepackage{apptools, etoolbox} % code to fix TOC appendix format, irrelevant for this question \makeatletter ...
0
votes
0answers
10 views

! Missing control sequence inserted & ! Missing \endgroup inserted [duplicate]

I have a big problem with TeX: when I add the \listoftable or \listoffigures, my TeX gives me this list of errors: ! Missing control sequence inserted.\inaccessible ...are plate.\relax ...
0
votes
0answers
8 views

References in section text but appearing next to section heading

I am using Bibtex and want the references to appear next to the section heading. If you put them in the heading the references then appear in the TOC. As a result instead of being references [10] ...
5
votes
1answer
44 views

Packages to print tabs on page border

What are the different packages available to print tabs on page borders like this ?
1
vote
0answers
41 views

How to solve the error: No counter 'sectionpage' defined

I'm trying to use this answer from a previous question to get frame numbers in a table of content in a beamer presentation made in RStudio with R Markdown and knitr (see file below; in in_header.tex ...
3
votes
2answers
40 views

How can I create 2 TOCs: one short one and one comprehensive one with LyX?

I have a document (class = Book (Standard Class with Extra Font Sizes)) with many sections, subsections, and subsubsections. Therefore, I would like a "summary" TOC with only Part and Chapter shown. ...
0
votes
2answers
24 views

How can I add the roman page number of abstract and acknowledgement into table of contents?

In a table of contents the page number first starts from the "Introduction" page. I want it to start from "Abstract" using \section not \chapter. How do I achieve that? \documentclass[11pt]{article} ...
0
votes
1answer
31 views

Bibliography as \section and included in Table of Contents [duplicate]

Previous questions (chapterbib as section not chapter et al.) have considered how to include bibliographies at the end chapters. This question concerns bibliographies at the end of chapters when ...
0
votes
0answers
25 views

What's the right way of making my table of contents fit on the title page?

I'm writing a document with the article class. I have a not-so-short but not-so-long table of contents, which I would like to place on the title page, under the \maketitle. My problem: It spills over ...
2
votes
0answers
49 views

How can I costumize the ToC for 2 different types of chapters?

I already have ((re)new)defined a 2nd type of the \chapter macro for I have two different types of chapters. But they have one counter, which appears for every chapter in ToC. Here's a MWE: ...
2
votes
1answer
31 views

Alignment of \dotfill or \(c/x)leaders to page numbers wtih different amount of digits

I need to create something similar to Table of Contents manually. For that I need dot leaders to go from text of the "chapter" to page number of this "chapter". I tried to use either \dotfill, ...
0
votes
2answers
31 views

Making bold subsection-headings in math, but not bold in ToC

I am writing in the document type article, and I wish to have my subsection appear in bold itself, but appear normal in the ToC. I am trying to write a chemical formula, which automatically converts ...
0
votes
2answers
52 views

Combine multiple documentclasses; maintain page numbering and structure for TOC/TOF

I'm writing a thesis that includes two articles. The institution provided a style file for the thesis; the articles use IEEEtran. Furthermore, the used packages in each document may differ ...
1
vote
1answer
29 views

Bold incorrectly applied to Table of Contents

I am using the report class in TeXworks/MiKTeX and was provided with a style that is a little out of date. I am having trouble with a bold section format being transferred from a page into my Table of ...
1
vote
1answer
31 views

Table of Contents from multiple files

I have a main document referring to four files and want to create a ToC with the titles of these four files as well as their structure. Here`s a MWE for my main file: \documentclass[a4paper, 12pt, ...
0
votes
1answer
18 views

How to set chapter number as roman in title page but become arabic when stack with section numbering?

I have a problem for my thesis formatting. Can we possibly set chapter number as roman but become continuously arabic when stack with section number like this? (never mind the page numbering, I guess ...
0
votes
0answers
16 views

Roman numbering in tableofconents is tricky [duplicate]

I've using Roman numbering in my appendix etc. \pagenumbering{Roman} but in my \tableofconentents there is something like in the picture. Does anybody know why this is so?
2
votes
2answers
26 views

Grouping Together Sections in TOC

I am reviewing a series of documents and have created a report that looks like this: \chapter{Interesting Things} \input{thing1.tex} \input{thing2.tex} \input{thing3.tex} where the thing*.tex each ...