I am using the report class in TeXworks/MiKTeX and was provided with a style that is a little out of date. I am having trouble with a bold section format being transferred from a page into my Table of Contents (I want "List of Figures" to be normal in the Table of contents instead of bolded but remain bold on the page created). I could not find any examples that created the table of contents like the file I have been provided by the University.
\def\contentsname{\bf{Table of Contents}}
\def\tableofcontents{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
\fi\chapter*{\contentsname
\@mkboth{{\contentsname}}{{\contentsname}}
}
{\doublespacing\@starttoc{toc}}\if@restonecol\twocolumn\fi}
\def\listfigurename{\bf{List of Figures}}
\def\listoffigures{\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn
\fi\chapter*{\listfigurename\@mkboth
{{\listfigurename}}{{\listfigurename}}}
\addcontentsline{toc}{chapter}{\listfigurename}
{\@starttoc{lof}}\if@restonecol
\twocolumn\fi}
Later in the .tex
\tableofcontents
\listoftables
\listoffigures
I can provide more of my code if it is needed.
\def\listfigurename{\bf{List of Figures}}
is wrong: the \xxxxname macros should just be text, since bold face has been added there then all uses of the text will be bold,. (\bf
shouldn't be used at all, but that's a different matter)