Skip to main content

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
2 votes
2 answers
42 views

How to color only the chapter, section and subsection numbers in Table of Contents?

I would like to change the color of the chapter, section and subsection numbers in the table of contents. I am using the minimal code below. However, it only colors the first chapter number, but ...
Andris Erglis's user avatar
2 votes
1 answer
55 views

Matching the table of contents with the chapter style of quotchap package

I like to apply the quotchap package style of the chapter headings to the headings of the table of contents, and the list of figures. Due to using another package tocloft, I am getting a conflict. ...
raf's user avatar
  • 785
0 votes
1 answer
55 views

Chapter Formant: CHAPTER 1 -> CHAPTER ONE

The new requirement of my school is CHAPTER 1 -> CHAPTER ONE. I check the .cls file, may I know how to adjust this? I appreciate your help % Chapter formatting in TOC \renewcommand{\cftchapindent}{...
amzra10's user avatar
0 votes
0 answers
22 views

Make every element of the List Of Figures (LOF) the same size

I am writing a report and for formatting reasons I will need to have different sizes for the captions of my figures. For example, here we can see that 2.3 is smaller than the other, I would like them ...
Sam's user avatar
  • 1
1 vote
1 answer
20 views

Second Line indentation in the LOF, document class report, in overleaf

I am trying to indent the second lines in the LOF as illustrated below (same for LOT). I took the picture from another question, but the solution provided there didn't work for my document class. ...
usermath's user avatar
0 votes
0 answers
15 views

Appendix and Page text on List of Appendices

Currently, I have this MWC. \newcommand{\listappendicesname}{LIST OF APPENDICES} \newlistof{appendices}{apc}{\listappendicesname} \renewcommand{\theappendices}{\Roman{appendices}} \newcounter{...
Kaixzer's user avatar
0 votes
0 answers
20 views

unexpected behavior of glossary-extra, acronyms are counted starting from lof/lot

I'm experiencing a weird (I presume) behavior for the package glossary-extra. Basically, as you can see in the MWE below, I have some glossary items as well as acronyms. I've also added some code, as ...
Matteo's user avatar
  • 323
0 votes
0 answers
10 views

List of figures, appendices, spacing

How can I add spacing between figures of different chapters in my list of figures of the appendices? I tried several things which I found on this website, but nothing works. Code: \usepackage[titles]{...
Lea Steinbusch's user avatar
0 votes
1 answer
34 views

Why is Tocloft shifting my ToC-title?

In my report I increased the margins with the geometry package. Afterwards i implemented Tocloft into my document to create dots between Chapter/section-title and pagenumber. This works fine. But by ...
PeterDonut's user avatar
2 votes
1 answer
47 views

"Advanced section/subsection" custom command produces unexpected numbering behaviour

I am attempting to create new commands for "advanced sections/subsections" (similar to what you might see in a textbook, where a "starred section" indicates an advanced topic or a ...
user319109's user avatar
0 votes
1 answer
23 views

Remove chapter numbering from table of content 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 chapters; just leave the chapter names. Anyone have any ideas? The job is to remove ...
alexaaaa's user avatar
0 votes
0 answers
24 views

error in table of figures and wrong character

Since two weeks I switched from pdflatex to xetex. In doing so, I encounter two problems: (1) an error message : Undefined control sequence. ...exthebrew{בֵּיצָה}, \textit{b=e\d s=a}} (2) In the list ...
Cook's user avatar
  • 31
0 votes
1 answer
34 views

Specifying tocloft package lengths - XeLaTeX

I'm using XeLaTeX compiler to create my pdf documents. Recently I had to adjust some lengths in tocloft table of contents, for example I tried changing \cftbeforechapskip using \setlength command -- ...
Ivan Mamontov's user avatar
4 votes
1 answer
42 views

Alignment of Entries in Table of Contents

I would like to reproduce the following TOC in pdfLaTeX: I am doing something along the following lines (showing, for example, the second line of the TOC): \documentclass[10pt,largepost]{octavo}% \...
user257660's user avatar
0 votes
0 answers
38 views

classicthesis table of contents font and style do not match [duplicate]

The table of content does not take the fonts and style set in classicthesis.sty. Monospace is not used. I assume this is a problem with KOMA script and titlesec or tocloft? Minimal working example: \...
xinran's user avatar
  • 1
0 votes
1 answer
39 views

Error occurred when using tocloft package in LaTeX file

I want to write a document class myself, which uses the tocloft package to edit the TOC format. An error occurs when compiling a TeX file using this document class: ! Undefined control sequence. l.3 \...
Zifan Zhang's user avatar
0 votes
0 answers
64 views

fancyhdr gets overridden by tocloft

I wanted to change the number and distribution of dots inside my toc so I tried to change this with the tocloft package like that: \usepackage{tocloft} \renewcommand{\cftsecleader}{\cftdotfill{\...
Obscuritas's user avatar
0 votes
1 answer
29 views

Tocloft check if custom list is empty

I have defined a custom list called "List of Missing Things" using the package tocloft. The list contains a couple of items, and the listof command does give me the respective list. ...
bebarty's user avatar
  • 35
0 votes
0 answers
45 views

Making Table of Contents entries boldface

So far, I want to create this kind of Table of Contents for my research proposal: Sadly, all I have is this one: Here's my MWE: \documentclass[a4paper,12pt]{report} \usepackage{indentfirst} \...
Kenneth Ligutom's user avatar
0 votes
1 answer
48 views

Remove dotted leaders only for a particular .tex file in the TOC

I have .tex files for the first few section, for example, acknowledgement .tex file looks like this: \doublespacing \addcontentsline{toc}{section}{\numberline{}\hspace{-.35in}\vspace{0.15in}{\...
Jack's user avatar
  • 1
0 votes
0 answers
23 views

Dots in table of contents [duplicate]

I need dots between chapter titles and page numbers in TOC. By default part and chapter do not have dots... I tried to look at tocloft package but could not figure it out how to do it. Thanks \...
Haim's user avatar
  • 539
2 votes
1 answer
45 views

How to prefix and wrap title line text in a ToC (for chapters) in the book class? [duplicate]

I am searching for a way to include the text "Chapter" as a prefix to the chapter numbering in a ToC for a book class AND have the chapter title wrap to the left-most edge in the ToC listing....
Jeffrey J Weimer's user avatar
2 votes
2 answers
117 views

My table of contents is weird

I doing a template which I use tocloft for summary title and titletoc for summary body. Well, I've just noticed that It isn't respecting the margin, so I dont know what to do now(find no error). Could ...
Leonidas's user avatar
1 vote
1 answer
56 views

Add hanging indents in list of figure entries in Latex

I am writing my Thesis. However the i am facing a problem while formatting list of Figure. I wanted to know how could I add hanging indents to the Figure Captions So that it is alligned to the first ...
Vishal Prajapati's user avatar
1 vote
1 answer
57 views

Different line spacings for sections, subsections, and subsubsections in table of contents

I want to achieve a table of contents with this appearance: Specifically, I want two things: For section entries to be one-and-a-half-spaced and for subsection and subsubsection entries to be single-...
donjuardo's user avatar
1 vote
1 answer
91 views

Centering ToC title with latex package tocloft

In my LaTex paper, I need to produce such a table of contents, list of figures and list of tables, all of which have the title being centered and capitalized, and other special additions (such as ...
Alex's user avatar
  • 67
3 votes
1 answer
157 views

Changing order of TOC entries automatically

I essentially want to achieve the same as this question. However, unlike the solution on that post, I cannot afford to do it manually, it needs to be performed automatically I have defined a \problem ...
PeterPawn's user avatar
2 votes
2 answers
63 views

Adding in TOC text after the page number

My task is to summarize a book and in that summarized version I need to keep both references to page number in the summary and also add manually the page number from the book something like this: I'...
DBL's user avatar
  • 21
0 votes
0 answers
15 views

Add custom table headers in table of content using tocloft

I'm new to latex and this is my first time using it to write my report. I want to style my Table of contents and list of figure like the following images- table of contents- list of figures- I ...
touha98's user avatar
1 vote
1 answer
60 views

How to make red page numbers in table of contents while 'linktoc=all' and '\hypersetup{linkcolor=black}' are present?

How can I make page numbers red in table of contents? I have colorlinks=true, linkcolor=blue, so standard internal links are blue; linctoc=all, so both table of contents entry names and page numbers ...
Linear Christmas's user avatar
0 votes
0 answers
27 views

Issues with newfloat, custom ref macros, and listof

I have written macros to generate "names spaces" for chapters and sections etc. This all works great but newfloat's listof feature (or the underling tocloft) seams to break on it: \...
AltF4's user avatar
  • 75
0 votes
1 answer
20 views

Ensuring sufficient horizontal space in TOC numbering when using alphalph to create multi-letter appendix names [duplicate]

I am using the appendix package to manage my appendix with the \appendices environment, specifically with the options toc and title so that in the text, headings read "Appendix A" whereas in ...
Ann's user avatar
  • 539
1 vote
1 answer
234 views

using @starttoc causes Package tocloft Warning: \@starttoc has already been redefined;

I am required to use a .cls (minimized code below) which produces this warning: Package tocloft Warning: @starttoc has already been redefined; tocloft bailing out. on input line 1156. Any thoughts on ...
me_online's user avatar
  • 125
1 vote
0 answers
29 views

LaTeX: Individualized figure names in List of Figures

sorry if this has been resolved elsewhere but I cannot find the solution and I'm not very LaTeX-savvy Currently I have some "Figures" in my document with the unique label "Movie" (...
samjam's user avatar
  • 11
0 votes
0 answers
28 views

Wrong page numbers in pdf bookmarks in two-part document

I'm writing a two-part document, where the second part has roman page-numbering and its own table of contents. Unfortunately, some sections in the second part (starting with the section 'Second Part') ...
picky_porpoise's user avatar
0 votes
1 answer
42 views

How to Fix Spacing Between Item Number and Caption in List of Figures

Consider the code: \documentclass[12pt]{book} \usepackage{graphicx,caption} \usepackage[T1]{fontenc} % Allows one to make bold smallcaps. \usepackage{tocloft} \renewcommand{\listfigurename}{\LARGE\...
DDS's user avatar
  • 9,768
2 votes
2 answers
220 views

What's wrong with this code (how to fix the overfull \hbox)?

I'm getting lots of "overfull \hbox" warnings during compilation of a large document, and apparently this is caused by the following ToC customization. The compiled PDF output appears to be ...
Cham's user avatar
  • 2,328
0 votes
1 answer
227 views

How do I make the chapter title in the heading different from the chapter title in the TOC?

I'm setting a document using the octavo class and including the packages tocloft and fancyhdr. Here are my fancyhdr settings: \fancyhead[CE]{\itshape\booktitle} \fancyhead[CO]{\itshape\leftmark} \...
Joel Derfner's user avatar
0 votes
0 answers
35 views

How can I make a table of contents with parttitle and chaptertitles before dots and pagenumber?

I use this setting: \renewcommand\cftchappresnum{\chaptername~} \renewcommand\cftpartpresnum{\partname~} \renewcommand\cftchapaftersnum{.} \renewcommand\cftpartaftersnum{.} \newlength\mylength \...
Nikolay Yasinskiy's user avatar
0 votes
0 answers
20 views

adding ToC prevents using custom LoF

I'm trying to make a document with the following structure: front matter (cover, etc) ToC (regular, no customization) text LoF (customized) Figures The issue: If I add a table of contents, the ...
Carlos Grohmann's user avatar
0 votes
1 answer
53 views

List of Figures customization

I want to customize the list of figures. Here is my settings: % Figures and table in the directories \usepackage[titles]{tocloft} \renewcommand{\cfttabpresnum}{Table } \renewcommand{\cftfigpresnum}{...
RoSy8264's user avatar
1 vote
1 answer
43 views

How to set TOC title above its content when using multicols and tocloft

Background: Hello there. I read this Q&A, which I thought would answer my question, but I am still confused (surely due to my newness to LaTeX). I have a two-column table of contents that uses ...
HermyS's user avatar
  • 15
0 votes
1 answer
58 views

How to set NO indent on 2nd line of a toc that is using multicols and tocloft

Background:: Hi there, new to everything here. I have a table of contents I'm producing in an Rnw file using \tableofcontents. I am formatting this toc to be two columns with the multicols package. I ...
HermyS's user avatar
  • 15
0 votes
0 answers
69 views

How to add dot after chapter number in table of contents without affecting the main document's chapters in book class?

I have made my own format of document and Table of content. The chapter title format in document is as follows: Chapter 1 (underline, all caps & centered) Chapter name or title (underline, all ...
Sage Khan's user avatar
0 votes
0 answers
58 views

How to get prefix for section numbering in Table of Contents using tocloft

Im trying to make a customized Table of Content. The section numbering in the document is as follows: Title of section. (Underline, in running text, with the first letter capitalized) In table of ...
Sage Khan's user avatar
3 votes
1 answer
158 views

Cannot add to "after" hook of sectioning command

It seems one cannot add to the "after" hook of a sectioning command. For example the document \documentclass{article} \AddToHook{cmd/section/after}{\bfseries} \begin{document} abc \section{...
mbert's user avatar
  • 4,506
0 votes
0 answers
74 views

Table of contents with horizontal lines like table

In my thesis, I have to change the table of contents layout according to the following picture. Being not so skilled in latex I can't get a way out. The codes of different people at StackExchange are ...
Optimist Optimizer's user avatar
1 vote
1 answer
78 views

How to Make a Portion of a Bold TOC Entry Not Bold on an Ad Hoc Basis

Consider the code \documentclass[12pt]{book} \usepackage{tocloft} \renewcommand{\cftchapfont}{\small\bfseries} \begin{document} \tableofcontents \addcontentsline{toc}{chapter}{INTRODUCTION (Unbold ...
DDS's user avatar
  • 9,768
0 votes
1 answer
69 views

cleanthesis - logo on each page after first chapter page

I currently use the cleanthesis v0.4.0 and my main issue right now is that I'm not able to place a logo on each page after the first page of the chapter. Used fancyhdr but I get always the complain ...
JmlGmbn's user avatar
  • 53
0 votes
1 answer
141 views

KOMA TOC: Changing tocline color

Is it possible to change the color of the tocline (dotted line between entrys and page number) only? Im not sure if this is possible in KOMA and havent found out how to use tocloft for this (or if ...
hendrik m's user avatar

1
2 3 4 5
15