{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
1k 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
132 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
77 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
636 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
148 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 ...
4
votes
1answer
319 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
667 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
422 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
321 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
344 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
113 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
174 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
2k 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
83 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
29 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 ...
4
votes
1answer
359 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
699 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
641 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
186 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
74 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
133 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
270 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
325 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
269 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
111 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
100 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
632 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 ...
1
vote
1answer
604 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
265 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
218 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
347 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. ...
2
votes
1answer
704 views

How do I put list of figures and list of tables on separate pages?

When I put \usepackage{tocloft} in the preamble the pages that had list of figures and list of tables have been shifted forward. List of figures now starts on the contents page and list of tables ...
7
votes
2answers
244 views

How to replace fixed indentation of ToC entry names with fixed space between number and name?

How to make indents as in the second image? This is what it looks like now: This is what it should look like: MWE: \documentclass[a4paper, 14pt, english]{extreport} \usepackage[T2A]{fontenc} ...
2
votes
1answer
281 views

Parts and tocloft compatibility

Whenever I try using both tocloft (to be more precise \usepackage[titles]{tocloft} and \part{}, the table of contents doesn't render completely (it only renders until the first Part starts). My ...
3
votes
1answer
574 views

topline of fancyhdr disappears when I use tocloft

I have the problem that when I use package tocloft the line under the fancyheader disappears. It only disappears on pages with lists, like table of contents or list of figures. I would like to have ...
4
votes
1answer
81 views

Controlling `\subsection` output at `.toc` file

Consider the following simple code \documentclass[12pt]{article} \usepackage [english] {babel} \begin{document} \tableofcontents \section{One} \subsection{Two} \subsection{Three} ...
3
votes
1answer
457 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 ...
5
votes
1answer
2k 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 ...
2
votes
1answer
859 views

How can I change the chapter title bold in the table of content?

I am using classicthesis package. I want to add boldface to the font of the chapter title in the table of content. In the FrontBackMatter/Contents file, I add the following code: ...
6
votes
1answer
495 views

List of [newfloat] ā€“ change font

Using the tocloft package, I can change the appearance of the "List of Tables/Figures" by redefining \cfttoctitlefont etc. However, I created a new float type, called "Example", with the newfloat ...
5
votes
1answer
4k views

Problems with \addtocontent and \addcontentsline

I am trying to add a heading in the list of figures and list of tables. I found a solution here: Include chapters in List of Figures with titletoc? However, this looks pretty complicated and I after ...
2
votes
1answer
186 views

Transfering Style of Sectioning-Titles to TOC-, LOF-, LOT-Titles

This is a continuation of my last (answered) question: I want to style the Title of TOC, LOF and LOT exactly the same as the Sectioning-Titles. Problem is that they (a) start "higher" than normal ...
0
votes
1answer
155 views

List of problem title same style as list of figures title?

I have custom made list of problems, and list of figures generated by tocloft. I want the two list titles to be of the same style. I looked into source of tocloft.sty and added a new command there: ...
4
votes
1answer
418 views

Spacing issue when using tocloft and fontspec together

I'm using tocloft for creating a List of Equations and I think there's no other way to avoid using this package. However, everytime when tocloft and fontspec from XeLaTeX are used together the ...
1
vote
1answer
409 views

How to redefine the spacing between entries in the List of Figures without using the tocloft package?

There are a few posts about how to redefine the spacing in the LOF, but most use packages like tocloft, which changes the page number position to center in the frontmatter instead of the setting ...
3
votes
1answer
1k views

Remove vertical space between two chapters in table of contents in latex

I want to remove vertical space between two chapters in table of contents. I can remove the vertical space between chapter and a section by using \usepackage[titles,subfigure]{tocloft} ...
4
votes
1answer
567 views

Reduce spacing after heading of List of Figures

I have some issue with my LaTeX document. It uses scrbook class and I don't like the chapter spacings in the List of Figures. For the actual content, the spacing is nice, but in the LOF, I'd like to ...
1
vote
1answer
366 views

What's wrong with the table of contents?

My problem is that I can't create a table of contents for my document. I just use \usepackage{tocloft} ... \newpage \tableofcontents but it's generating nothing but the word ...
4
votes
1answer
104 views

short names do not seem to work in tocloft package for added lists

I added a new list (requirements) but the short names do not appear in the List of Requirements (LOR). Instead, all that appears in the LOR is the initial '[' The setup code is: \usepackage{subfig} ...
5
votes
1answer
344 views

Move (sub)section number right of (sub)section title in table of contents

I restyled the \section and \subsection a little bit, to better suite my needs when writing assignments. Using titlesec, I moved the (sub)section number to the right of the (sub)section title. In my ...