TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 7 down vote accepted

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

share|improve this answer
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
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.

share|improve this answer
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
@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 posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.