Use margins/indents for twocolumn as defined in book class
PATCH 1/1 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 <[email protected]>
--- perfbook-lt.tex | 5 +++++ 1 file changed, 5 insertions(+)
perfbook-lt.tex +5 -0
@@ -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 {
base-commit: c9250f8d67fe9cdbaf6c25c27a395df48116a041
Signature · 1 line
2.25.1