Following on from Turn on subsection numbering in memoir, having numbered my subsections, how can I get them to appear in the ToC?


\maxtocdepth Sets which headings level should show up in the table of content so if I understand you right you want to write:

  • 1
    I usually only use \settocdepth{subsection}, I have never had to mess with \maxtocdepth – daleif Mar 28 '11 at 8:42
  • @daleif: I believe \maxtocdepth is for the preamble, and defines the default that will be set by \mainmatter. – Brent.Longborough Apr 17 '12 at 13:25
  • 1
    I just looked, \mainmatter only touch secnumdepth. The difference between \settocdepth and \maxtocdepth – daleif Apr 18 '12 at 12:37

Use \setcounter{tocdepth}{2}. The value is similar to secnumdepth's.

  • 2
    Memoir has a better interface, mapping names to numbers. No new users know that 2 equals subsection – daleif Mar 28 '11 at 8:42
  • @daleif: Unless they read the manual. – TH. Mar 28 '11 at 8:57
  • 2
    @TH.: (subsection = 2) is what I call useless information. I only have ~ 1 terabyte in my brain... (:-) – Brent.Longborough Apr 17 '12 at 13:17

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.