{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

0
votes
1answer
24 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 ...
0
votes
1answer
118 views
+50

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
122 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
93 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
17 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
46 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
128 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
68 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
81 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
39 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
27 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
47 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
52 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
34 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
91 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
104 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
262 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 ...
2
votes
0answers
78 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
47 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
52 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
48 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
111 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
66 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
249 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
82 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
96 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 ...
0
votes
1answer
64 views

Accent in equation list

I'm need to make a list of equation in my document. I found and use the modified version of Lev Bishop's code from here. Everything work until there's an accent in the equation label. I got this error ...
2
votes
1answer
68 views

Lists of figures and table - Print “Figure X.Y - ”

I want to customize my lists of figures and tables so that it looks like this: Figure 1.1 - Name of the fig. Figure 1.2 - etc. I am currently using the tocloft package and managed to have Figure ...
4
votes
2answers
81 views

Chapter Roman in tableofcontents

I try to change number of chapter to CHAPTER I,II,III in contents and it is done. \documentclass{report} \usepackage{tocloft} \addtocontents{toc}{~\hfill{\small Page}\par} \AtBeginDocument{% ...
1
vote
0answers
27 views

Add “Chapter” to the table of contents. Report class [duplicate]

I currently have my ToC formatted exactly as I need it except I need the word "Chapter" to appear before the chapter number. i.e: I want to see Chapter 1: Title instead of 1: ...
5
votes
2answers
70 views

Formatting list of figures with no space on left side

Basically I want this: Abbildungsverzeichnis Abbildung 1: somecaptiontextxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx.........................................................34 ...
3
votes
1answer
42 views

Centering List of X and Following with Text

With the tocloft package, I can add text under the title of a "List of Z" at the beginning of a latex document: \renewcommand{\cftafterZtitle}{\par\noindent \textnormal{Z} \hfill \textnormal{PAGE}} ...
4
votes
1answer
75 views

Reducing Vertical Margin List of Equations

I am trying to add a List of Equations to my dissertation that matches the style of the list of tables and list of figures. I am very close but am hung up on the last step. How can I reduce the ...
1
vote
0answers
26 views

How to move titles in TOC due to special numbering? [duplicate]

I need special numbering for an article: (e.g. Part 1 should be numbered J4.1, the section below should be J4.1.1). I did this with: \renewcommand{\thepart}{J4.\arabic{part}} \setcounter{part}{0} ...
1
vote
1answer
44 views

why adding tocloft package causes tex4ht not to generate a table of contents?

texlive 2014 on Linux mint 17. This MWE does not generate a table of contents in the HTML file generated by htlatex \documentclass{article} \usepackage{tocloft} %if this line is commented, then toc ...
1
vote
1answer
123 views

How to improve table of contents?

I want to improve my table of contents so that I have larger writing (but with different sizes for section, subsection etc..), better spacing between lines and to add 'page' above the numbers.., maybe ...
1
vote
1answer
85 views

Adding the string “part” before the entries in the TOC

I want to add the word "Part" before my entries in the toc. I read here that I could use \renewcommand\cftpartpresnum{Part~}. I have tried adding making some modifications to the partpresnum and ...
0
votes
0answers
66 views

Repeat headings in list of tables for multiple pages

I am trying to add header for the list of tables in multiple pages, which is something like this. I want to repeat that "Table" and "Page" on every page of my list of tables as shown in the figure. ...
3
votes
1answer
60 views

Divided list of figures

I am using this solution to divide my list of figures and tables into chapters, however, I have a section heading on its own at the bottom of a page and then the table captions are on the next page. ...
2
votes
2answers
67 views

Hyphenation in list of figures

I am trying to remove hyphenated words from my list of figures and tables and I've no real idea how to do it. I just don't like the look of the same words broken at different points. For example ...
0
votes
1answer
84 views

hyperref for longtable jumps to first page of PDF [closed]

I have have longtable in my document, but when I click the caption name in the list of tables, or any reference to the table (using \ref{tab:table label}) it takes me to the first page of the document ...
3
votes
1answer
305 views

Line spacing in ToC, LoF, and LoT

I am currently writing my thesis in Latex and the thesis is supposed to be double spaced, so I have used the \doublespacing command in my latex file. The problem: Chapter or Section Titles, Figure ...
3
votes
1answer
213 views

Adjust Format of List of Algorithms

I'm using an existing LaTeX template for a thesis and am trying to match the List of Algorithms to the List of Figures. I have already applied some formatting changes, but there are a few attributes ...
3
votes
2answers
59 views

How to customize the list of figure page from `.cls` file?

I have been preparing a .cls file modifying the article.cls. I need to customize the list of figure page of my document. The list of figure part of my .cls file is as follows: ...
3
votes
1answer
91 views

tocloft package adds page number to first side of table of contents

I have a problem with the tocloft package. Whenever I try to include it in my document, the first page (only) of the table of contents contains a page number, even so I donĀ“t want any page numbers at ...
2
votes
1answer
87 views

tocloft removes content title formatting

I am using code from this answer http://tex.stackexchange.com/a/93792/19817 to make horizontal lines above and under chapter title. \documentclass{book} \usepackage{titlesec} ...
3
votes
1answer
193 views

Undefined control sequence on \cftaddtitleline

The following code produces ! Undefined control sequence. \documentclass{article} \begin{document} \tableofcontents \cftaddtitleline{toc}{section}{Topic 1}{} \end{document} What am I doing wrong? I ...
4
votes
2answers
119 views

Add text before “part” number in table of contents

I would like to add "Partie" before the part's number it only appears in the text and not in the table of contents. It works for sections, subsections etc. but not part with renew command. This is ...
6
votes
2answers
126 views

Supress page numbers for \part in toc

I have created two custom macros for chapter and part command. When I am using following code: \documentclass[final]{book} \usepackage{lipsum} \usepackage{tocloft} ...
10
votes
1answer
274 views

Todonotes: group list-of-todos by section

This is a follow up question to group list-of-todos by chapter. egreg's solution works great with classicthesis and scrreprt, and I've been trying to do the same without classicthesis and for ...