Tagged Questions
4
votes
1answer
298 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 ...
4
votes
3answers
1k 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 }
...
6
votes
1answer
362 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, ...
2
votes
1answer
1k 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 ...
8
votes
2answers
471 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
391 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 ...
6
votes
1answer
907 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
1k 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 ...
1
vote
1answer
1k 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}
...
14
votes
2answers
1k 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 ...