From bec64efeca9dd7819bcd9721afaad653c5d02ff8 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Tue, 14 Jul 2026 16:25:28 -0700 Subject: [PATCH] widen TOC number columns in wolfSSH manual --- wolfSSH/header.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wolfSSH/header.txt b/wolfSSH/header.txt index 187c70a6..c966340c 100644 --- a/wolfSSH/header.txt +++ b/wolfSSH/header.txt @@ -17,5 +17,11 @@ header-includes: - \let\verbatim\undefined - \let\verbatimend\undefined - \lstnewenvironment{verbatim}{\lstset{breaklines,basicstyle=\ttfamily}}{} + # Widen TOC number columns so deep chapter.section.subsection numbers + # (e.g. 13.15.6 in the API Reference chapter) don't overlap the title text + - \usepackage{tocloft} + - \setlength{\cftsecnumwidth}{5.0em} + - \setlength{\cftsubsecnumwidth}{5.0em} + - \setlength{\cftsubsubsecnumwidth}{5.0em} subparagraph: yes ---