I am using the package memoir
and I need to redefine the fonts in TOC with this rules:
- For Chapters: all-caps and bold
- For Sections: bold
- For SubSections: bold and italic
- For SubSubSections: bold and underline
- For SubSubSubSections: nothing to do
I had success to configure sections
:
\renewcommand{\cftsectionfont}{\bfseries}
subsections
:
\renewcommand{\cftsubsectionfont}{\bfseries\itshape}
But for chapters
, I didn't have success to use \MakeUppercase
:
\renewcommand{\cftchapterfont}{\MakeUppercase\bfseries}
and for subsubsections
, I didn't have success to put on underline
\renewcommand{\cftsubsubsectionfont}{\bfseries\underline}
So, how I put underline and uppercase?
Best Answer
\MakeUppercase
and\underline
are not font declarations. One has to work harder to achieve the result you want and that, personally, I don't like at all.