I am using
\documentclass[11pt, a4paper]{memoir}
\usepackage{tocloft}
\renewcommand{\cftfigfont}{\small}
\begin{document}
\frontmatter
\tableofcontents
\cleardoublepages
\listoffigures
\cleardoublepage
\listoftables
\mainmatter
\chapter{Introduction}
Lorem ipsum blablabla...
\begin{figure}
\caption[Example]{This is caption 1.}\label{fig:ex1}
\end{figure}
As can be seen in Fig. \ref{fig:ex1}...
\end{document}
But unfortunately, my compiler keeps on telling me:
! LaTeX Error: \cftfigfont undefined.
What's going wrong here? Or: How can I set the font size of the TOC, the LOF and the LOT one pt smaller than the standard font size?
Best Answer
Memoir includes many parts of other packages, including
tocloft
, so it will be better to search thememoir
manual for the specific commands used in that class.Where
K
stands for the name of an item type entered into the contents lists (seememoir
manual table 9.3), use\cftKfont
to adjust the section titles and\cftKpagefont
to set the page numbers.I tidied a few things in the example and added a bit to test the different item types.