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 ...".

Filter by
Sorted by
Tagged with
0 votes
1 answer
224 views

Make chapter numbers appear in ToC (documentclass: book, using tocloft)

I am editing a document on Overleaf: https://www.overleaf.com/read/dfmmpdxfnpzd Unfortunately, for some reason the chapter numbers are not shown in the table of contents. I went through all forums I ...
Maxim Moloshenko's user avatar
0 votes
0 answers
35 views

Accessing Chapter Titles for Use in LOF - classicthesis

I have been heavily reliant on Tex Stack in customising the classicthesis style. I am trying to segregate the list of figures page by splitting the figures into chapters. I tried to extract the ...
Sudharshan Ravi's user avatar
1 vote
2 answers
301 views

Spacing in toc with KOMA-script or tocloft and visible header

right now I am using the tocloft-package for spacing in my toc. This results into the problem of not having a header on the page. Do you know a way to replace tocloft with KOMA-script commands or do ...
Jannis's user avatar
  • 35
2 votes
1 answer
70 views

Incorrectly ordered contents with tocloft

I am trying to add some horizontal bars to the contents of my thesis, to split it up a little. However, I am finding that the horizontal bars do not appear where I set them. As an MWE I have written ...
Eddy's user avatar
  • 291
0 votes
2 answers
208 views

How can I create a fancy TOC with background colors?

I'm trying to create a TOC that looks like the following: I already tried different ways of achieving it with titletoc and tocloft but I'm not getting the desired output. I would like the links to be ...
fr0zn's user avatar
  • 51
2 votes
1 answer
59 views

Hanging indentation of long section-level entries in the List of Appendices

\documentclass[a4paper,oneside,11pt]{book} \usepackage[left=4 cm,right=3cm,top=4cm,bottom=3cm]{geometry} \usepackage{amssymb} \usepackage{amsmath} \usepackage{lipsum} \usepackage{titlesec} \...
Ongky Denny Wijaya's user avatar
0 votes
0 answers
17 views

List of Tables Are Separated by File [duplicate]

I am generating a list of tables. My tables are in different files (tables in chapter1.tex) (table chapter2.tex).... I have been going at it for a while now trying to fix it. I have noticed that the ...
Grabinuo's user avatar
  • 101
1 vote
1 answer
64 views

How can I fix iupac related alignment issues in TOC?

Please have a look at the following picture of my TOC. You can see that there is an alignment issue with subsubsection 1.1.1 and subsubsection 1.1.2. The corresponding page number of subsubsection 1.1....
wewa's user avatar
  • 179
7 votes
2 answers
166 views

Amsbook class + two tables of contents

I would like to show two tables of contents with the amsbook class: Consider the following MWE, \documentclass{amsbook} \usepackage{shorttoc} \title{Title} \begin{document} \maketitle \shorttoc{...
Christine's user avatar
  • 115
0 votes
1 answer
123 views

List of invisible things

I need to create a list of invisible things. For instance, in the following MWE, there is a list of examples, but it should not appear in the text. MWE: \documentclass{article} \usepackage{tocloft} \...
Morzen's user avatar
  • 325
0 votes
0 answers
52 views

My custom list of "things" doesn't show the content inside the list

I am writing a document which contains a series of math formulas. I'm using the package tocloft, which has a section that explains how to make a new list of something. I did exactly what it is written ...
Simone Starace's user avatar
1 vote
2 answers
255 views

How to simply remove a page numbering from table of contents

I have a list of tables, list of images and list of abbreviations that i added to the toc. But i dont need the number of those pages to be shown in the toc. Unfortunately i tried the most of many ...
3logy's user avatar
  • 243
0 votes
1 answer
477 views

Change indentation within List of Figures (with tocloft package used)

As suggested with https://tex.stackexchange.com/a/576577/231568 I use tocloft to adjust the format of the list of figures. But as can be seen in the following picture (or also in the attachted picture ...
wewa's user avatar
  • 179
0 votes
1 answer
283 views

Title formatting using the tocloft package

I've been using Latex for some time now but I'm nothing but a beginner. I would like to change the style of the heading created for my own list called "ListofZ" below. In particular I would ...
Tork's user avatar
  • 61
0 votes
1 answer
65 views

Customize table of contents to get column-names

\usepackage{tocloft} \begin{document} \fontsize{14}{14}\selectfont {\tableofcontents{}} \end{documents} By this code, I get a simple table of contents: Contents Introduction ...
marooz's user avatar
  • 33
0 votes
2 answers
783 views

Table of contents not showing correctly

Anyone knows how to solve this? The problem is that the number is very close to the title when the number reaches 10. I will add an image to reference this. Thanks in advance! These are all the ...
user avatar
0 votes
1 answer
71 views

Paragraph page number misalignment in table of contents

I am using the Ph.D. dissertation .cls file. When I create a paragraph there is a misalignment in the paragraph page number in TOC. Below is the minimal code: \documentclass[final]{USC-Thesis_Minimal}...
PManjunatha's user avatar
0 votes
1 answer
125 views

How to suppress hyperlinks for custom headers in toc but still keep hyperlink for entries and page numbers?

I would like to use hyperlinks for page numbers and the appropriate entries in my table of contents, which works great using \usepackage[linktoc=all]{hyperref} for me. Only problem I have is, that I ...
owmal's user avatar
  • 325
1 vote
1 answer
176 views

TOC, lof, lot, centering Formatting

I am trying to format my table of contents, list of figures, and list of tables. I need to center the titles of all but when I do this extra spacing is added to the list of figures and list of tables ...
Matthew Rutledge's user avatar
1 vote
0 answers
244 views

Placing a List of Schemes in the Table of Contents

I am using the chemmacros package -- specifically its scheme module -- to generate a List of Schemes. (Note: the chemmacros package has been recently updated so that it is compatible with the book ...
Andrew's user avatar
  • 1,249
0 votes
2 answers
97 views

Is it possible to add a Table of Content into a chapter?

The Table of Content i want to add to the chapter is the ToC of my thesis. The Document I'm writing is the proposal for the thesis. So i want to add a ToC to a chapter of my document which is ...
Stephan's user avatar
0 votes
1 answer
46 views

Set tab length for a custom list made using a newcommand using tocloft

I have some overlapping increment numbers of the item, with the title of the item of a custom list that I have defined. The entry is inserted using a custom command as shown below but I don't ...
G M's user avatar
  • 2,225
0 votes
0 answers
465 views

How to force a line break in List of Figure caption in case of detecting a bracket

I would like to automatically add a linebreak to the captions in List of Figures in case it detects starting of a bracket [ex: '(']. Currently, it looks like below However, I am looking for something ...
Debayan Paul's user avatar
0 votes
1 answer
102 views

How can I get this book toc style?

I would like to have this style in my book written with the book LaTex class. How could I get it? Here is my code: \documentclass[10pt]{book} \usepackage{lipsum} \usepackage{fancyhdr} \usepackage{...
Vinícius's user avatar
0 votes
0 answers
67 views

Changing colours in the table of contents with unnumbered sections

I think is a crash between the packages unnumberedtotoc and tocloft... I want a table of contents with a black background, white font and unnumbered sections... But I can't have no idea how make the ...
Raphael Soares's user avatar
1 vote
0 answers
31 views

How to put starting and end page number of a chapter against the chapter in toc [duplicate]

My university need toc to look like the image uploaded how to do it in latex especially how to put starting and end page number of chapter against the chapter in toc
Daipayan Mandal's user avatar
1 vote
2 answers
466 views

How to add/include the title of custom "new list of" on the toc

I created a custom "list of appendix" using tocloft and i want to add the title of the list of appendix on the toc. How can i do that? Tocbibind only shows toc, lof, and lot, it doesn't show ...
user516076's user avatar
0 votes
1 answer
118 views

add an item in table of contents with no page number and hyperlink

I wanted to add a separate line saying "CHAPTER" in toc, but I don't want it to have a page number and to link anywhere. My current code is: \documentclass[12pt]{report} \usepackage[titles]{...
AbliusKarfax's user avatar
1 vote
0 answers
215 views

How can I change the line spacing in a multiline caption within the list of figures/tables?

I would like to know how to adjust the line spacing within a multiline entry? I am trying to increase the line spacing in the multiline entry which is wrapped in the table of figures/tables. I tried ...
Yune's user avatar
  • 11
0 votes
1 answer
274 views

If \RequirePackage{tocloft} doesn't work before \documentclass, how do I require the package?

I want to define a new list of things using \newlistof in the tocloft package. I included tocloft in the usual way for packages (\RequirePackage{tocloft}; full minimal code below). However, when I ...
pandammonium's user avatar
0 votes
2 answers
327 views

Right-align TOC title using KOMA or tocloft for the scrreprt class

I seriously hope this question hasn't been asked before, but I couldn't find one that fits my exact case. I'm using the scrreprt document class and successfully right-aligned the chapter titles using: ...
snoato's user avatar
  • 103
1 vote
1 answer
286 views

How to remove reference page numbers in table of contents

I haven't found a solution for this online and not sure what it's called, but I want to remove the numbers on the right of my table of contents for my subsections here is the code I have so far for my ...
anonymous's user avatar
0 votes
1 answer
628 views

formatting list of figures - tocloft package didn't work

This is what I have: And what I want: (hyphen between number and caption) I found out about the tocloft package from these two questions below, but it didn't work for me. I'm using a customized ...
Pedro Lima's user avatar
1 vote
1 answer
527 views

How to bold Chapter, Section name on the toc but not the dots and the numbers

Whenever i bold the text on the toc using \renewcommand{\cftsecfont}{\bfseries} the output will show like this: 2 Chapter Name ................................. 24 2.1 Section Name .....................
user516076's user avatar
1 vote
1 answer
510 views

Aligning List of Figures Page

Sorry if this quetion have been unanswered previously, but I am unable to follow the possible solutions in simmilar previous questions asked in the forum. I am very new to LaTex. Currently, I am ...
Debayan Paul's user avatar
1 vote
1 answer
595 views

How do I change the format of figure and table numbers in the list of figures and list of tables?

I create a list of tables using the \listoftables command, but the default numbering it uses in the list is not what I want. This is what it looks like right now: However, I would like for the ...
Juan Pablo Naranjo's user avatar
1 vote
2 answers
837 views

How can I modify \@dottedtocline so it produces a continuous line instead of a dotted line for custom sectioning commands?

I need to represent deeply nested container structures in technical documents. In my representation, each container needs to have its own section with sub-containers being included in sub-sections. In ...
Philipp's user avatar
  • 13
0 votes
1 answer
414 views

Change background color of table of content - tocloft, titlesec and tcolorbox conflict

Using all three tocloft, titlesec and tcolorbox packages result in a messed up formatting in the table of contents. Here is a MWE % !TEX program = xelatex \documentclass{article} \usepackage{tcolorbox}...
Cabin's user avatar
  • 3
0 votes
1 answer
203 views

How can I use a custom font in a new list of elements using tocloft?

I'm trying to create a custom list of equations using tocloft, but I'm not really sure how to use a custom font for each entry and its page number. Here's the code I'm using: \documentclass[12pt,...
maxxxroma's user avatar
2 votes
1 answer
268 views

Troubles customizing the ToC with tocloft

I'm having difficulties in setting up the ToC of a large book with many chapters, sections and subsections. The horizontal spacings aren't right, and the dots to the page number isn't right neither. ...
Cham's user avatar
  • 2,294
0 votes
1 answer
284 views

Displaying all page numbers in ToC on the left-hand side?

I'm trying to display the page numbers on the left side of the ToC. I used code from the Moving the page number in a table of contents to the left of the titles with tocloft thread and was able to ...
egarbugli's user avatar
0 votes
0 answers
75 views

How do I format my Table of Contents in LaTeX to this?

How do I implement this TOC in LaTeX? This is the TOC of "The Variational Principles of Mechanics" by Cornelius Lanczos.
Sourasish Karmakar's user avatar
1 vote
1 answer
59 views

How to typeset \listof (revisited)

I adapted the first thread to account for the answer. While reduced, the font size of \listof still too big to be for what I want to accomplish, leaving the original question standing. PS: I am aware ...
Erwann's user avatar
  • 2,100
1 vote
1 answer
130 views

setting correct indentation using tocloft and conflict between different lists

I am writing an article where I both need a list of figures and a list of Lemmas. I can create a custom list using tocloft and this works fine. However, the two lists are indented differently and I ...
rob41's user avatar
  • 23
1 vote
0 answers
310 views

table of figures failing to break only one caption line out of dozens of caption lines

I have a list of figures that breaks dozens of figure caption lines according to the margin settings, except for this one line of this one figure caption. If I add a word to the figure caption the ...
Euclides's user avatar
0 votes
1 answer
111 views

How to typeset \listof?

In the example below, \listof is typeset like a chapter, font-size-wise. How can I change its display, for example to look like a section? \documentclass{report} \usepackage{tocloft} %\usepackage[...
Erwann's user avatar
  • 2,100
0 votes
0 answers
147 views

How to remove the part number from a part, but only in the table of contents, and keep its default article styling?

In short, I want to have an "un-numbered part", with its default article styling, but only in the table of contents, not in the actual document. Basically the same as \renewcommand{\thepart}{...
Gremious's user avatar
  • 101
0 votes
1 answer
393 views

Changing distance between titles and page numbers and alignment using tocloft

I am trying to produce a TOC that runs ragged right. I want the distance between all titles (parts, chapters, sections) and page numbers to be 3 times the distance that's between the part/chapter/...
E2R0NS's user avatar
  • 289
0 votes
0 answers
89 views

patchcmd with if condtion

I've had the problem, that I needed a prefix in my list of figures/tables, but fortunately I found this solution. I work with the fancyhdr package, so I need the tocloft package with the title option....
flowmymind's user avatar
1 vote
1 answer
182 views

How do edit a list (of equations) made with tocloft?

I use this for my list of equations: \documentclass{article} \usepackage{amsmath} \usepackage{tocloft} \begin{document} \newcommand{\listequationsname}{Formelverzeichnis} \newlistof[section]{...
flowmymind's user avatar

1 2 3
4
5
15