{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

3
votes
1answer
69 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
118 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
238 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
270 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
227 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
94 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
95 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
532 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
493 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
242 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
166 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
320 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
611 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
228 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
257 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
495 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
78 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
398 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 ...
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 ...
2
votes
1answer
743 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
410 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
3k 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
168 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
144 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
363 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
339 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
439 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
299 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
312 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 ...
3
votes
1answer
191 views

How do I get multiple ToC entries on the same line with tocloft?

This question is almost a repeat of previous one : How do I get multiple ToC entries in the same line?. However, I need an answer using tocloft, not titletoc, since tocloft customization capabilities ...
3
votes
1answer
418 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 ...
3
votes
1answer
106 views

Wrong page numbering(ToC-LoT)-Empty pages before ToC-

First of all I am sorry for my not minimum WE. I will explain why it's not... I am creating a ToC in a book-class document. ToC starts at page iii(I am using roman numbering) and ends at iv. The ToC ...
1
vote
1answer
322 views

Adjust space between entries in LoF and LoT

I am trying to adjust spacing between entries in LoF and LoT. My code is \documentclass[11pt,a4paper]{book} \usepackage[english,greek]{babel} \setcounter{secnumdepth}{3} ...
7
votes
1answer
522 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
1answer
76 views

I want a dot before my titleentry in toc using tocloft

I like a dot before my section-entry in the table of contents. When I apply the \setcounter{secnumdepth}{-1} line in the code below the dot also disappears. \documentclass[11pt,landscape]{article} ...
6
votes
1answer
1k 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 ...
1
vote
1answer
425 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 ...
5
votes
3answers
407 views

Let chapter number be distinct in mainmatter and ToC

I would like the chapter number to be different in mainmatter and ToC. In the ToC I would like to see : chapter 1 ... bla bla bla chapter 2 ... bla bla bla But if I did : ...
5
votes
1answer
764 views

ToC, LoF, LoT with same style as chapter style

I've added ToC, LoF and LoT in a .tex file in which the chapter style is Glenn. The problem is that ToC, LoF and LoT don't adapt the desired style, while bibliography i.e. does. I've tried ...
3
votes
1answer
2k views

spacing between chapters in list of tables

tocloft seems to automatically add extra space between table entries from different chapters. I want a single space between all the entries in the list of tables. Right now I have one space between ...
5
votes
1answer
768 views

Center parts in toc with tocloft

I'm trying to create a toc in a large Latex document which uses the KOMA script. In the toc I would like to center the parts and remove all other components (pagenumber, partnumber). I use tocloft (a ...
1
vote
1answer
391 views

list of figures disappears if I use tocloft package [duplicate]

Possible Duplicate: How to modify the indentation before sectioning titles in the table of contents? I am trying to change the numwidth in my list of Figures. The number of Figures is quite ...
4
votes
1answer
297 views

Wrong small cap title in toc

In what follows, I do not know why the "a" of the appendix in the toc is not a small cap? \documentclass[12pt]{book} \usepackage{kpfonts} ...
5
votes
1answer
829 views

Table of Contents chapter number width

I am using the tocloft package to design my table of contents. I know how to set the width of the chapter numbers in the toc using \setlength{\cftchapnumwidth}{2em} However this sets a fixed ...
3
votes
1answer
160 views

Using tocloft to make a list of questions and remarks

This a follow-up on my previous question Using `environ` to make a list of environments? Eventually I ended up with the following code using tocloft. I have tried to make it a MWE. ...
4
votes
1answer
1k views

How to add leaders to Table of Contents without tocloft?

I'm using a third-party non-standard document class which is based on book. Class be damned, I want to add dot leaders for chapters, sections and subsections in the Table of Contents. If I include ...
2
votes
1answer
482 views

Justification of captions in List of Figures when using endfloat package

I am using the endfloat package to place floats on separate pages at the end of the document, and using the caption package for control of caption formatting, but I cannot figure out how to change the ...
4
votes
2answers
194 views

restricting hyperref link to part of toc / lo* entry

In some tocloft list there are entries, which may span multiple lines. Now hyperref makes the number in front, the first line and all the following lines into links. Can this be prevented? Only the ...