I tried to use tocloft package to redefine the TOC title font as suggested in its documentation section 2.2 on p. 7

\renewcommand{\cfttoctitlefont}{\Huge}% Error on this line

That throws the error

Command \cfttoctitlefont undefined. \renewcommand{\cfttoctitlefont}

  • tocloft should not be used with memoir, memoir has its own version of tocloft build in and some of the macros have slightly different names – daleif Dec 18 '19 at 16:33
  • I added the memoir tag as it is important in this case. – daleif Dec 18 '19 at 16:42

tocloft should not be used with memoir it has its own setup (similar to tocloft but not identically.

In memoir we defined the TOC header to use the same macro that \chapter uses to typeset the title (to ensure a coherent design)

To do what you are attempting, you can use

\renewcommand\printtoctitle[1]{\Huge #1}%

The default is running \printchaptertitle which in its default state is just \chaptitlefont #1

  • That was my question from someone else's machine and you had put me in the right direction. Indeed memoir does a whole lot, but it is unfortunate that there are major inconsistencies in the macro naming while at the same time there is no clear indication that tocloft is not even loading under memoir. – SuperAl Dec 19 '19 at 0:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.