comparison Doc/texinputs/python.sty @ 11082:d04609a37dc1 legacy-trunk

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.
author Fred Drake <fdrake@acm.org>
date Tue, 29 Jun 1999 18:15:59 +0000
parents be0ac5abe83b
children 0a3bb403a430
comparison
equal deleted inserted replaced
11081:76008f8a0e5f 11082:d04609a37dc1
116 \parskip = 2mm 116 \parskip = 2mm
117 \hbadness = 5000 % don't print trivial gripes 117 \hbadness = 5000 % don't print trivial gripes
118 118
119 \pagestyle{empty} % start this way; change for 119 \pagestyle{empty} % start this way; change for
120 \pagenumbering{roman} % ToC & chapters 120 \pagenumbering{roman} % ToC & chapters
121 \setcounter{secnumdepth}{1}
122 121
123 % Use this to set the font family for headers and other decor: 122 % Use this to set the font family for headers and other decor:
124 \newcommand{\py@HeaderFamily}{\sffamily} 123 \newcommand{\py@HeaderFamily}{\sffamily}
125 124
126 % Redefine the 'normal' header/footer style when using "fancyhdr" package: 125 % Redefine the 'normal' header/footer style when using "fancyhdr" package: