{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

3
votes
2answers
43 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
64 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
47 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
53 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
27 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
23 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} ...
3
votes
1answer
33 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
66 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
62 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
1answer
52 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
0answers
23 views

I get the word “Table” in my tablelist overlapped with the name of the table

i need help with my list of tables. I changed the typical tablelist items from "1.1 Name" to "Table 1.1 Name" using subfigure and tocloft packages, but i get the name of the table and the word "Table" ...
0
votes
1answer
45 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
31 views

Using tocloft with custom titles

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
68 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 ...
0
votes
0answers
47 views

Why does my Table of Contents print the word “Chapter”?

I'm using Lyx, and am required to add the Dedication and Acknowledgement pages to the TOC. It looks great, except that I want the TOC to say "Dedication" and "Acknowledgements" instead of "Chapter ...
2
votes
0answers
96 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
92 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
44 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 ...
2
votes
1answer
79 views

Incompatibility issues within classicthesis

I'm using classicthesis.sty to write my master's thesis. In this style the tocloft is set up with the subfig package, which is now deprecated, so i'm using instead the subcaption package, the problem ...
2
votes
1answer
87 views

Align section number with bottom line of title in TOC with tocloft

I have a customized TOC modified with tocloft that I am vary pleased with (see below). The problem is when I have chapter titles that are more than one line long. The large chapter numbers are then ...
3
votes
1answer
73 views

Change number after chapter in table of contents

From Chapter Roman in tableofcontents , it has an effect on Theorem, Definition etc. I would like to change number of chapter into Roman number in tableofcontents like CHAPTER I in picture. ...
0
votes
0answers
42 views

Conditionally prepend text to chapter title in TOC

I want to prepend some text to chapter titles on the TOC according to certain conditions. For example (this doesn't work): \documentclass[letterpaper,openany,oneside]{book} ...
1
vote
3answers
97 views

How to hide chapter numbering in table of contents?

I know \setcounter{secnumdepth}{1} lets you set the depth of numberings, but I have to number sections and subsections only, not chapters. Is there a one-liner to do this? I have seen some answers to ...
2
votes
1answer
56 views

How can I hide the reference links in the TOC, LOF, and LOT globally (shared preamble)?

Question How can I use hypersetup{hidelinks} globally, such that the scope is the TOC, LOF, and LOT only? Situation I have many documents that share a common preamble. I am using the \hyperref ...
4
votes
1answer
173 views

Making chapters bold in table of contents

Problem: How do I make chapter titles bold in the below MWE? Minimal working example: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[titles]{tocloft} \begin{document} %: ...
2
votes
1answer
80 views

How can I exclude a custom sectioning command from the table of contents?

Question How can I exclude a custom titling command (sectioning command) from the table of contents? Note that I do not want to simply inherit the \paragraph, because it is reserved for and extra ...
2
votes
1answer
118 views

No page numbering on ToC, LoT, LoF

I'm trying to supress page numbering in the table of contents, list of figures and list of tables. If they have more than one page, subsequent pages should have no page numbering also, but they must ...
0
votes
0answers
48 views

Errors with tocloft

I'm trying to use tocloft to create a list of equations in the contents table of my thesis, but it's erroring when I compile the document. I've used \newcounter to define a new list of R scripts for ...
6
votes
1answer
176 views

extra \fi error when using \localtableofcontents inside an \if…\else..\fi

When I put \localtableofcontents (which comes from one of these pacakges tocloft or etoc), inside the \if....\else..\fi then I get an error. The reason I wanted to put it inside an if is because I ...
2
votes
0answers
145 views

LOF and LOT customization in memoir

I am attempting to add LOF and LOT to my current document using the memoir class. When I try to remove the spacing above the LOF and LOT titles, I get the "Undefined control sequence. ...
0
votes
1answer
138 views

Change page number of manually added TOC entry without adding blank pages

I have a main LaTeX document and an external PDF that I used to include with pdfpages (and it looks great!). But, now I want to insert TOC entries to reference sections and subsections inside external ...
1
vote
1answer
210 views

custom table of contents using tikz and tocloft

I have using tocloft and tikz for creating custom table of contents. Please find the my MWE below: \documentclass{book} \usepackage{tocloft,refcount} \usepackage[colorlinks,linkcolor=black]{hyperref} ...
6
votes
3answers
164 views

No hyphenation in TOC entries, please

I have some very long section titles and do not want their entries in the TOC to be hyphenated. \documentclass{scrreprt} %\usepackage[ngerman]{babel} \usepackage{tocloft} ...
1
vote
1answer
127 views

table of contents in two column different layout

I would like to get the below output in my table of contents. How do achieve this. My MWE is: \documentclass{book} \usepackage{tocloft} \makeatletter \renewcommand*{\l@section}[2]{% \ifnum ...
1
vote
1answer
71 views

Tocloft - change listof title format individually, while using titles option

I defined some new listofs with the tocloft package and used the provided titles option, but I only want the ToC to look like one of my chapters. My custom listofs should look like sections without ...
4
votes
1answer
85 views

Aligning the LOT and LOF captions

I try to align the captions in the LOT and LOF flush left. I had to add a word before the table and figure numbers. After I added these I could not make it flush left as you can see here on the ...
6
votes
2answers
236 views

How to get Section without numbers in Title and TOC, but subsections with them

First of all, I have been searching on the web and I have found similar cases but nothing useful for my problem, and more over, I'm pretty new in LaTeX. The Problem If I take off the numbers from ...
2
votes
2answers
192 views

Adjust space between chapter number and caption in TOC

I have document like this: \documentclass{book} \renewcommand\thechapter{\Roman{chapter}} \begin{document} \chapter{Some title} \chapter{Some other title} \chapter{One more title} \tableofcontents ...
1
vote
2answers
130 views

Chapter numbering in table of contents

I have a not so far problem from the question opened here: Adding word "Chapter" into Table of Contents for only numbered chapter entries I'm using a "literal numbering for chapters, using ...
2
votes
0answers
107 views

tocstyle style settings for user-defined list

I'm using tocloft and tocstyle using settings standard and nopagecolumn for my book. I'd like these settings to apply to my user-defined list of examples (.loe), but haven't had much luck. I naively ...
0
votes
1answer
51 views

How do I add a leader between the ToC chapter number and title with tocloft?

The title of my question says it all. Is it possible to add a leader between the number and title of a chapter in the ToC with tocloft? I tried doing this: ...
3
votes
2answers
113 views

Appendix with a colon causing problems in list of figures

I have added a colon to Appendix in the toc using the following command. \apptocmd{\appendices}{\apptocmd{\thesection}{:}{}{}}{}{} Due to this, in the list of figures section, I am getting ...
1
vote
1answer
111 views

Problem with tocloft, minitoc and bold math mode

To ensure equations in headings are written bold as well I have added the following command to my document: \makeatletter \g@addto@macro\bfseries{\boldmath} \makeatother This works very well until ...
2
votes
1answer
47 views

Leaders in tocloft with minimum width

How can redefine the leader in tocloft so that is has a minimum length? The background is that I always want leaders in TOC to appear with at least two dots, forcing line breaks in titles if ...
3
votes
1answer
201 views

Remove both number and chapter but keep in TOC

I am using \documentclass{book} with both packages tocloft and titlesec. I can't figure out if there is a way to remove both numbering and 'Chapter' (e.g "Introduction") from my \chapter's, but keep ...
3
votes
2answers
180 views

Using hspace before page number in contents, not aligned right

According to Robert Bringhurst (Elements of Typographical Style), leaders in a table of contents is unsightly. This question asks about one better way to set the table of contents. Another way, even ...
6
votes
1answer
408 views

Modify Fancy Table of Contents

I am creating a fancy ToC based on @pluton 's question How to customize the table of contents using TikZ? Although this code works fine, it seems that it missbehaves when using an appendix. Instead ...
3
votes
0answers
118 views

Packages to place partial TOC, LOF, LOT, LOA and LOS in some of the chapters in a report?

Context I'm doing a template for a Master Thesis based on the report class and want to achieve the following characteristics: a) Tikz-based titles, headers and/or footers b) IEEE-alphanumeric style ...
1
vote
0answers
84 views

How to match vertical alignment of titlesec with tocloft?

I want to vertically align the Contents title including the horizontal rules (using tocloft) with the Introduction chapter title (using titlesec). However, I am confused as both packages seem to ...
5
votes
1answer
110 views

tocloft: How to add chapters in a new list defined with \newlistof?

Using the tocloft package, I defined a "List of Footnotes" which is displayed as a simple list, while I would like to display the chapters, too, in the following way: List of Figures ...