3

I've changed the chapter numbering to Roman, and now I want to increase the number width in the table of contents in order to avoid overlapping with chapter titles.

The usual trick

\setlength{\cftchapnumwidth}{2em}

with tocloft package doesn't work here because of the conflict with the class memoir. And when I try

\DisemulatePackage{tocloft}

a lot of errors appear.

How can I do ?

Here's a MWE :

\documentclass[a4paper,11pt,twoside]{memoir}

\makeatletter
\renewcommand \thechapter{\@Roman\c@chapter}
\makeatother

\begin{document}
\tableofcontents*
\chapter{Chapter one}
\chapter{Chapter two}
\chapter{Chapter three}
\end{document}
2

You need to set the length \cftchapternumwidth:

enter image description here

\documentclass{memoir}

\renewcommand{\thechapter}{\Roman{chapter}}
\setlength{\cftchapternumwidth}{5em}

\begin{document}

\tableofcontents*
\chapter{Chapter one}
\chapter{Chapter two}
\chapter{Chapter three}

\end{document}

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.