[texhax] memoir + frontmatter + section numbering

Lars Madsen daleif at imf.au.dk
Fri Jun 3 14:30:15 CEST 2005


Florian Knorn :

> hi there !
>
> i have a problem, that the section numbering does not take place as i want it 
> to:
>
> using the memoir package, setting
>
>   \setsecnumdepth{subsection} % give subsections numbers

\maxsecnumdepth{subsection} % also needed for some reason

>   \setcounter{tocdepth}{2} % in toc, index until and including subsections
>
>
> *if* i use \frontmatter and \mainmatter
>   the subsections do not get numbered in the toc and appear on the same 
> "level" as sections (but without numbers..)
>
> *else* (i.e. *not* using \frontmatter and \mainmatter)
>   things work as they are supposed to (i.e. subsections get numbers and 
> appeard numbered and on the proper level in the toc
>
>
> anybody got an idea what the problem could be ?
>

perhaps the missing \maxsecnumdepth{subsection}


also

\setcounter{tocdepth}{2} is equivalent to \settocdepth{subsection}


It is quite standard that chapters and section doesn't get numbered in 
within the frontmatter.



-- 

/daleif

``You cannot help men permanently by doing for them 
what they could and should do for themselves. ''
  -- Abraham Lincoln



More information about the texhax mailing list