Hi all. This is more a latex problem than a lyx problem, but since
I'm using lyx I thought I'd ask here.
I have a complex document in which the table of contents
spans several pages.
My problem is that in the header the name of the table of contents,
(which is "Contents") appears capitalized and emphasized (italics).
I found a bizarre way to turn off the capitalization in the header by
adding:
\let\stdtoc\tableofcontents
\renewcommand*\tableofcontents{{%
\renewcommand*\MakeUppercase[1]{##1}\stdtoc}}
to the preamble.
But the header remains emphasized.
I *can* turn off the emphasis by using this command:
\renewcommand{\contentsname}{\em Contents}
but then, of course, "Contents" appears emphasized
in the main body of the text.
Or, if I add the table of contents with this:
\renewcommand{\contentsname}{\textnormal {Contents}}\tableofcontents{}
then the header is perfect, but I lose the bold face I want
"Contents" to be in in the body of the text.
The headers throughout the rest of the document are
perfect and I don't want to mess with them.
It's a minor problem but it is bothering me.
TIA,
--
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager