From 59dc6777f1e133b137593b145cce7bbbb9786097 Mon Sep 17 00:00:00 2001 From: Bryan Petty Date: Sun, 8 Feb 2015 02:53:28 +0000 Subject: [PATCH] Shorten PDF manual ToC, and fix ToC indents. The table of contents is over 600 pages long with the default settings. Now it only lists down to section, and runs 45 pages. Section numbers were also colliding with names, so this fixes the margins in the table of contents. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/doxygen/latex_header.tex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/doxygen/latex_header.tex b/docs/doxygen/latex_header.tex index a0da7f32c7..9abf51aa2a 100644 --- a/docs/doxygen/latex_header.tex +++ b/docs/doxygen/latex_header.tex @@ -87,8 +87,11 @@ % Indices & bibliography \usepackage{natbib} \usepackage[titles]{tocloft} -\setcounter{tocdepth}{3} -\setcounter{secnumdepth}{5} +\setcounter{tocdepth}{1} +\setcounter{secnumdepth}{2} +\setlength{\cftchapnumwidth}{2.0em} +\setlength{\cftsecnumwidth}{3.1em} +\setlength{\cftsubsecnumwidth}{4.0em} \makeindex % Hyperlinks (required, but should be loaded last)