Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I've just tried to use \frontmatter with memoir class for the first time and everything works fine except for some weird detail. When I add \frontmatter and \mainmatter commands, the numbers of subsections disappear in the ToC and also in the subsection titles themselves. The code is the following:

...
\chapterstyle{veelo}
\setcounter{secnumdepth}{3}
...
\begin{document}
\frontmatter
\include{abstract}
\include{acknowledgement}
\setcounter{tocdepth}{2}
\tableofcontents
\include{chap0_intro}
\include{abbrev}
\mainmatter
\include{chap1_somi}
\include{chap2_simulation}
...

ToC looks like this:

enter image description here

Why and how can I get them back while keeping the matter-commands?

share|improve this question
add comment

1 Answer

Sorry, I've found an answer to this question eventually: in the comment to http://tex.stackexchange.com/a/3329/3897: I should use \setcounter{maxsecnumdepth}{3}, not secnumdepth.

Or, even better, \setsecnumdepth{subsection} as said in http://tex.stackexchange.com/a/33458/3897.

share|improve this answer
1  
Actually the correct memoir command is: \setsecnumdepth{subsubsection}. –  Alan Munn Jun 25 '12 at 19:12
    
@AlanMunn I've just updated the answer :) –  texnic Jun 25 '12 at 19:13
add comment

Your Answer

 
discard

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.