{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

0
votes
0answers
30 views

How to remove dots in front of appendix in table of contents?

It may this question be considered as a duplicate one, but it is not. Please read it then decide. I've spent lots of time to solve this annoying problem. I'm going to submit my thesis, but university ...
1
vote
0answers
42 views

Tableofcontents section and subsection don't fit in ToC page

I’m experiencing some unusual behavior in the ToC of my document. The section and subsection are out of page and there are no dots from the title to the number of page. I tried several solutions like ...
3
votes
1answer
83 views

Fancy List of Figures layout/design

do you see a chance to design the "List of Figures" pages in a way such that it looks more fancy? I fiddled around for days now but could not find an example or good solution, not even with tocloft, ...
1
vote
1answer
42 views

How to properly add 'Appendices' to the TOC?

I need to add 'Appendices' before Appendix A, Appendix B in the TOC. Below code successfully adds it. \appendix \addtocontents{toc}{\cftpagenumbersoff{chapter}} \chapter*{APPENDICES} ...
0
votes
1answer
34 views

How to use tocloft package to customize the space between figure number and title?

My settings is as follows: \renewcommand{\cftfigfont}{\songti\zihao{-4}} \renewcommand{\cftfigpresnum}{\loflabel\hspace*{0.4em}} \renewcommand{\cftfigaftersnumb}{\hfill\hspace*{1.0em}} ...
2
votes
1answer
25 views

Add “Part” before the number in Toc when using titlesec package

According to other answers here and elsewhere on the Internet, to add "Part" before the part number in the ToC you do this: \usepackage{tocloft} \renewcommand\cftpartpresnum{Part~} However, I've ...
4
votes
1answer
67 views

Left align TOC items when using \tableofcontents

I have Table of Contents in which most items are typeset very well. However, in some cases, some items, specifically part items seem to be fully justified, creating awful spacing. In my document it ...
1
vote
1answer
29 views

Earlier line breaks in TOC

Is there an option in tocloft to decrease the maximum length of lines in the TOC? I'd like long section titles get a line break earlier, to increase the white space before the page numbers. ...
0
votes
1answer
40 views

tocloft: undefined error

I'm getting an undefined error for \cftchapfont (and all other tocloft options). I haven't found this problem documented elsewhere, which leads me to suspect that I'm missing something simple. ...
0
votes
1answer
56 views

Table of Contents Chapter Numbering

\documentclass[a4paper,12pt,openany,leqno,footinclude=true]{memoir} In my table of contents I get the same problem as Dots after section number in TOC . My chapter number in the TOC is like: I ...
0
votes
1answer
36 views

Text “figure” appearing after section number in Table of Figures [duplicate]

I am having the same issue as MarkSvalov in this post. Sadly it seems like it has been removed. The same thing is happening to the List of tables, but not to the listings (source code). So what I ...
0
votes
1answer
51 views

toc plus appedix toc

first things first. I'm writing my master's thesis with latex. (scrbook, pdflatex) My institute has some strict regulations on the occurence of toc and appendix toc. Generally it should look like ...
1
vote
1answer
50 views

Add “chapter” word into TOC using tocbibind package

I want to add "Chapter" word before chapter number in Table of Content. I have searched the solutions but the most answered question is when we using tocloft package that I didn't use. Can I give that ...
5
votes
1answer
76 views

add space between section and subsection in TOC?

Is it possible to create more space before a new section in TOC? I would like more space where the arrows are: I tried using \cftchapafterpnum{\vskip3pt} - but that does not give the effect I'm ...
3
votes
1answer
51 views

Hanging indents for List of Tables using tocloft

I am trying to format a List of Tables using tocloft, and I am having a devil of a time figuring out how to have hanging indents, where for long captions every line after the first is indented by a ...
0
votes
0answers
86 views

Problem with TOC editing

I work with TeX Live 2015 and LuaTex. I get "Something's wrong -- perhaps a missing \item" error. I edited the TOC as suggested here (1), in order to obtain a similar graphical result. Eventhogh the ...
3
votes
1answer
23 views

For a report, in my TOC, how can I keep a period after my chapter number but not after my appendix character?

Here is my minimum working example: \documentclass[12pt]{report} \usepackage{tocloft} \usepackage{etoolbox} \usepackage{tocvsec2} \usepackage[titletoc]{appendix} \begin{document} ...
1
vote
1answer
62 views

List of Figures and List of Listings unequal heading margins

I am currently using the scrreprt documentclass for my reports. With my current template the List of Figures and List of Listings are shown on two subsequent pages. I realized that the heading "List ...
0
votes
1answer
36 views

Conflict between settings when using tocloft to format TOC

I have two issues in a book I'm preparing: In the case of double-double-digit section numbers, the TOC doesn't leave enough space between the numbers and the title. In fact, they can overlap. I ...
1
vote
1answer
44 views

Combine tocloft and minitoc to create custom lists in document sections

I created custom lists with tocloft and succesfully typeset them as a replacement for a toc (It is about music sheets with songs being grouped in groups of songs). I now would like to have a list of ...
1
vote
2answers
84 views

How can I add a dotted horizontal line for a section on my content page?

I would like to add a dotted line after my "List of Figures" , "List of Tables" , "Discussion" , "Conclusion"... like there is for subsections 1.1. How can I achieve this? My code for for the table ...
0
votes
0answers
18 views

Put a word before each element in list of algorithm [duplicate]

I am trying to do a list of algorithms equal to a list of figures in my thesis. I am using the tip from Adjust Format of List of Algorithms to patch the list of algorithms. However, now I need to add ...
2
votes
1answer
107 views

Remove vertical space between title and first line of own “table of”

I try to reduce the space between the head and the first line of my own "table of". I found several solutions for table of content and other standard "table ofs". But somehow they do not work with my ...
2
votes
1answer
45 views

Creating list of examples using tocloft in memoir class

I am trying to create a new "Examples" environment in the memoir class (which has the tocloft package, I believe), but I cannot get the list entries correct. The best I have is the following, ...
1
vote
0answers
77 views

Strange behavior inside list of figure [closed]

Im pretty in desperate. I updated my MikTeX and out of the blue each entry in my list of figure is like in the picture below. I really dont know, which package or what other is interferring. ...
2
votes
1answer
73 views

Formatting “List of something” in accordance to KOMA script

I am using scrbook document class. I've created my own environment named example and I wanted to create "List of examples." In that name I've loaded package tocloft. However as much as I try, the ...
1
vote
0answers
29 views

forward referencing in a listof tocloft; from the text to the content line [closed]

I use tocloft extensively to extract things like priorities and actions; and make cross referenced todo style indexes in the Appendix. Which then nicely reference the place in the main text where they ...
5
votes
2answers
143 views

Style \listofalgorithms from algorithm package

I have some weird requirements for thesis formatting at my university. I was able to manage to mimic almost all of them, but List of Algorithms from algorithm package is something I cannot go through ...
5
votes
2answers
82 views

Font in ToC entries

I used {\sffamily\tableofcontents} to change the font from Times New Roman to sans serif in my table of contents. Then I used \usepackage{tocloft} \renewcommand\cftchapafterpnum{\vskip6pt} ...
2
votes
1answer
138 views

Customizing the list of listings from minted

This question is in regards to customizing the format of the list of listings produced with the minted package. In particular, I want to replicate the formatting produced via the tocloft for Figures: ...
5
votes
2answers
90 views

TOCLOFT and leader dots… disabling single or no dot

Styling my Thesis, the publisher requires at least two dots in the ToC - or the line needs to be broken (which, manually done, causes other problems). Are there any ideas two create a more elegant ...
2
votes
1answer
67 views

Group figures in LOF by chapter (with chapter number, but w/o page number)

I have a problem which I can't seem to solve: My list of figures is grouped by chapters with a space between the figures of each chapter. What I would like to have though is not only space, but also ...
1
vote
0answers
40 views

List of figures modification [duplicate]

List of figures organize all the figures as the following. 2.1 Caption for 2.1. . . . . . . . . 6 2.2 Caption for 2.2. . . . . . . . . 7 2.3 Caption for 2.3. . . . . . . . . 11 and so on. For ...
1
vote
0answers
73 views

Error: Missing } inserted after using package {tocloft}

The compiling was fine before I added \usepackage[subfigure]{tocloft}. But Once I used it, the error showed as: ! Missing } inserted. <inserted text> } 1.60 ...
3
votes
2answers
165 views

How to link \addtocontents entry from toc to actual chapter / section

I have to use \addtocontents at some places to fully customize the data of some of the lines in my toc (that is, include or not include page numbers, include or not include section / chapter numbers ...
0
votes
0answers
406 views

tocloft.sty not found

I am confused by MiKTex installation. In my LaTeX document I used tocloft package (with no errors) but the Package Manager said it was not installed! I wanted to make some changes in tocloft.sty so I ...
3
votes
1answer
57 views

How to center ToC maintaining the section and subsection numbering?

This is a followup for this question: How to center the TOC? The answer to that question is great but I need to: Maintain the section and subsection numbering Flush left the entries In other ...
1
vote
2answers
87 views

TOC - Chapter above chaptername

I have some problems with my TOC. I would like to know if some of you could help to put "chapter" above "chapter name" as shown below: If thats possible in TeX - and without \usepackage{tocloft}? ...
2
votes
1answer
39 views

ToC heading pushed down with “tocloft”

ToC heading is pushed down when using tocloft package – even without any commands written. Leaving it out puts things back in place. Also I noticed the smaller the \document[font-size], the bigger ...
0
votes
1answer
45 views

Add line in list of figure

For my report I create a cover on illustrator with figures and I would like add line in list of figure to show source of that : \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} ...
4
votes
1answer
58 views

Expansion problem with \newlistof from tocloft package

I try to write macro(s), say \foo, which automatically provides counters and \listofsomething like commands for some generated macros, using a xkeyval package approach for fine tuning of the generated ...
0
votes
2answers
156 views

align caption of figure in list of figure

I have a figure in LaTeX with a caption that doesn't fit into one line, e.g. \begin{figure} \includegraphics{} \caption{This is a very long caption that does not fit into one line} \end{figure} ...
1
vote
2answers
106 views

How to edit scheme numbering in a list of schemes?

I'm using chemstyle to create a list of chemical schemes (within classicthesis), but it numbers the list differently from my lists of Figures and Tables. Is there a way to change, for example, 1.1 ...
6
votes
2answers
152 views

List figures with \listoffigures but don't show the figures themselves

For a journal submission, I need a list of figure captions at the end of my manuscript but they explicitly asks not to include the figures themselves in the document. I have added \listoffigures at ...
0
votes
1answer
58 views

Compile equations used in a document to an equation sheet?

I am trying to find a way to take all of the numbered equations in my document (i.e. anything inside an equation environment) and automatically generate an equation sheet appended to the end of the ...
1
vote
0answers
66 views

Using tocloft with custom titles [closed]

I'm using the tocloft package to edit the spacing between entries in my Table of Contents, as follows: \usepackage{tocloft} \setlength{\cftbeforechapskip}{2ex} \setlength{\cftbeforesecskip}{0.5ex} ...
2
votes
1answer
243 views

How to change the color of TOC part font using tocloft

I have customised my toc using tocloft for everything from chapter down to subsection, but I cant work out how to change the color of the part font, how do you renew this command? I have read the ...
2
votes
1answer
152 views

How to create additional space below Section headings followed by Subsections in the Table of Contents

I am preparing my thesis using the apa6 document class. I'm using the tocloft package to format my Table of Contents and List of Figures. In the TOC, I can't figure out how to add space BELOW section ...
3
votes
1answer
194 views

Why can't I change the title entry font of TOC using \cftsecfont?

Below is the MWE: \documentclass[a4paper]{article} \usepackage[adobefonts]{ctex} \usepackage{tocloft} \usepackage{titlesec} \begin{document} \title{Hello, \LaTeX !} \author{kk@latex.com} ...
2
votes
1answer
72 views

Overfull boxes in Memoir Table of Contents

I am trying to address overfull boxes in my thesis table of contents. I am using the memoir class in draft mode to mark the two problems. This starts out minor (MWE doesn't look too bad) but grows ...