Questions tagged [tocloft]
{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 ...".
747 questions
5 votes
1 answer
151 views
Newest pdfmanagement conflicts with tocloft package also for pdflatex
I have been using DocumentMetadata with tocloft in pdflatex without setbacks for more than two years. However, something changed with the most recent updates. Currently the code gives warning tocloft....
2 votes
2 answers
130 views
Make separate appendix table of contents and remove appendix chapters and sections from main toc
I want to remove all my Appendix Chapters, Sections etc. from the main TOC and only display "Appendix" with the page numer of the first page there. On the first page of the appendix there ...
2 votes
1 answer
98 views
How can I make the Table of Contents display the column number of a page in a two‑column document?
I am typesetting a document using the multicols package (sometimes in two‑column mode, other times in three‑column mode). I would like the Table of Contents to not only display the page number, but ...
2 votes
1 answer
85 views
Automating generating local TOC for each chapter and each section. Problem found
Currently, to make local TOC for each chapter and each section, I manually type some code just below each chapter and section title. I wanted to automate this using \renewcommand so that the code to ...
0 votes
0 answers
42 views
Limit number of subsections in tocloft package
I am trying to limit my TOC to 2 levels. No matter the commands I try, I only get errors. I saw something about \Zdepth{2},so i have tried \setcounter{\Zdepth}{2}} which did not work. How do I do ...
0 votes
1 answer
41 views
tocloft negates custom solution to disable heading in the list of figures
The mentioned solution was proposed in a post. It works, except if tocloft is also included. How can I have both? \documentclass{article} \usepackage{graphicx} %\usepackage{tocloft} \makeatletter \...
3 votes
1 answer
86 views
How to generate two copies of the table of contents etc
I have the code below to generate two copies of the table of contents, list of tables and list of figures at the beginning and the end: \documentclass{article} \usepackage{lipsum} \usepackage{graphicx}...
2 votes
0 answers
62 views
Formatting my TOC using tocloft - left-align chapter titles + modify chapter title formatting
I'm trying to format my table of contents to follow my university's guidelines, I've attached a picture here. I have tried to modify the default table generated in the document of class "report&...
0 votes
1 answer
114 views
How to Create a Table of Contents Format Like This in LaTeX?
Basically what the title says. I need my Table of Contents to look like the one in the image. I tried searching online but couldn't find anything similar—either because it doesn't exist or because I ...
2 votes
1 answer
91 views
Issues with customization of header lines and table of contents
I’m working on a document template that requires a specific structure, and I’m encountering several issues with customizing the Table of Contents (ToC) using the tocloft package. Additionally, I’m ...
3 votes
1 answer
80 views
Inconsistent spacing between list of tables and list of listings
As you can see from the image below, I cannot make the distances between the titles and the elements listed in it equal. Lists of figures, tables, and theorems have the same spacing, listings do not. ...
7 votes
2 answers
207 views
Removing the Vertical Gap Between Last Two Lines of TOC Subsection Entry
This following question relates to the one posted here: On the Display of Long Font Size-Adjusted Subsection TOC Entries Consider the following code which adjusts the font size of the TOC subsection ...
1 vote
0 answers
85 views
On the Display of Long Font Size-Adjusted Subsection TOC Entries
Consider the code: \documentclass[12pt,openany]{book} \usepackage[paperwidth=4in,paperheight=6in]{geometry} \textheight=4.85in \textwidth 3.00in \usepackage[sfdefault]{cabin} % Sets cabin as the main ...
1 vote
1 answer
77 views
'Listing'-text missing in list of listings
I adapted the list of listings from classicthesis. I want the entries in the list to be displayed like Codefr. 1 .... Codefr. 2 .... but instead they are displayed like this with the 'Codefr.' (or the ...
1 vote
1 answer
48 views
Remove TOC indentation when a new line is added
I have customised my TOC using tocloft so that it looks like this: I managed to have everything almost perfect, but I would like to know if it's possible to remove the indentation from the text ...