{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
1answer
57 views

Disable `colorlinks` locally (or just for the ToC)

Basically, I want to disable the colorlinks option (from the hyperref package) for the ToC, but keep it enabled for the rest of a (memoir) document. This question has a workaround based on issuing ...
8
votes
2answers
105 views

How can I print the table of contents multiple times in my document?

I am using also titletoc to improve how my table of contents. I would like to print the table of contents several times. How can I do it? It does not work in the MWE: \documentclass{article} ...
5
votes
1answer
88 views

Scanning all the siunits in a document

When the macro \tableofcontents, is given it takes all the chapters, parts, sections, ... and generates the Table of Contents for the Whole Document. Even the \listoftables and \listoffigures do that. ...
0
votes
0answers
53 views

Adding bibliography to table of contents in scrreprt, using biblatex and biber [duplicate]

EDIT: The cause for the problem described below was that the .bbl file was being emptied every time the document compiled. I'm attempting to add my renamed bibliography as an unnumbered top-level ...
4
votes
1answer
49 views

Latex Table of Content problem with Space

The problem is space of table of content as it can be seen form the diagram. How to specify the same space for each section and subsection and update table of content accordingly. Thank you very ...
3
votes
1answer
80 views

Undefined control sequence on \cftaddtitleline

The following code produces ! Undefined control sequence. \documentclass{article} \begin{document} \tableofcontents \cftaddtitleline{toc}{section}{Topic 1}{} \end{document} What am I doing wrong? I ...
1
vote
0answers
58 views

Beamer: how to make each frame appear in the PDF ToC and add a bibliography

I want to build on the solution of this answer, to create a ToC for the PDF, by adding a bibliography in the last slide. It seems nevertheless that the bibliography interferes with the table of ...
2
votes
2answers
62 views

margins or line breaks in koma-script table of content

Entries in my KOMA-script TOC spread too close from the page numbers: One solution is to use a short title and insert in it a line-break, but this is not an acceptable solution. I am trying to ...
5
votes
1answer
233 views

How can I get a table of contents as below (triple page numbers)

I want to typesetting a problem book with hints and solutions. I want to get a TOC as TABLE OF CONTENTS Problems Hints Solutions Chapter 1 ...
4
votes
1answer
83 views

\lstlistoflistings causing error

my problem is, I added some listings to my Tex document. On the first run everything went fine and all was shown. After the second rerun, it does not compile anymore. Error: !Paragraph ended before ...
33
votes
2answers
1k views

How can I reproduce this beautiful table of contents?

I stumbled upon this TOC today: I really like its structure and simplicity. The page numbers are right behind the entries, and not unnecessarily remote as they often are. The separation between ...
4
votes
1answer
83 views

Apply Chapter heading style to table of contents/bibliography heading

I am using the following fancy styles for chapter headings \documentclass[12pt]{report} \usepackage{graphicx} \usepackage{natbib} \usepackage[hidelinks]{hyperref} \usepackage[% ...
2
votes
1answer
41 views

Contents Table in beamer squeezing distances

I would like to squeeze the table of Contents in beamer from the top. Also, I would like to increase the horizontal distance for subtitles as the following picture This is my code. Please suggest ...
5
votes
1answer
70 views

How to indent subsection in AMS TOC

I used AMS LaTeX template with gsm-l package to write my teacher's book. The table of content that produced has the following form: in which 1, 2, 3.... are sections and 3.1, 3.2, 4.1, 4.2,.... ...
2
votes
1answer
66 views

Aligning item numbers in the table of contents

I am taking notes on a textbook, and want to mimic the style used in the book. I have gotten very close, and only have one minor issue left to fix. Consider the example below. The only thing that I ...
3
votes
2answers
87 views

LaTeX table of contents header spacing

Here is my issue. The code below, which I found on a pdf devoted to memoir class title pages, compiles to form this: Unfortunately, the Table of Contents is a bit too low for my liking. I'm hoping ...
0
votes
0answers
57 views

Table of Contents is writing over itself

First things first I'll give you a simplified version of my code for clarity. \begin {document} \tableofcontents \section*{Words} \addcontentsline{toc}{section}{Words} \begin {bibliography} {99} ...
3
votes
1answer
40 views

Identical marks in header with onesided memoir

I'm using memoir for an onesided document, but I wanted to have both the chapter and section numbers and names in the header. I'm using this to achieve it (from Including both chapter name and name ...
4
votes
2answers
63 views

Remove List of [newfloat] from TOC

I'm using the package newfloat and I've added a new figure: \DeclareFloatingEnvironment{dirfigure} Now when I use \listofdirfigures - the list is added to the Table of Contents. With normal ...
4
votes
1answer
40 views

automatic new page when using \tableofcontents etc [duplicate]

I use \documentclass[12pt,openany]{book} on a MAC 10.9.2 running LaTeX TeXshop 3.35. How do I suppress the new page command which seems imbedded in the macros \tableofcontents, \listoffigures, ...
1
vote
1answer
69 views

Writing Chapter Prefix for Chapter entries in TOC

I am looking for the code that allow me to append prefix "Chapter" to Chapter Entries only not for the front matter like Abstract, Declaration and also not for the Bibliography and appendices. Here ...
3
votes
1answer
100 views

“Literal” and numerical numbering of chapters

I ask another question related to this one "Literal" numbering of chapters but not in contents which was not "precise"... This question is the exact one, with an example... This example ...
1
vote
2answers
229 views

Reactivating “\clearpage” in LaTeX after turning it off with “\let\clearpage\relax”

My document has a table of content in it. As i found out, after inserting one (\tableofcontents) LaTeX does a \clearpage by default. A method to ignore \clearpage is the command \let\clearpage\relax, ...
2
votes
1answer
72 views

“Literal” numbering of chapters but not in contents

Thanks to this macro \makeatletter \let\old@makechapterhead\@makechapterhead \def\@makechapterhead{\def\thechapter{\words{chapter}}\old@makechapterhead} \makeatother ...
5
votes
1answer
49 views

Authors in the table of contents

I want to insert Names of authors in the toc (above the chapter title) like here: but the suggested methode doesn't work in the scrreprt type of document. ...
4
votes
1answer
34 views

Is it possible to hide chapter numbering for non-chapter headers and TOC listings

I'm writing an edited collection of essays using a Scrivener-MMD-latex workflow (using the memoir class) and would like to hide chapter numbering for all items that aren't actually chapters. Here's a ...
4
votes
1answer
85 views

How to adjust tableofcontents?

How Can I adjust \tableofcontents in this way ? \documentclass[12pt,a4paper,x11names]{article} \usepackage[spanish]{babel} \usepackage{lipsum} \usepackage{blindtext} \begin{document} ...
3
votes
1answer
81 views

Table of contents: Include part number for chapters entries

I have the following code \documentclass{scrreprt} %\usepackage[titles]{tocloft} %\renewcommand{\cftchappresnum}{\thepart.} \begin{document} \tableofcontents \part{First Part} ...
2
votes
2answers
86 views

Create new section commands (with correct TOC entries) in KOMA-Script

What is needed to make a new sectioning command which outputs a correct entry in the TOC? For example, a command \foo which outputs something similar to \subsection in the TOC (and in the main ...
2
votes
1answer
107 views

Changing look for table of contents

Consider the normal table of contents: Coming from something like this: \documentclass{memoir} \begin{document} \tableofcontents* \newpage \chapter{A chapter} \section{A section} ...
2
votes
1answer
59 views

Partial ToC over the chapter title

I want to create something similar to that on a chapter page: _____________________________ | | | Section 1 .... 3 | | Section 2 .... 5 | | ...
1
vote
0answers
26 views

Table of contents placed at bottom and write above chapter

I don't know why the ToC is at the bottom in this WE below. Whenever I increase \titleformat{\chapter} {\fontsize{5cm}{5em}\bfseries} % format {} % label {0pt} % sep ...
3
votes
1answer
63 views

Is there a way to manually add entries to the list of figures?

I'm writing my thesis and one section is going to be made of an already existing article. I'm including it with \usepackage{pdfpages} and\includepdf[fitpaper=true, pages=-]{Impactpaper.pdf}. I'd ...
3
votes
1answer
71 views

Contents and Detailed Table of Contents without repetetion and indent

This question has two parts. Part 1 First, I'm interested to create two TOCs, with a reference in the first shorter TOC the longer and more detailed TOC. Without the reference appearing in the ...
5
votes
2answers
95 views

How to unset the pagenumbering to the toc?

How to set the right footer of the ToC to empty? I've tried this way, but it hasn't resolve the issue : \documentclass[12pt,english]{report} \usepackage{fancyhdr} \pagestyle{fancy} \makeatletter ...
4
votes
1answer
45 views

Verbments: listofpyglistings numwidth

im really new to latex and now have tryed to make an List of my SourceCode. To Highlight I used verbments. It provides the Command ListOfPyglist. This works fine. Now I want to set the Counter to ...
3
votes
1answer
109 views

How to remove the default set logo from the title page and the ToC's page

How to remove a logo from the title page and from the ToC's page, please? Using this code : \documentclass[xcolor={dvipsnames}]{beamer} \usetheme{CambridgeUS} \author{The Author} \title{Work ...
0
votes
0answers
32 views

ToC and each page with thumbs (with chapter title rotated)

I have seen some using thumbs for the text, but I want it for the ToC. Is it possible? and if yes, how and which packet enables it the easiest way. I want it for a Conference Brochure. More details ...
3
votes
1answer
82 views

LaTeX - Different section names in TOC from body

Sorry if this question already appears elsewhere, I couldn't find it. Is there a way to label a section in the text but give it a different name in the table of contents? I have very long section ...
3
votes
1answer
45 views

'stack' several page numbers on one PDF page

I like to take bits of, often older texts, and place it in a nice looking PDF/LaTeX file. Often several pages of the older text fits on to one PDF letter page. I would like to find a way to make the ...
3
votes
1answer
82 views

Higher sections like Part are missing in my table of contents

I am using LyX. My document uses Part*, Section*, Subsection*, Subsubsection* sections, and babel with \usepackage[english,frenchle]{babel}. With the memoir document template, only Subsection* and ...
1
vote
1answer
77 views

Page numbering problem in list of contents with “abstract”

I am having a problem with numbering my pages. I want the numbers to start after the abstract, so I put the page numbering after it. It works fine for the pages itself, this means the abstract does ...
2
votes
1answer
51 views

How to get chapter name to appear in fancyhdr report?

I am trying to get the chapter to appear in the header, but it always just displays "CONTENTS". The following is my demo code: \documentclass{report} \usepackage[demo]{graphicx} ...
2
votes
1answer
70 views

Lyx: heading texts overlap with heading numbers in Toc

I am using Lyx and I have met a problem in my table of contents: the heading texts overlap with the heading numbers. I have found similar questions people asked here before, but unfortunately, I ...
5
votes
1answer
136 views

Adding \dotfill manually with \addcontentsline

I am using a custom documentclass (based on JHEP), where there are no dots in table of contents automatically for subsections. I am adding section names manually to TOC. Is it possible to add somehow ...
2
votes
0answers
55 views

Spacing in list of algorithms within classicthesis template

Consider the following screenshot: Differently than \listoffigures, \listoftables or \lstlistoflistings, the \listofalgorithmes command is adding an extra white space between chapters in the ...
2
votes
1answer
26 views

Delayed execution when writing to ToC in amsart

Consider the following example using the amsart document class: \documentclass{amsart}% http://ctan.org/pkg/amsart \newcommand{\addtotoc}[1]{\addtocontents{toc}{#1}} \begin{document} ...
1
vote
0answers
48 views

How to generate document with 6 grid images, chapter header and table of contents

I am trying to generate a booklet with a grid of 6 or less images in a grid, and a text caption below it. I would like each page to display the chapter in the header, and have the table of contents ...
6
votes
2answers
100 views

Supress page numbers for \part in toc

I have created two custom macros for chapter and part command. When I am using following code: \documentclass[final]{book} \usepackage{lipsum} \usepackage{tocloft} ...
1
vote
1answer
37 views

Bibliography contents page numbering - LaTeX

I have added a bibliography to my document in LaTeX which is 2 1/2 pages long. In the contents page the page number for the Bibliography is recorded as the final page of the bibliography instead of ...