Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go



CLICK HERE TO VISIT THE UPDATED SURVIVAL GUIDE

LATEX Table of Contents

LATEX Table of Contents

20201105 We can adjust the chapter or section numbers of a document:

\addtocounter{chapter}{10}    % Add 10 to the current chapter counter.

When we get more than 100 chapters then the layout of the contents pages needs some tuning as the three digit chapter numbers begin overlapping the chapter titles. The []tocloft package supports such fine tuning. The following are a good set of sizes for books with 100 or more chapters.

\usepackage{tocloft}

\renewcommand\cftchapnumwidth{2em}    % Space for the chapter numbers.
\renewcommand\cftsecindent{2em}       % Indent for the section entry.
\renewcommand\cftsecnumwidth{3.2em}   % Space for the section numbers.
\renewcommand\cftsubsecindent{5.2em}  % Indent for subsection.
\renewcommand\cftsubsecnumwidth{4em}  % Space for subsection numbers.


Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. Creative Commons ShareAlike V4.