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!

  • 3
    Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – DG' Feb 22 at 14:31
0

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)

  • Thanks a lot! Is it possible to achieve the same result on sections and subsections? – bosiakov Feb 22 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 at 15:44

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.