mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix problem for the Library Reference where high-numbered sections of
high-numbered chapters took too much space for the section number in the table of contents. This makes the section number and title not overlap.
This commit is contained in:
parent
42de185a77
commit
255284b42a
1 changed files with 5 additions and 0 deletions
|
@ -122,6 +122,11 @@
|
|||
\@ifundefined{fancyhf}{}{\pagestyle{normal}}%
|
||||
\@doing@page@targetstrue%
|
||||
}
|
||||
% This is needed to get the width of the section # area wide enough in the
|
||||
% library reference. Doing it here keeps it the same for all the manuals.
|
||||
%
|
||||
\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.6em}}
|
||||
\renewcommand*\l@subsection{\@dottedtocline{2}{4.1em}{3.5em}}
|
||||
|
||||
|
||||
% Fix the theindex environment to add an entry to the Table of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue