\documentclass[a4paper,12pt,openany,leqno,footinclude=true]{memoir}
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:
I want to include a dot after chapter number in TOC.
I used the second solution of the question above:
\usepackage{tocloft}%
\renewcommand{\cftchapaftersnum}{.}%
But it is not working,
I get the error
LaTeX Error: \cftchapaftersnum undefined
memoir
has a similar functionality astocloft
(they are written by the same person), thustocloft
is never loaded inmemoir
. Please refer to thememoir
manual to get thememoir
equivalent name (there are slight naming differences). Plus next time please remember to post a full miunimal example instead of posting sniplets like this\usepackage[dotinlabels]{titletoc}
to document preamble adds dots to every entry.