I am using classicthesis
package. I want to add boldface to the font of the chapter title in the table of content. In the FrontBackMatter/Contents
file, I add the following code:
\renewcommand\cftchapfont{\bf}
but it does not change anything. How can I simply add boldface to the current font of the chapter titles in TOC? Thanks.
Best Answer
The documentation for classicthesis mentions:
So, the package creator strongly discourages the use of bold fonts and begs not to do changes that break the style.
If you, however want to go against the author's advice, here's one way to do it:
The
\listheader
command simply changes to bold-faced chapter titles;\normalheader
restores the non-bold titles.As a final remark, please consider not doing this change; the spaced small caps of the titles is enough and adding bold-faced fonts is redundant and clearly breaks the style (even more if one takes into account that the change is not applied consistently, but only for some of the chapters).
A final remark: the reason why you attempt with
(notice that it should be
\bfseries
instead of the deprecated\bf
) didn't work (even thoughclassicthesis
usestocloft
) is because thetitles
option is passed totocloft
, so the\cft...
family of commands for the lists won't have effect and the formatting defined bytitlesec
will be applied.