# [texhax] Contents line reformatting

Konstantin Karapetyan kotya.public at gmail.com
Wed Mar 15 06:31:40 CET 2006

> Did you try this?  (I don't actually know if it works here.)
> \renewcommand{\cftsecfont}{\uppercase}
> Cheers,  Phil Ratcliffe

Yes, I had tried this. It results in numerous errors like this:

! Missing { inserted.
<to be read again>
\hbox
l.3 ...e {section}{\numberline {1}Introduction}{4}

A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing I}' now.)

I've seen on the Web, that \uppercase is not recommended and that
\MakeUppercase is a better tool. But the latter cannot be used to set
the font.
`

More information about the texhax mailing list