4
votes
2answers
39 views

Formatting list of figures with no space on left side

Basically I want this: Abbildungsverzeichnis Abbildung 1: somecaptiontextxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx.........................................................34 ...
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
32 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
69 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
44 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
42 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
67 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
56 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
45 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: ...
2
votes
0answers
37 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
44 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
46 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 ...
6
votes
2answers
92 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
191 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 ...
4
votes
1answer
84 views

Add a symbol in ToC between the section number and its section

My problem is that there exists an overlap between the symbol to introduce and the section title; it is manifest with two \heartsuits \documentclass{article} \usepackage{tocloft} \usepackage{lipsum} ...
6
votes
1answer
165 views

Table of equations like list of figures

I am fairly new at this and trying to put a table containing a brief description of the equations I use, into my thesis. This has proven to be quite an irritating problem. I have found a nice concise ...
1
vote
1answer
91 views

Lyx - List of Figures

I am using LyX and the report class. (KOMA-Script). My List of Figures just prints the figure number and its caption but not the word Figure infront. How could I modify the command in the Latex ...
3
votes
1answer
75 views

Include both short and long caption in list of figures

I'm writing a paper where I'm trying to repurpose the list of figures as a figure legends section. I'd like each figure to have something like "Figure X: Title" at the bottom, with list of figures ...
3
votes
2answers
124 views

Adjusting the look of ToC

I need to make my Table of Contents entries like this: (With the heading table of contents at the center). The things I was able to achieve till now: i) Modifying the title of ToC ii) Modifying ...
2
votes
1answer
111 views

Moving the page number in a table of contents to the left of the titles with tocloft

I would like to move the page number from the right-hand side of a table of contents to the left, using tocloft. The page number should still be right-aligned. The question has already been answered ...
3
votes
2answers
181 views

Underline the section title text in table of contents

Hopefully this is easy. I would like to underline the text of the section title in the table of contents (with the section number removed). Similar to this picture, with the red line where the ...
4
votes
1answer
93 views

\relax undefined in tocloft \cftchapaftersnum

I found this error while try to compile latex document in my new machine: ! LaTeX Error: \relax undefined. l.35 \renewcommand {\cftchapaftersnum}{.} It didn't appear in my previous ...
1
vote
0answers
41 views

etoolbox preto command doesn't work when tocloft package is used

So I am trying to use: \preto\tableofcontents{ ... } to add something before ToC (and same thing for LoF and LoT) in the Class file (i.e. neither adding ... in the real .tex file, nor making ...
2
votes
1answer
123 views

Space between items in List of Figures/Tables within a chapter

I would like to add some tiny space between items within a chapter in the List of Figures/Tables. It should be compatible with \setlength{\cftbeforechapskip}{Xpt} I'm using for ToC. My code is: ...
4
votes
1answer
103 views

How to make section name uppercase in ToC?

Is there another way to change section names in ToC to uppercase besides Uppercase sections and subsections on ToC Cause this one doesn't work for me very well. Can it be done with tocloft package?
3
votes
2answers
56 views

How to apply \cftafterpnum to specific entries (and add labels for columns of the TOC)

I'm trying to make a 3 column table of contents, which includes chapter name, page number, and a blank line for grading for a homework assignment. A previous question gave me the answer as to how to ...
4
votes
2answers
200 views

Replace (change) “Chapter 1” to “Chapter ONE” without affecting lof and lot

I used the answer given here Replace (change) "Chapter 1" to "Chapter ONE" but it only should be in case without a following list of tables (lot) or figures (lof). When used as it ...
2
votes
1answer
217 views

Cover pages for References, Appendix; fit them nicely in TOC

Would you please take a look at this? If I ask piecemeal questions, solutions seem to break each other. Please advice. I 'm trying to finish a thesis according to school requirements. Thesis has ...
3
votes
1answer
106 views

tocloft moving toc onto title page below abstract

I am using the tocloft package in order to reduce the space between the toc header and the table of contents itself. However, the package is causing the table of contents to move up onto the title ...
3
votes
1answer
137 views

To fix alignment in text added to Table of Contents?

My school requires tables of contents formatted like this -- please note the little headings, in red: I have it almost ready, except for a pesky misalignment in the second page of the table of ...
2
votes
1answer
287 views

Customization of chapter entries in Table of Contents

I want to customize chapter entries in Table of Contents. \documentclass[final]{book} \title{Title} \author{Author} \date{} \begin{document} \maketitle \tableofcontents \chapter*{Chapter Title} ...
4
votes
1answer
106 views

Tocloft customizations not working for algorithm's list

I have been fighting with tocloft to get it to apply some customizations across all the listings, but it seems that they only work for the default ones like "tocs", "lofs" and "lots". For the ones ...
4
votes
1answer
227 views

Adding dotted lines to the LOF and LOT

I am trying to add dotted lines in the table of contents using the tocloft package. \usepackage{tocloft} \renewcommand\cftchapdotsep{\cftdotsep} ...
4
votes
1answer
87 views

Some tricky issue with chapter in TOC

Again I'm asking for help, for a tricky issue, as for me. It is demanded from me that in the TOC I must write chapter-level headings without page number and dot filling. So, I'm using tocloft ...
0
votes
0answers
129 views

Uneven vertical spacing in list of figure

I am writing my dissertation and have two problems with list of figures. I am using a template and have little knowledge about modifying the template. The first problem is concerning vertical spacing ...
3
votes
1answer
90 views

ToC for Part Heading Levels

I use pdflatex (TeX Live 2013). I try to make a book that contains 27 parts. It's in Russian. Only the last part has \section and \subsection. Also I need to have the title of the book on top page ...
10
votes
1answer
57 views

How to make the TOC's part entry in one column while the others in two columns?

I use the tocloft package to design the Table of Contents. I want the part entries listed in one column and all the other entries such as chapter, section, subsection ... should be listed in two ...
5
votes
2answers
209 views

Source of Image in List of Figures

I need to have my sources, for example from image files, in my list of figures. \documentclass[10pt,a4paper]{article} \usepackage[list=true]{subcaption} \usepackage{graphicx} \usepackage{tocloft} ...
2
votes
0answers
172 views

How to customize a brief table of contents generated from tocloft and shorttoc into one page?

I am writing a book with over 20 chapters using LaTex. I generated the detailed Table of Contents with the package tocloft, and a brief TOC with shorttoc. Right now, the brief TOC has two pages but I ...
2
votes
1answer
101 views

Non-uniform spacing in table of contents (XeLaTex book, tocloft, Indic script)

I am typesetting a book in XeLaTex (TexLive 2012 on Windows) in Sanskrit. I am using the tocloft package for table of contents. I want the font size to be bigger in the TOC, for which I use the ...
7
votes
1answer
522 views

How do I center the table of contents title using tocloft?

I'm getting odd behavior using package tocloft to format my table of contents and center the titles "Contents", "List of Figures", and "List of Tables". Using the code suggested in the tocloft ...
5
votes
1answer
259 views

Getting error using \MakeUppercase with tocloft

Trying to use tocloft package to customize a table of contents, but I am running into errors using \MakeUppercase or \uppercase with certain commands, namely \cftsecfont. When I run the following ...
2
votes
1answer
98 views

How to add/change dot leaders with an apa6 document class

I've been having tremendous difficulty trying to add dot leaders for section titles (or maybe they're chapter titles?) on my thesis, because I'm using the apa6 document class. I can't seem to get any ...
2
votes
1answer
584 views

tocloft package interfering with ToC page style?

I use the trick from How to get header and footer over ToC, LoF and Nomeclature? to ensure that all pages[1] (including the 1st page of the Table of Contents) have headers and footers: ...
2
votes
1answer
103 views

Table of contents to display (linguex) paragraph numbers

I am writing a legal document with numbered paragraphs and I would like the table of contents to list paragraph numbers, not page numbers. I am using linguex.sty to count the paragraphs (in the MWE ...
1
vote
1answer
70 views

How to change the spacing for chapters which are not numbered

I would like to make a custom TOC so that: Introduction I.CHAPTER II. CHAPTER 1. Section 2. Section III. CHAPTER List of figures List of tables Notes The main idea is that chapters ...
3
votes
1answer
386 views

Dotted line in ToC despite \cftsetpnumwidth

Using the package tocloft I have a problem with the dotted line in my ToC. For I'm using roman page numbering I have numbers of about XXVIII or something like that which is too wide for the obviously ...
3
votes
1answer
82 views

Using tocloft getting chapter height problems

As shown in my MWE I'm using tocloft to add dots next to my chapters in the TOC. It works, but for a reason I don't know, the headings of the TOC, LOF, LOT are not on the same height as the regular ...
3
votes
1answer
154 views

How to turn off hyphenation in ToC only?

Here's what my template looked like before: \usepackage{tocloft} \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} I changed it to this: \usepackage{tocloft} ...
3
votes
1answer
363 views

Changing the table of contents width

In setting up a table of contents, by default the TOC spans the entire width of the page, regardless of the length of the section titles. I would like to have the entire TOC be only as wide as it ...