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

3
votes
2answers
42 views

Using hspace before page number in contents, not aligned right

According to Robert Bringhurst (Elements of Typographical Style), leaders in a table of contents is unsightly. This question asks about one better way to set the table of contents. Another way, even ...
4
votes
1answer
45 views

Translate “appendices” from \addappheadtotoc in other languages with polyglossia

How can I translate "appendices" in Italian? \documentclass[oneside]{book} \usepackage{appendix} \usepackage{polyglossia} \setmainlanguage{italian} \begin{document} \tableofcontents \chapter{My ...
0
votes
1answer
26 views

How to stop certain pages appearing in the TOC

I need to add a couple of pages at the front of my report that should not appear in the table of contents. What is the best way to do this? I thought that maybe I could write the section normally ...
6
votes
1answer
142 views

Modify Fancy Table of Contents

I am creating a fancy ToC based on @pluton 's question How to customize the table of contents using TikZ? Although this code works fine, it seems that it missbehaves when using an appendix. Instead ...
4
votes
1answer
45 views

titletoc: section titles ragged right

I need to typeset the table of contents entries ragged right (instead of being justified): 1.2.2 Short title . . . . . 42 1.2.3 Long section title can be wrapped . . . . 44 1.2.4 Another ...
2
votes
1answer
24 views

Display of Appendix titles in TOC and in the Document

The code below produces the contents page and appendix labels shown. I would like the First line Appendixes to appear without a numnber. I would then like to have appendix 1 labelled A1 and appendix ...
2
votes
1answer
32 views

Help in hooking into the \begin{frame} environment in beamer article mode, so as to produce a list of frames per subsection

I am in the course of composing a long beamer document, which should serve both as slides for class presentation and as a mini-textbook. My document includes about 600 slides, which are partitioned to ...
3
votes
1answer
36 views

Adding small caps to toc

I would like to have the title of references and index in small caps in the table of contents, but, as you can see in the following mwe, it's not the case. Is anyone there to help me ? % book ...
1
vote
0answers
24 views

Check if a partial table of contents or list of figures/tables is empty before showing the title

I've created a command, \importchapter{<title>}{<folder>}{<file>}{<minitables>}, to import the main <file> of a chapter from a <folder> and automatically generate a ...
1
vote
1answer
19 views

Overlapping Entries on Contents Page

This related to this question: How to merge several tex files so that they have one table of contents/List of tables & figures I have been trying to get the solution by Jean Mentz to work, it's ...
1
vote
0answers
43 views

Packages to place partial TOC, LOF, LOT, LOA and LOS in some of the chapters in a report?

Context I'm doing a template for a Master Thesis based on the report class and want to achieve the following characteristics: a) Tikz-based titles, headers and/or footers b) IEEE-alphanumeric style ...
1
vote
1answer
17 views

Include sections of some chapters but not others in table of contents

The title pretty much says it all. I have a long document, which contains chapters, sections, subsections.... The table of contents should only include sections for most of the chapters, but ...
0
votes
1answer
67 views

ToC content spacing and related formatting

I'm working in memoir class and creating ToC with both short and (sometimes very) long chapter title. I need to: Adjust horizontal spacing between part\chapter number and the title so they won't be ...
4
votes
3answers
109 views

How to merge several tex files so that they have one table of contents/List of tables & figures

I have three chapters which I combine into a thesis using pdfpages: as shown in this link Merging several papers This gets me 95% of what I need the only thing I still need is a table of contents ...
0
votes
0answers
32 views

How to create a space between a subsubsection title in the TOC and the page number?

I use classic thesis and when I try to use 'mathptmx package', my table of contents does not read clearly the subsubection : indeed, there is no space between the number of the section and the ...
5
votes
1answer
27 views

tocloft: How to add chapters in a new list defined with \newlistof?

Using the tocloft package, I defined a "List of Footnotes" which is displayed as a simple list, while I would like to display the chapters, too, in the following way: List of Figures ...
0
votes
0answers
29 views

How to have TOC line point to existing section

I'm in the process of developing a program that basically compiles a bunch of PDF files into 1 book and generates a TOC. Periodically, there are items that they want to appear in the TOC that point ...
1
vote
1answer
35 views

Show page numbers in all pages of the table of contents

I have a memoir document that generates a toc that is over one page in length. The list of figures is also over one page in length. The problem is that those pages in the toc or the list of figures ...
0
votes
0answers
16 views

Font size for ToC entries in Powerdot

Any way to change the font size globally in the on the slide table of contents? When I use paper = smartboard, the ToC entries on the left of the page are really small. I can do it by slide but that ...
0
votes
1answer
30 views

List of Figures/List of Tables not compiling - Undefined Control Sequence

I'm trying to create the list of figures and list of tables necessary for my thesis. Unfortunately both refuse to work. I can compile the latex first time, which inserts an empty List of Figures. But ...
3
votes
1answer
58 views

mini table of contents in article

How can I make a mini table of contents at the beginning of an article class document to be displayed like this: To appear not at the beginning of the chapter but at the beginning of the article. ...
1
vote
2answers
45 views

Different style for frontmatter chapters in TOC

I am looking for a way to change the style of chapters in the TOC that belong to the front matter. Below I posted a minimal example code to illustrate my goal: \documentclass{scrbook} ...
1
vote
1answer
44 views

Styling ToC dot leader using emdash and other formatting requirements

I'm using memoir class and want to create ToC that: Using em dash (instead of default dot leaders) between TOC item and page number. This style should apply to both part and chapter name. Only the ...
1
vote
0answers
28 views

Set list of content and other lists single spaced

Like recommend in the KOMA-Script documentation on p 40, I want to set the spacing for all lists and my title page single spaced although I have onehalf spaced text. Now the second page of every list ...
3
votes
1answer
41 views

How to make a “meta” table of contents for a table of contents?

I'm creating a PDF which will mainly be used on mobile apps. I have a clickable table of contents via the following: \documentclass{report} \usepackage{hyperref} \hypersetup{ colorlinks, ...
0
votes
0answers
35 views

Adding the Table of Contents to the index in the PDF viewer

When I generate a PDF (with the hyperref package loaded), it generates the a navigable index in the PDF viewer (usually in the left part of the canvas). Everything works alright! but I'd like a link ...
2
votes
2answers
51 views

List of figures that have a certain “property” I set

Note: This question differs from other similar custom-list questions because each of my environments-of-interest can have multiple keywords, and I only want to generate a list pertaining to one ...
4
votes
1answer
67 views

Prefixing part and chapter names in table of contents in LaTeX report

I have a LaTeX report as follows: \documentclass[oneside,11pt]{report} \usepackage{appendix} \usepackage{hyperref} \usepackage{bookmark} \begin{document} \begin{abstract} ... \end{abstract} ...
4
votes
1answer
40 views

Including a Theorem in a section heading

Within my thesis I am attempting to number the studies listed throughout. I have used a custom theorem style for this: \newtheorem{study}{Study} First Issue I then want to use this within my ...
0
votes
0answers
23 views

Adding small caps to my bibliography title

I use classic thesis and I would like to have the title of my references in caps in the table of contents, but it is not the case. What do I have to do ? This is my preamble : ...
3
votes
1answer
37 views

How to wrap a TOC entry in custom code

I have a book in which I'm using titletoc and tocloft. I would like to be able to add some custom code to the code written to the .toc file. For example, I currently have a line in the .toc file like ...
1
vote
1answer
64 views

Configure table of contents, figures, tables for classicthesis

Hello i'm not so experienced on Latex and have one question .I am trying to configure table of contents, list of figures,list of tables since all of them appear automatically using: % book example ...
2
votes
0answers
27 views

Contents in pdf reader use a “greeklish” display when writing greek [duplicate]

I am creating a greek document using package babel. The main problem is that the contents the pdf viewer creates are not displayed in greek, but in "greeklish". Okular Adobe Reader At first I ...
0
votes
0answers
25 views

Remove ''List of Figures'' title

How can I remove the title of my list of figures? I am able to do it for the table of contents but not for the list of tables or figures.
1
vote
1answer
41 views

Put count of pages in each section in the table of contents

How would I make the table of contents display a count of the number of pages in each section, so instead of 1. Foo 1 1.1 Bar 2 1.2 Baz 5 it would show 1. Foo 7 1.1 Bar 4 1.2 ...
2
votes
1answer
43 views

Remove appendices page in ToC

i am creating my thesis report in latex.While adding appendices i am getting a page only with a string "Appendices" before Appendix A and Appendix B. The code for the appendix is as follows ...
6
votes
1answer
119 views

List of tables (or figures) by section - LaTeX

I am writing a master's thesis and I wish to create a list of tables and list of figures that is ordered by section, with the name of the section clearly displayed. The numbering of my tables (and ...
2
votes
1answer
20 views

complaints of glue length “mu”; amsart; list of definitions

So I have the following MWE: \documentclass{amsart} \usepackage{etoolbox} % Modifications to amsart ToC-related macros... \makeatletter \let\old@tocline\@tocline \let\section@tocline\@tocline % ...
0
votes
0answers
18 views

roman numbers are not correctly cross-referenced, conflict between hyperref and other packages? [duplicate]

This problem only occurs in my whole PhD thesis, and not in a MWE (shown here). Would the problem be the other packages I use besides the hyperref package? MWE code (works well, see attached image): ...
1
vote
1answer
60 views

Latex Beamer - Toc too long

I'm preparing for a master thesis defense... but my presentation is getting a bit lengthy... ...anyways when the ToC gets too long on the side it stretches over. See attached image. Any good advise ...
0
votes
0answers
39 views

Table of Content Inquiry--LaTeX

I have sections made by the code \section*{} (the asterisk to hide the section number), but when I insert a table of contents, none of the sections are showing up in the contents. I think it's because ...
0
votes
0answers
224 views

Fancy Table of Contents

How can I make a table of contents like the following? MWE: ‎\documentclass[10pt,a4paper,openany]{book}‎‎ ‎\usepackage{titletoc,xcolor}‎ ‎‎ \titlecontents{chapter}% <section-type> [0pt]% ...
4
votes
2answers
46 views

Changing the default layout produced by algorithm and algorithmic packages

If the default output of the algorithm and algorithmic packages for the following code: \begin{algorithm} \begin{algorithmic}[1] \PRINT \texttt{‘‘Hello, World!’’} \end{algorithmic} ...
2
votes
1answer
31 views

Titlesec creates entry in ToC for a starred part

I have the following code, creating section titles starting with "Section [number].", exactly as I wish: \documentclass{article} \usepackage[hidelinks]{hyperref} \usepackage[explicit]{titlesec} ...
1
vote
0answers
34 views

Leaving 2 blank pages upon compilation

I am trying to add a non numbered chapter. I have done so successfully for other chapters using the same code. The code I am using is: \clearpage \chapter*{Nomenclature} ...
1
vote
1answer
43 views

Wrong page number in contents

I am trying to add a non number chapter in the table of contents. Below are the packages already in use for the complete document. \documentclass[12pt,twoside,a4paper]{report} ...
0
votes
0answers
29 views

How can I suppress table of contents that is appearing before every slide in beamer?

How can I suppress table of contents that is appearing before every slide in beamer? I don't want to get the contents slide, but still I want the second slide highlighting current section in between ...
1
vote
1answer
21 views

Have tableofcontents as PDF bookmark, but not lstlistoflistings

I want to have the "Contents" section appear as a PDF bookmark. I have found this question, and the following generally works: \makeatletter \usepackage{etoolbox} \pretocmd{\tableofcontents}{% ...
2
votes
3answers
37 views

Missing pagenumber in bookmarks

The pagenumber from "Inhaltsverzeichnis" is missing in the bookmarks. I manually added the Inhaltsverzeichnis (TOC) with \addcontentsline{toc}{chapter}{Inhaltsverzeichnis} but it doesn't print the ...
3
votes
1answer
38 views

amsart with table of contents with “to” and “from” hyperlinks

My question (I don't know about the answer) is relatively simple. I am often obligated to use amsart documentclass and so like this post, How to do this amsart Table of Contents excluding dots on ...