[texhax] memoir + frontmatter + section numbering

Florian Knorn floz at gmx.de
Fri Jun 3 15:44:13 CEST 2005


thx lars !

"\maxsecnumdepth{subsection} % also needed for some reason" did the 
trick ;-)

take care and have a nice weekend,

florian


Lars Madsen schrieb:

> 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.
>
>
>



More information about the texhax mailing list