Tag Info

New answers tagged


You can use \cftpartfont for changing the font of part title and its number and cftpartpagefont for changing the font for page. \documentclass{book} \usepackage{xcolor} \usepackage{tocloft} \renewcommand\cftpartfont{\color{olive}} \renewcommand\cftpartpagefont{\color{olive}} \begin{document} \tableofcontents \part{A part} \chapter{a chapter} ...


Never put manual formatting commands in the arguments to commands for things like \title, \section etc. Formatting should be separate from content. The name of the section is content. The size and font used to typeset section headings is format and should not be in the argument to \section{}. Form and content should be distinct. ...

Top 50 recent answers are included