{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

2
votes
1answer
271 views

Cover pages for References, Appendix; fit them nicely in TOC

Would you please take a look at this? If I ask piecemeal questions, solutions seem to break each other. Please advice. I 'm trying to finish a thesis according to school requirements. Thesis has ...
3
votes
1answer
131 views

tocloft moving toc onto title page below abstract

I am using the tocloft package in order to reduce the space between the toc header and the table of contents itself. However, the package is causing the table of contents to move up onto the title ...
3
votes
1answer
146 views

To fix alignment in text added to Table of Contents?

My school requires tables of contents formatted like this -- please note the little headings, in red: I have it almost ready, except for a pesky misalignment in the second page of the table of ...
2
votes
1answer
406 views

Customization of chapter entries in Table of Contents

I want to customize chapter entries in Table of Contents. \documentclass[final]{book} \title{Title} \author{Author} \date{} \begin{document} \maketitle \tableofcontents \chapter*{Chapter Title} ...
3
votes
0answers
73 views

Tricky problem with sources in list of figures

I've a very tricky problem here: MWE: \documentclass[12pt,german]{article} \usepackage[demo]{graphicx} \usepackage{caption} \usepackage[list=true]{subcaption} \begin{document} \begin{figure} ...
6
votes
1answer
62 views

List of all labels with hyperlinks

I'm writing a document with several \label{} environments and I'm looking for an opportunity to generate a list of all of them at the beginning, something like this: Label 1 ..... 1 Label 2 ..... 2 ...
4
votes
1answer
116 views

Tocloft customizations not working for algorithm's list

I have been fighting with tocloft to get it to apply some customizations across all the listings, but it seems that they only work for the default ones like "tocs", "lofs" and "lots". For the ones ...
4
votes
1answer
272 views

Adding dotted lines to the LOF and LOT

I am trying to add dotted lines in the table of contents using the tocloft package. \usepackage{tocloft} \renewcommand\cftchapdotsep{\cftdotsep} ...
4
votes
1answer
93 views

Some tricky issue with chapter in TOC

Again I'm asking for help, for a tricky issue, as for me. It is demanded from me that in the TOC I must write chapter-level headings without page number and dot filling. So, I'm using tocloft ...
0
votes
0answers
140 views

Uneven vertical spacing in list of figure

I am writing my dissertation and have two problems with list of figures. I am using a template and have little knowledge about modifying the template. The first problem is concerning vertical spacing ...
3
votes
1answer
96 views

ToC for Part Heading Levels

I use pdflatex (TeX Live 2013). I try to make a book that contains 27 parts. It's in Russian. Only the last part has \section and \subsection. Also I need to have the title of the book on top page ...
10
votes
1answer
70 views

How to make the TOC's part entry in one column while the others in two columns?

I use the tocloft package to design the Table of Contents. I want the part entries listed in one column and all the other entries such as chapter, section, subsection ... should be listed in two ...
5
votes
2answers
251 views

Source of Image in List of Figures

I need to have my sources, for example from image files, in my list of figures. \documentclass[10pt,a4paper]{article} \usepackage[list=true]{subcaption} \usepackage{graphicx} \usepackage{tocloft} ...
2
votes
0answers
189 views

How to customize a brief table of contents generated from tocloft and shorttoc into one page?

I am writing a book with over 20 chapters using LaTex. I generated the detailed Table of Contents with the package tocloft, and a brief TOC with shorttoc. Right now, the brief TOC has two pages but I ...
2
votes
1answer
106 views

Non-uniform spacing in table of contents (XeLaTex book, tocloft, Indic script)

I am typesetting a book in XeLaTex (TexLive 2012 on Windows) in Sanskrit. I am using the tocloft package for table of contents. I want the font size to be bigger in the TOC, for which I use the ...
7
votes
1answer
689 views

How do I center the table of contents title using tocloft?

I'm getting odd behavior using package tocloft to format my table of contents and center the titles "Contents", "List of Figures", and "List of Tables". Using the code suggested in the tocloft ...
5
votes
1answer
308 views

Getting error using \MakeUppercase with tocloft

Trying to use tocloft package to customize a table of contents, but I am running into errors using \MakeUppercase or \uppercase with certain commands, namely \cftsecfont. When I run the following ...
2
votes
1answer
111 views

How to add/change dot leaders with an apa6 document class

I've been having tremendous difficulty trying to add dot leaders for section titles (or maybe they're chapter titles?) on my thesis, because I'm using the apa6 document class. I can't seem to get any ...
2
votes
1answer
699 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
106 views

Table of contents to display (linguex) paragraph numbers

I am writing a legal document with numbered paragraphs and I would like the table of contents to list paragraph numbers, not page numbers. I am using linguex.sty to count the paragraphs (in the MWE ...
1
vote
1answer
71 views

How to change the spacing for chapters which are not numbered

I would like to make a custom TOC so that: Introduction I.CHAPTER II. CHAPTER 1. Section 2. Section III. CHAPTER List of figures List of tables Notes The main idea is that chapters ...
3
votes
1answer
437 views

Dotted line in ToC despite \cftsetpnumwidth

Using the package tocloft I have a problem with the dotted line in my ToC. For I'm using roman page numbering I have numbers of about XXVIII or something like that which is too wide for the obviously ...
3
votes
1answer
95 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
178 views

How to turn off hyphenation in ToC only?

Here's what my template looked like before: \usepackage{tocloft} \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} I changed it to this: \usepackage{tocloft} ...
3
votes
1answer
418 views

Changing the table of contents width

In setting up a table of contents, by default the TOC spans the entire width of the page, regardless of the length of the section titles. I would like to have the entire TOC be only as wide as it ...
6
votes
1answer
318 views

Can't compile with most recent version of TeX Live (2013)

I have used a tex template for my CV for years. But I recently migrated everything to a new Mac running OS 10.8.4 and the document will no longer compile. I have confirmed that the file compiles ...
5
votes
1answer
215 views

ToC: controlling spacing between major headings and subheadings

So I am attempting to begin early on my thesis, and I am running into some strange TeX problems. I am using 12pt font - important for the spacing commands below. When formatting the ToC we are ...
5
votes
0answers
292 views

Hyperref links entire line (like Word)

I have tried to use the code from How to make a hyperlink cover the whole line in table of contents including the dots? but it seems to make my entire document hyperlinked probably due to my custom ...
6
votes
1answer
89 views

how to suppress page number for subfigures in LOF?

I am using tocloft and subcaption package, and I would like to suppreess page numbers and dot line for subfigures in LOF. I know, if one uses tocloft and subfigure package, this can be done with the ...
3
votes
1answer
123 views

number width in predefined (amsbook?) list of figures too wide - self-defined lists okay

First of all, sorry for the long mwe - I wanted to include everything I use so that someone may see a potential clash. I based this off of the document class amsbook. I am also going to add a "List ...
2
votes
1answer
1k views

List of Equations in standard list style

I'm using this solution to generate a list of equations. Running my minimal example below, there are two points I want to change: [A] Using the standard "list of" style, means: using the same spaces ...
2
votes
1answer
74 views

Create an overview of scattered items / requirement list

I'm writing a document where I have to define multiple requirements. These requirements are scattered all over the document, since they belong in different sections and are explained seperately. It ...
2
votes
0answers
28 views

Aligning long entries in LOF using tocloft package [duplicate]

I am facing a problem by left aligning long entries in the LOF using the tocloft package. Although my TOC for long entries looks perfect and aligned, the LOF is not :( . I am using the command ...
3
votes
0answers
293 views

tocloft: listof changes headers/chapter page style

I'm having problems with the tocloft package. For each chapter of my report, I need to create a custom "list of" (done) and to insert that list on the first page of the relative chapter (done). (I ...
4
votes
1answer
267 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 ...
2
votes
1answer
493 views

tocloft, listoffigures, listof=totoc, KOMA: not in tableofcontents [closed]

This MWE illustrate the problem: \documentclass[listof=totoc]{scrreprt} %\usepackage{tocloft} \begin{document} \tableofcontents \listoffigures \chapter{test} \begin{figure} \caption{test} ...
3
votes
1answer
317 views

order of packages: svg and tocloft

The following MWE illustrate the issue: \documentclass{scrreprt} \usepackage[clean,pdf]{svg} \usepackage{tocloft} \begin{document} \includesvg[width=\textwidth{}]{legacy-ip-only} \end{document} It ...
2
votes
1answer
123 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 ...
3
votes
1answer
63 views

sans serif math in toc/lof/lot with tocloft package

How do I get sans serif fonts for captions containing math characters in lists? Here is a mwe where the x^2 from mathmode in the list of figures is represented with serifs instead of the wanted sans ...
0
votes
1answer
109 views

overfull hbox when I insert hline

I've got an issue related to table of contents. I want a horizontal line before each section, so I put \renewcommand{\cftsecfont}{ \hline %other stuff that I need } This is perfect in terms of ...
4
votes
1answer
222 views

Manipulate TOC: How to move partnumber to pagenumber's position?

How can the partnumber in TOC be displayed at the position where usually the corresponding pagenumber can be found; namely at the end of the toc line. On the other hand the partnumber shall be ...
7
votes
3answers
236 views

Apply \cftpagenumbersoff to multiple sectioning levels

This is probably a very basic question, apologies for lacking better knowledge of LaTeX syntax. I want to use \cftpagenumbersoff from the tocloft package to hide the page numbers (and dots) of some ...
2
votes
1answer
200 views

Adding space after a line in ToC

I have been trying to determine way to add space after a section or chapter line in my table of contents. tocloft allows me to add spacing before lines but not after, and this leads to spacing issues ...
0
votes
1answer
78 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 ...
3
votes
1answer
91 views

Spacing in the table of contents - change row

I need to change the spacing between the changes in a row. 6pt Spacing must be between - 2.2 and 2.2.1 - 2.3 and 2.2.2. Use the comment \renewcommand\cftsubsubsecafterpnum{\vskip6pt} ...
4
votes
2answers
457 views

Equal dot spacing in table of contents and glossary

I want to make the dot separations I get using \dotfill in the glossaries package to match the dot separation I get in the tocloft package. The image below shows an entry from the table of contents on ...
0
votes
1answer
419 views

Center Contents heading in tocloft v2.3f

In the past, I believe this technique was used to center the Contents heading in the table of contents via tocloft: \documentclass{report} \usepackage{tocloft} \renewcommand{\cfttoctitlefont}{\hfill ...
1
vote
2answers
222 views

Problem and question tocloft

I tried to create my own "List of things" with help of this post: Define your own list of Now my questions: I don't want to use the command \algorithm {Text}. Instead I want to use a container like ...
2
votes
2answers
151 views

List of Tables - Table name configuration inside ToC

When I use \listoftables, it shows me: TABELA 1 title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 I'm trying to make it shows: TABELA 1 - title . . . . . . . . . ...
4
votes
1answer
292 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. ...