mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Set LaTeX default tocdepth to 2 for howto documents (fixes #4330)
Memo: for Japanese documents, jreport.cls already does that, so this commit changes nothing. However as the class uses ``\chapter``, this means that by default howto documents table of contents in PDF have three levels, whereas manual documents only have two.
This commit is contained in:
parent
24c9103a2c
commit
201c59126f
@ -25,6 +25,7 @@
|
|||||||
% reset these counters in your preamble.
|
% reset these counters in your preamble.
|
||||||
%
|
%
|
||||||
\setcounter{secnumdepth}{2}
|
\setcounter{secnumdepth}{2}
|
||||||
|
\setcounter{tocdepth}{2}% i.e. section and subsection
|
||||||
|
|
||||||
% Change the title page to look a bit better, and fit in with the fncychap
|
% Change the title page to look a bit better, and fit in with the fncychap
|
||||||
% ``Bjarne'' style a bit better.
|
% ``Bjarne'' style a bit better.
|
||||||
|
Loading…
Reference in New Issue
Block a user