Re: [PATCH -perfbook] Use margins/indents for twocolumn as defined in book class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 06, 2023 at 12:31:50AM +0900, Akira Yokosawa wrote:
> 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@xxxxxxxxx>

I did miss that one, good eyes!

Queued and pushed, thank you!

							Thanx, Paul

> ---
>  perfbook-lt.tex | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/perfbook-lt.tex b/perfbook-lt.tex
> index 9c89dd4254b8..3adf512effcb 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 {
> 
> base-commit: c9250f8d67fe9cdbaf6c25c27a395df48116a041
> -- 
> 2.25.1
> 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux