Move the setting for secnumdepth to the document classes; make the numbering

for the manual class go one deeper than it previously did (\subsection
entries will now be numbered); no change for howto documents.

This makes it easier to refer precisely to smaller sections using \ref.
This commit is contained in:
Fred Drake 1999-06-29 18:15:59 +00:00
parent 6bf37debb9
commit d85b5a418a
3 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@
%
\LoadClass[twoside]{article}
\setcounter{secnumdepth}{1}
% Optional packages:
%

View File

@ -13,6 +13,7 @@
%
\LoadClass[\py@paper,\py@ptsize,twoside,openright]{report}
\setcounter{secnumdepth}{2}
% Optional packages:
%

View File

@ -118,7 +118,6 @@
\pagestyle{empty} % start this way; change for
\pagenumbering{roman} % ToC & chapters
\setcounter{secnumdepth}{1}
% Use this to set the font family for headers and other decor:
\newcommand{\py@HeaderFamily}{\sffamily}