In my table of contents

I get the same problem as Dots after section number in TOC .

My chapter number in the TOC is like:

enter image description here

I want to include a dot after chapter number in TOC.

I used the second solution of the question above:


But it is not working,

I get the error

LaTeX Error: \cftchapaftersnum undefined
  • 1
    memoir has a similar functionality as tocloft (they are written by the same person), thus tocloft is never loaded in memoir. Please refer to the memoir manual to get the memoir equivalent name (there are slight naming differences). Plus next time please remember to post a full miunimal example instead of posting sniplets like this
    – daleif
    Nov 20, 2015 at 8:32
  • Note that adding \usepackage[dotinlabels]{titletoc} to document preamble adds dots to every entry.
    – EditPiAf
    Jun 11, 2018 at 11:49

1 Answer 1


This will solve the problem:


Edit: try with this MWE:

\section{blab blab} 
\section{bleb bleb} 

BTW: \cftchapteraftersnum is used in memoir.cls for defining \l@chapapp.

  • 2
    And please don't use \def, normal users should never use \def
    – daleif
    Nov 20, 2015 at 11:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .