{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

2
votes
1answer
17 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
50 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
3answers
52 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
44 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
22 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
33 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
19 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
49 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
37 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
80 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
69 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
36 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
60 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
76 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 ...
2
votes
1answer
61 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
36 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
75 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
55 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
103 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
72 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
103 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
43 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
155 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
125 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
94 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
2answers
196 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
157 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
122 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
58 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
73 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
209 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
164 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
118 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
93 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
50 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
92 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
93 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
44 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
188 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
167 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
382 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
112 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
76 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
98 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 ...
3
votes
1answer
54 views

How to wrap a TOC entry in custom code

I have a book in which I'm using titletoc and tocloft. I would like to be able to add some custom code to the code written to the .toc file. For example, I currently have a line in the .toc file like ...
5
votes
3answers
139 views

list of newcounter

I've set up a newcounter in a LaTeX document: \newcounter{example}[section] \newenvironment{example}[1][]{\refstepcounter{example}\par\medskip \textbf{Example~\theexample. #1} \rmfamily}{\medskip} ...
2
votes
1answer
83 views

tocloft cross-references a section as a subsection

I have document which creates a new list of examples. The list has a label \label{sec:examples} which labels the title of the list, which is rendered as a section. However, cross referencing ...
2
votes
2answers
274 views

How to use tocloft to create a list which appears in the middle of the document

I have a document in IEEE (conf) format and I want to add a new environment using tocloft. The relevant code looks like this (slightly abbreviated): \documentclass[conference]{IEEEtran} ...
1
vote
1answer
134 views

tocloft, listoffigures and scrheadings missing page-numbers

There are in this example page-numbers missing at the pages containing table of contents and list of figures. Just for clarification: They're not missing in toc or list of figures but on the pages ...
2
votes
1answer
155 views

How can I change the font size of TOC, LOF and LOT?

I am using \documentclass[11pt, a4paper]{memoir} \usepackage{tocloft} \renewcommand{\cftfigfont}{\small} \begin{document} \frontmatter \tableofcontents \cleardoublepages \listoffigures ...