summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira Yokosawa <akiyks@gmail.com>2023-09-06 00:31:50 +0900
committerPaul E. McKenney <paulmck@kernel.org>2023-09-05 09:50:51 -0700
commit3f62bfd47a6204c15c551757721cc935983eb063 (patch)
tree78e8034be4878e9cd690cddf500b3407bb7c41ce
parent7bb01cf3955de71133388d06966c8b875337a1bb (diff)
downloadperfbook-3f62bfd47a6204c15c551757721cc935983eb063.tar.gz
Use margins/indents for twocolumn as defined in book class
In perfbook.pdf, patches shown in Section 12.1.6.8 exceed the boxes surrounding them. Bisection points at commit 1063ddafb476 ("Get rid of 'twocolumn' option in \documentclass"). It turns out that there are a couple of indent and margin settings the geometry package does not take care of. Here is a list of such length parameters: - \parindent - \leftmargini - \leftmarginv - \leftmarginvi Those length are set shorter for the twocolumn option in book.cls and bk10.clo. Restore the previous behavior by explicitly setting them for twocolumn builds. Fixes: 1063ddafb476 ("Get rid of 'twocolumn' option in \documentclass") Signed-off-by: Akira Yokosawa <akiyks@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r--perfbook-lt.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/perfbook-lt.tex b/perfbook-lt.tex
index 9c89dd42..3adf512e 100644
--- a/perfbook-lt.tex
+++ b/perfbook-lt.tex
@@ -478,6 +478,11 @@
}{
\usepackage[letterpaper,body={6.5in,8.25in},twocolumn,columnsep=0.25in]{geometry}
}}
+ % Adjust indents/margins set in book.cls for twocolumn
+ \setlength{\parindent}{1em}
+ \setlength{\leftmargini}{2em}
+ \setlength{\leftmarginv}{.5em}
+ \setlength{\leftmarginvi}{.5em}
\sloppy % prefer wide inter-word spaces to occasional horizontal overfulls
}{ % One Column
\IfEbookSize {