3
votes
2answers
61 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 ...
3
votes
1answer
90 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 ...
5
votes
1answer
728 views

Table of Contents chapter number width

I am using the tocloft package to design my table of contents. I know how to set the width of the chapter numbers in the toc using \setlength{\cftchapnumwidth}{2em} However this sets a fixed ...
5
votes
3answers
3k views

Table of Contents with Chapter and Appendix

I'm using this code to get word Chapter in TOC before each chapter. \documentclass[a4paper]{book} \usepackage{tocloft,calc} \renewcommand{\cftchappresnum}{Chapter } ...
8
votes
1answer
770 views

\chaptername is used even for appendix chapters in ToC

I have searched for something to resolve a problem that has shown up here: How do I get \chaptername to appear in the table of contents? I have tried the code from that thread. But I got an issue, ...
6
votes
1answer
4k views

Display \chaptername in table of contents

I'm looking for something to resolve the problem that has been metioned at How do I get \chaptername to appear in the table of contents? and Table of Contents with “Chapter” and per-chapter ...
11
votes
2answers
699 views

loading tocloft makes \ifdefined\chapter TRUE in article class

I am using the article class, and I discovered that the tocloft package defines \chapter, which will mess up with my other stuff. How does this happen? Can I make \chapter "undefined" again after ...
3
votes
1answer
586 views

tocloft conditional spacing

This is my first question on stackexchange! I am using the tocloft package for my thesis and my university requires doublespacing before and after the chapter titles in the ToC, but only if the ...
7
votes
1answer
1k views

How do I indent the 2nd line a long chapter name created using the tocloft package so that it lines up correctly?

I am using the tocloft package already. I have a couple of long chapter names that wrap onto a second line, but it lines it up with the section numbers below. I must have this new line line up with ...
7
votes
1answer
2k views

Line of dots in Table of Contents?

In my ToC, the "Bibliography" entry is treated as a chapter heading, so has no line of dots to the page number. However, as it has no sections, my publishers would like the line of dots. Same for ...
2
votes
1answer
2k views

How to get the chapter name and other TOC data in the table of contents?

It's a good solution. But could you help me to change it a little bit. For example using report style in text I wrote: \documentclass{report} \usepackage{tocloft,calc} ...
15
votes
2answers
2k views

How do I get \chaptername to appear in the table of contents?

In my tex file I have changed the chapter name from 'Chapter' to 'Day', using: \renewcommand \chaptername {Day} But when I generate a table of contents it only shows '1' and not 'Day 1'. How do I ...