From: Noel Ullreich <n.ullreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve-docs 3/3] Fixed kerning in table of contents
Date: Tue, 3 Jan 2023 14:31:21 +0100 [thread overview]
Message-ID: <20230103133121.114234-4-n.ullreich@proxmox.com> (raw)
In-Reply-To: <20230103133121.114234-1-n.ullreich@proxmox.com>
changed horizontal spacing of section and subsection so that numbers
and titles would no longer overlap
Signed-off-by: Noel Ullreich <n.ullreich@proxmox.com>
---
asciidoc/dblatex-custom.sty | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/asciidoc/dblatex-custom.sty b/asciidoc/dblatex-custom.sty
index 02fbe16..c85ca34 100644
--- a/asciidoc/dblatex-custom.sty
+++ b/asciidoc/dblatex-custom.sty
@@ -10,6 +10,7 @@
%\usepackage[a4paper]{geometry}
\usepackage[a4paper, left=2cm, right=1cm, top=2.5cm, bottom=2cm ]{geometry}
+\usepackage[subfigure]{tocloft}
%% Just use the original package and pass the options.
\RequirePackageWithOptions{docbook}
@@ -67,6 +68,10 @@
\pagebreak[4]
}
+% fix kerning in contents page
+\cftsetindents{section}{1.5em}{2.5em}
+\cftsetindents{subsection}{4em}{3.5em}
+
% to correctly break inline code the texttt command needs to be renewed
\DeclareRobustCommand{\texttt}[1]{
\begingroup%
--
2.30.2
prev parent reply other threads:[~2023-01-03 13:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-03 13:31 [pve-devel] [PATCH pve-docs 0/3] Fixed formatting of pdf docs Noel Ullreich
2023-01-03 13:31 ` [pve-devel] [PATCH pve-docs 1/3] Fixed inline code breaking in " Noel Ullreich
2023-01-03 15:36 ` Thomas Lamprecht
2023-01-03 13:31 ` [pve-devel] [PATCH pve-docs 2/3] Fixed the table in 3.11.8 Noel Ullreich
2023-01-03 15:35 ` Thomas Lamprecht
2023-01-10 12:56 ` Noel Ullreich
2023-01-03 13:31 ` Noel Ullreich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230103133121.114234-4-n.ullreich@proxmox.com \
--to=n.ullreich@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.