{tocloft} is a package providing control over the typography of the Table of Contents, List of Figures and List of Tables, and the ability to create new "List of ...".

learn more… | top users | synonyms

15
votes
2answers
1k views

How do I get \chaptername to appear in the table of contents?

In my tex file I have changed the chapter name from 'Chapter' to 'Day', using: \renewcommand \chaptername {Day} But when I generate a table of contents it only shows '1' and not 'Day 1'. How do I ...
11
votes
3answers
4k views

List of Figures - how to add caption label

I'm using the caption package. In the List-Of-Figures I get only the numbers, but I also want to have the prefix. It currently looks like that: List of Figures 1 Caption of Figure 1........1 ...
5
votes
3answers
3k views

Creating a separate list of appendices with tocloft

I'm very sorry but I have to ask for urgent help as I could not make sense of the individual questions I asked previously. I'm required a separate list of appendices, i.e. the appendix is not to show ...
8
votes
1answer
731 views

\chaptername is used even for appendix chapters in ToC

I have searched for something to resolve a problem that has shown up here: How do I get \chaptername to appear in the table of contents? I have tried the code from that thread. But I got an issue, ...
7
votes
2answers
4k views

Extra space for numbered titles in table of contents

Background A manual with chapters, sections, subsections, and sub-subsections. Using KOMA Script v2. Problem The spacing between the heading title and its number is too close to the number in some ...
6
votes
2answers
4k views

Changing the TOC style of an Article document-class

When typesetting an article documentclass, the sections appear as bold in the table of contents, with no leading dots. I would like to change these to non-bold, and insert some leading dots. I tried ...
8
votes
3answers
10k views

List of Equations / Table of Equations

After finding Table of Equations and http://www.latex-community.org/forum/viewtopic.php?f=5&t=428, I set about making a List of Equations for my document. The catch here is that we already have a ...
8
votes
1answer
1k views

Add colors that depend on chapters to the TOC

I'would like to add different colors in my TOC, depending on the chapter. I've a color for the header, section subsection of each chapter (red chapter one, blue chapter two etc...). With this code I ...
6
votes
1answer
467 views

How to emulate titletoc with tocloft

I was using titletoc until I realized that it has some incompatibilities with hyperref. The thing is, that titletoc can do the same thing in a easier way, less one. \titlecontents*{subsection}[5.4em] ...
4
votes
3answers
2k views

Customizing the list of listings generated by \lstlistoflistings?

I'm using listings in my document, and its command \lstlistoflistings to generate the list of listings. The problem is that I've customized all the other lists (TOC, LOF and LOT). More precisely, I've ...
12
votes
2answers
838 views

How do I create custom “list of…”s on a section level?

I have a long document with frequent uses on an environment that needs to be indexed on a per-section basis. I know that the tocloft package allows creation of custom "list of..."s I also know that ...
11
votes
2answers
686 views

loading tocloft makes \ifdefined\chapter TRUE in article class

I am using the article class, and I discovered that the tocloft package defines \chapter, which will mess up with my other stuff. How does this happen? Can I make \chapter "undefined" again after ...
10
votes
1answer
3k views

List of figures: source below image caption?

I'm relatively new to LaTeX and currently working on a paper. In my list of figures, I'd like to have a structure like this: Fig. 1: <Title of figure> . . . 1 ...
2
votes
3answers
3k views

How to change the style of “Contents” heading?

Help me, please to make the style of "Contents" heading to be as \chapter{Le choix du thème}. Also I would like to put all headings a little bit higher and to fix the hyperref for "Contents" in pdf ...
10
votes
1answer
449 views

How to highlight specific entries in a tocloft-formatted ToC

I am writing a document using the book class, and I use tocloft in order to customize the appearance of my ToC. So far, the package did a great job for most customizations, except for one thing: I am ...
5
votes
2answers
534 views

Replacing page number with other counter in listoftodos

I'm using the todonotes package to add notes in my documents. The \listoftodos command adds a ToC for todos. Instead of the page numbers in this ToC, I would like to display another value, for ...
4
votes
1answer
87 views

Add a symbol in ToC between the section number and its section

My problem is that there exists an overlap between the symbol to introduce and the section title; it is manifest with two \heartsuits \documentclass{article} \usepackage{tocloft} \usepackage{lipsum} ...
4
votes
1answer
251 views

Aligning long table captions in the list of tables using tocloft

I am using the tocloft package so that the word Table shows up before the number in the list of tables. When I do this, the tables with long captions wrap to the next line but are not aligned. This ...
4
votes
1answer
589 views

Separate table of appendices - pdf bookmarks & avoid previous chapter's format

I'm trying to format my thesis which requires a seperate list of appendices. Thanks to a really useful post - Creating a separate list of appendices with tocloft - I have the list up and running. I'm ...
2
votes
1answer
988 views

Table of Contents: Titles for Parts with \tocloft

I use the tocloft package to design the Table of Contents. I wanted to add the word Part before the numbers of parts in TOC (f.e. using \cftpartpresnum), but I want to add it only for numbered parts. ...
6
votes
1answer
462 views

Chapter descriptions in the TOC, but at a fixed width

I'm really in love with the TOC one gets using the accepted answer at Adding a per-chapter image along with group of entries in ToC. However, instead of having sections in my TOC, I'd like to ...
6
votes
1answer
889 views

Appendix Chapters typeset as Sections in ToC

I am very new to LaTeX and still more in a trial and error phase than on a real understanding level. My goal is to have all appendices - which are chapters and I would like to keep it that way - to ...
14
votes
1answer
3k views

Remove vertical space before table of contents title

I've been trying to figure out a way to easily reduce the space/gap from the top of the page to the table of contents title, as in to reduce the vertical space before the table of contents begins. ...
8
votes
2answers
407 views

In table of contents, long page numbers intrude on right margin despite plenty of available space

Some of the page numbers listed in my table of contents are long roman numerals. For some reason, these long page numbers get pushed into the right margin. Here is a screenshot of the table of ...
8
votes
1answer
1k views

Keep “Appendix #” in the appendix title, but remove the appendix from the table of contents

I'm writing a PhD thesis, and my university requires that I list the appendices in a "List of Appendices" (LOA) that is separate from the main table of contents (TOC). I've successfully created a LOA ...
7
votes
1answer
1k views

Tocloft and list of figure: Change Line Spacing between listings

This not the same question as here. While creating a list of figures with tocloft the way shown in the example, I would like to control the line spacing between the listings of the figures. With ...
5
votes
2answers
1k views

List of appendices with tocloft and memoir

I found a very nice example showing how to create a list of appendices here: How to get a list of appendices? but it doesn't seem to work with the memoir document class. I get the error message ...
2
votes
1answer
116 views

Moving the page number in a table of contents to the left of the titles with tocloft

I would like to move the page number from the right-hand side of a table of contents to the left, using tocloft. The page number should still be right-aligned. The question has already been answered ...
2
votes
2answers
1k views

Typeset cftchapfont as uppercase

I'm trying to put the whole cftchapfont as uppercase. \renewcommand\cftchapfont{\MakeUppercase} does not work at all (it actually messes up everything), nor does: ...
1
vote
1answer
389 views

How to change the style of ToC and \chapter?

I would like to adapt the style and content of my ToC, but I'ma little bit stuck with the tocloft package ^^ e.g., how to set the horizontal ruler? Do I change the command that is used in the ToC or ...
14
votes
3answers
1k views

Replacing dot leaders in the table of contents with better typography

Dot leaders are the lines of dots in the table of contents, for example. Bringhurst says of them: [They] force the eye to walk the width of the page like a prisoner being escorted back to its cell ...
7
votes
1answer
2k views

Line of dots in Table of Contents?

In my ToC, the "Bibliography" entry is treated as a chapter heading, so has no line of dots to the page number. However, as it has no sections, my publishers would like the line of dots. Same for ...
6
votes
1answer
940 views

Remove section number ToC entries with tocloft

I have formatted a ToC with tocloft package. I have it almost right, but I would like to remove the numbers of the sections; just leave the section names. I am trying different commands but I can not ...
5
votes
1answer
273 views

Upper case chapter titles Tocstyle?

I would like to make table of contents in Tocstyle (standard package). Here is my code. \documentclass[fontsize=12pt]{scrreprt} \usepackage{tocstyle} \usetocstyle{standard} ...
4
votes
1answer
280 views

How do I get the table of contents, list of figures and list of tables to have the header I specify

I used \renewcommand\contentsname{\Large{TABLE OF CONTENTS}} (similar for list of figures and list of tables) to obtain headers that were centered at the top of the page, not bold and capitalized. ...
4
votes
1answer
1k views

Package tocloft change font size

So I have just started using tocloft in LaTeX for my report in order to generate a list of equations. The list works fine and it does what I need it to, but the only issue so far is that the heading ...
4
votes
1answer
1k views

Tocloft and List of Figures: Get rid of title and begin right at the top

I am using tocloft to create an List of Figures. Now I would like to get rid of title and the list of figure should begin right at the top after the chapter title. I know the following is not a ...
3
votes
1answer
35 views

Centering List of X and Following with Text

With the tocloft package, I can add text under the title of a "List of Z" at the beginning of a latex document: \renewcommand{\cftafterZtitle}{\par\noindent \textnormal{Z} \hfill \textnormal{PAGE}} ...
3
votes
1answer
85 views

Using tocloft getting chapter height problems

As shown in my MWE I'm using tocloft to add dots next to my chapters in the TOC. It works, but for a reason I don't know, the headings of the TOC, LOF, LOT are not on the same height as the regular ...
3
votes
1answer
304 views

Customising list of tables to include “table” word

I am customizing the list of tables and list of figures in a report class document. I am trying to produce lists that start this way: "Table 1: Some info" and so on, instead of the default beginning ...
3
votes
1answer
344 views

Creating a new list of appendices with tocloft

I just implemented Mike Renfro's solution from here, but the content in the list of appendices also gets listed in the toc, which should not be the case. How would one ensure this is avoided? Below is ...
2
votes
1answer
601 views

tocloft package interfering with ToC page style?

I use the trick from How to get header and footer over ToC, LoF and Nomeclature? to ensure that all pages[1] (including the 1st page of the Table of Contents) have headers and footers: ...
2
votes
1answer
109 views

Prevent pagebreak inside table of contents entry

For a sandwich thesis, I'm typesetting a List of Papers using the tocloft package. Each entry contains the full citation (using biblatex's \fullcite), so it can be rather long. I've currently ...
2
votes
1answer
215 views

Tocloft + KOMA, get rid of numberings in table of content, but keep them in the content

I am using the documentclass scrbook (KOMA) with tocloft and would like to get rid of all the numberings of the chapters, sections and subsections in the table of content, but not in the content ...
2
votes
1answer
2k views

Formatting new list of definitions with tocloft

Using the tocloft package in LaTeX, I created a List of Definitions. From the package documentation and some online examples I came up with: \newcommand{\listdefinitionname}{My list of definitions} ...
1
vote
1answer
219 views

Tocloft + KOMA, get rid of numberings in table of content, but keep them in the content and in other lists such as list of figures

I am using the documentclass scrbook (KOMA) with tocloft and would like to get rid of all the numberings of the chapters, sections and subsections in the table of content, but not in the content and ...
0
votes
1answer
74 views

Conditional spacing in ToC column headers

Sorry in advance for this being such a specific question, but I'm at my wits end with this problem. My university has odd formatting requirements for dissertations (I know, don't they all). In ...