I'm using paragraph as I need some entries to go to a higher depth than subsubsection, however in the table of contents the font for \paragraph is different than for the others (weirdly the font size is bigger for \paragraph), and the page number for \paragraph is both a different font and not in line with the page numbers for the others. How do I fix it so \paragraph is formatted the same as the others?
1 Answer
For anyone else that has this problem, the commands
\renewcommand\cftparafont{<Insert font commands for text in table of contents>}
\renewcommand\cftparapagefont{<Insert font commands for page numbers in table of contents>}
e.g.
\renewcommand\cftparafont{\footnotesize \sf}
\renewcommand\cftparapagefont{\bfseries\sffamily}
Allows you to fix this
\l@section
to\l@paragraph
and edit as you wish