0

How to no-indent the second line of large TOC entries in memoir class?

I found a solution using toсloft, but I can not find how to do it in a memoir.

Thanks!

1 Answers1

1

This is no really supported out of the box, but can be achieved via

\usepackage{xpatch}
\makeatletter
\xpatchcmd{\l@chapapp}{\advance\memRTLleftskip\@tempdima}%
 {}%                       replace with nothing
 {\typeout{patched ok}}%   went ok
 {\typeout{patch failed}}% went bad
\makeatother

(only tested on chapters)

daleif
  • 54,450
  • Thanks a lot! Is it possible to achieve the same result on sections and subsections? – bosiakov Feb 22 '19 at 15:05
  • It works, (\l@section etc), but you'll have to change the \cftTYPEindent as well. I would ask you to reconsider using a design like this. It is not particularly readable for the reader. – daleif Feb 22 '19 at 15:44