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

2
votes
2answers
73 views

How to add custom space in table of contents?

How can I add extra space between two specfied sections in the TOC? i.e. I want to add space only at the arrow: Is this even possible in a simple way? Here's a minimal example: ...
10
votes
3answers
251 views

Math in table of contents, bookmarks and heading

I would like to obtain the following: the title of a section occurs in the text as Math symbols $\boldsymbol{\sum, \int}$, in the table of contents it is Math symbols $\sum, \int$ (without bold), in ...
2
votes
1answer
59 views

tocloft removes content title formatting

I am using code from this answer http://tex.stackexchange.com/a/93792/19817 to make horizontal lines above and under chapter title. \documentclass{book} \usepackage{titlesec} ...
3
votes
0answers
62 views

Allow \listoffigures captions to break across pages

I'm using the command \listoffigures to list all figure captions after the contents page. Many of my figure captions are quite long and as a result LaTeX is placing 2 captions on a page with a large ...
1
vote
1answer
109 views

How to modify \titlecontents{part}?

For the moment, I have and I would like to change the part entry to obtain something like that Can you help me to modify the code below? \documentclass{book} \usepackage[english]{babel} ...
2
votes
1answer
166 views

Creating List of Notation

I have been using LaTex for a while however I am new to writing a new command. Essentially I wanted to make a list of notation for my thesis. I have seen quite a few styles of nomenclatures, but none ...
3
votes
1answer
52 views

On the use of \titleofcontents to customize the table of contents

I use the following piece of code (titletoc package) to customize the "part entries" of my table of contents. Can you help me to push the page number to the right so that it is aligned with the other ...
1
vote
1answer
143 views

Fancyhdr, chaptermark and table of contents

I'm using fancyhdr for editing the header of my document. I have the following code: \documentclass[a4paper,12pt,oneside,titlepage]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
2
votes
2answers
56 views

How do i replace the dots in my table of contents between the text and page number with a horizontal line using the tocstyle package?

Due to some major design changes in our corporate identity, its now up to me to update our existing latex document class according to the new design guidelines. I´m having troubles cutomizing the ...
7
votes
1answer
243 views

Tufte style table of contents in article class

I want to create a tufte-book style ToC, very similar to how Gonzalo Medina made something in this request: Pretty Table of Contents So far this is what I got: \documentclass[letterpaper]{article} ...
1
vote
0answers
33 views

Longtable LoT 'Table' caption [closed]

I am writing my master thesis using the provided styles by the faculty. Some of my tables were too long, so I used longtable package. However, in list of tables, tables created with longtable don't ...
3
votes
1answer
61 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
108 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
93 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
54 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
52 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
96 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
73 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
67 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
265 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
88 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
98 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
44 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
77 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
70 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
102 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
42 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
64 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
72 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
111 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
269 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
88 views

“Literal” numbering of chapters but not in contents [duplicate]

Thanks to this macro \makeatletter \let\old@makechapterhead\@makechapterhead \def\@makechapterhead{\def\thechapter{\words{chapter}}\old@makechapterhead} \makeatother ...
5
votes
1answer
50 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
36 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
86 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} ...
4
votes
1answer
96 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
91 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
61 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
28 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
69 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
75 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
98 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
46 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
116 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
35 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
96 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 ...