{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

1
vote
1answer
36 views

Making a listing of quotes

I have a use case in which I need to list all the inline quotes used in a journalistic type article at the end along with attribution. Something like: START EXAMPLE Text text text "this is a quote," ...
3
votes
0answers
39 views

How to use tocloft with revtex without changing \tableofcontents formatting

I need to create a custom "list of ..." in my document. As I search around the intertubes, I'm told to use the tocloft package. The documentation seems promising. However, when I load the package, the ...
4
votes
0answers
74 views

Styled table of contents

I am trying to create a styled table of contents which is based on the answer(s) on this question: How to change style and color of Table of Content? The TeX I have is shown below: \definecolor{...
2
votes
1answer
33 views

\newcommand trailing space with tocloft

I have had to add a 'List of Supplementary Materials' to my current document using the tocloft package. I currently have the following code in my preamble: \usepackage[titles]{tocloft} % Create Table ...
1
vote
1answer
30 views

How to change the title position for list of figures and table of contents?

I have used a style for the toc and lof title but the position is a little bit far from the top of the page and i want to make it more closer to the header Here is a complete example \...
1
vote
2answers
53 views

How to change spacing after section in Table of Contents?

How to change the spacings on picture? Here is my MWE: \documentclass[floatsubsection,equationsubsection,14pt,nocolumnsxix]{eskdtext} \usepackage[T1,T2A]{fontenc} \usepackage[cp1251]{inputenc} \...
4
votes
1answer
33 views

How to use \nameref on a element of a tocloft custom list?

I am using the tocloft package to create a new list "question" and I would like to use \nameref (from the \hyperref package) to manually list questions (not using \listofquestion) at some point in my ...
1
vote
2answers
76 views

Page numbers in Table of contents should be aligned left

I'm writing my thesis, but unfortunately I'm having a problem. In our thesis template, the page numbers in table of contents should be aligned left (default=right) as shown in the figure. When I look ...
0
votes
1answer
33 views

Incorrect heading size of list generated with tocloft package

I'm new to latex and would appreciate some help with a problem I am having with generating a list of equations using the tocloft package. I would like the list to appear as the \listoftables \...
2
votes
1answer
57 views

Custom table of contents

I think Sakurai's Modern Quantum Mechanics table of contents is really beautiful. How can I create it in LaTeX? I tried to use etoc and tocloft but I'm new to this stuff and couldn't make any real ...
2
votes
2answers
46 views

Center the “part name” in the table of contents [duplicate]

I want to change in the table of contents the look of the parts. I reproduced on Word what I want : I've looked into the site if the question was already answered but I didn't found what I want. ...
2
votes
0answers
29 views

tocloft list of items in a textpos environnement [closed]

I created a personal list with tocloft package. Here is the beginning of code : \documentclass[a4paper,oneside]{article} \usepackage[french]{babel} \usepackage{textpos} \usepackage{tocloft} \...
2
votes
1answer
53 views

How to add text before page number using tocloft?

I want to wrap the page number with parentheses like: 1.1 Section 1.1 ......... (1) 1.2 Section 1.2 ......... (5) I found the \renewcommand{\cftsecafterpnum}{)} can add text after page number. But ...
2
votes
2answers
49 views

How to add a space between a title and the dotted leader?

I need to put some horizontal space between a title (of chapter, section, subsection, etc.) and the dotted leader, as it is marked in the given figure by red rectangles. The space should be ...
0
votes
1answer
42 views

How can I prevent the \cfttoctitlefont command from the tocloft package from changing the font of the whole text?

In my document, I use the sectsty package to change all chapter fonts from huge to \LARGE: \usepackage{sectsty} \chapterfont{\LARGE} This works fine also for ToC, LoF, and LoT, as long as I do not ...
1
vote
1answer
88 views

My personal TOC

I have read about this: Pretty table of contents Can someone tell me how to do that circle for my \part? I tried to copy some code but obviously did not work. \documentclass[twoside]{book} \...
1
vote
1answer
43 views

No autorefname for appendices when using babel with ngerman and appendix package

When using the appendix package together with [ngerman]{babel} changing appendixautorefname or Appendixautorefname has no effect. The error message No autoref name for 'Anhang' [...] persists. How ...
1
vote
1answer
67 views

Uppercase, italics and hyperlinks in toc of scrartcl without using tocstyle

The table of contents in my document looks like this at the moment: This is exactly how it should look like (with hyperlinks) - there is one problem, though. I only got this restult by using the ...
1
vote
1answer
107 views

Why sections in the minitoc are not bold?

Everything is in the question... \documentclass[a4paper,12pt,oneside]{book} % \usepackage[francais]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{subfig} \usepackage{...
2
votes
1answer
157 views

LaTeX list of figures/list of tables with KOMA-Script additions

I am pretty new to the wonderful world of LaTeX and I need your help. I want to add the prefix "Abb." to each entry of the list of figures, and the prefix "Tab." to each entry of the list of tables. ...
1
vote
0answers
37 views

Right-align LoF entries

Is there a simple way to align the RHS of LoF entries; for example using hyphenation, sloppy spacings, or similar? \documentclass{scrreprt} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \...
1
vote
1answer
47 views

Conflict between amsbook and tocloft

I use a document class that is based on amsbook class for my thesis and at the same time I want to stylize the list of figures and tables with tocloft. But apparently these two are have conflicts. A ...
1
vote
0answers
41 views

Hide irrelevant numbers in ToC [closed]

I have a question concerning the numbering of sections in my file. I use the article class and tocloft to format my table of contents. The relevant commands are: %customize table of contents \addto{\...
1
vote
0answers
69 views

Tableofcontents section and subsection don't fit in ToC page [closed]

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
131 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
61 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
53 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
50 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
203 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
38 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
128 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
111 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
44 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
84 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
74 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
109 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
96 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
104 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
32 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} \renewcommand{\...
1
vote
1answer
115 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
60 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
63 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
185 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
19 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
152 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
75 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
87 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
164 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
33 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
199 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 -...