I'm trying to get chapters and sections to line up in a memoir ToC as:
Chapter one Chapter title
Section title
Another section
A third section
Chapter two Second chapter title
Another etc.
I really can't fathom the pseudo code on p.158 of the manual but I've tried setting widths for \cftpartnumwidth and \cftchapternumwidth but I can't get these boxes to work. My code:
% part
\cftpagenumbersoff{part}
\setlength{\cftpartnumwidth}{4.0cm}
% chapter
\setlength{\cftchapternumwidth}{4.0cm}
\renewcommand*{\cftchaptername}{Chapter\space}
\renewcommand*{\cftchapteraftersnum}{\hfill}
\renewcommand*{\chapternumberline}[1]{\cftchaptername \numtoname #1 \cftchapteraftersnum}
% section
\setlength{\cftsectionnumwidth}{4.0cm}
I can control the section title placement, but something is breaking the chapter title placement (I presume the renewal definition of \cftchapteraftersnum.
Can anyone give me the spell? thanks
============================== UPDATE:
I modified the code with Gonzalo's suggestion to:
\newlength\mylen
\settowidth\mylen{\bfseries\chaptername\hspace{3em}}
% part
\cftpagenumbersoff{part}
\addtolength\cftpartnumwidth{\mylen}
% chapter
\addtolength\cftchapternumwidth{\mylen}
\renewcommand\cftchapterpresnum{\chaptername~}
% section
\renewcommand\cftsectionindent{\dimexpr\mylen+1.5em\relax}
But it gives this:

The "Sections" are not lining up with the "Chapters"...

