I would like to number the list of figures and the table of contents, with Roman numerals, themselves (not the things listed in them).
Doing this, while leaving the main text in bold, and leaving the number unformatted.
I can't seem to find a way of doing so.
Best Answer
By default
\tableofcontents
and\listoffigures
do not use numbered headings. This can be changed using thetocbibind
package.The following code redefines
\tableofcontents
and inserts the\tocchapter
instruction, then loading the.toc
file with\tocfile{\contentsname}{toc}
.The macro
\unboldchapternumber
defines the chapter number to be not bold and switches to\Roman
and redefines the potential hyper anchor\theHchapter
in case ofhyperref
being loaded.After loading
\listoffigures
, the chapter counter should be reset to zero.