perfbook.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH -perfbook 2/2] Use \raggedbottom for ebook-size builds
Date: Sat, 19 Aug 2023 09:06:42 +0900	[thread overview]
Message-ID: <04989c09-1c98-0a46-6237-86f51dd77d72@gmail.com> (raw)
In-Reply-To: <bcfc8abd-05e4-2700-982e-e0cbd401fc1a@gmail.com>

\flushbottom, which is the default of book class, is suited for
typesetting double-sided printed documents.

For ebook-size builds, which is one-sided, \flushbottom doesn't
make much sense.  \raggedbottom should be a better option as it
prevents excessively tall vertical stretches between paragraphs and
elsewhere.

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
 perfbook-lt.tex | 1 +
 1 file changed, 1 insertion(+)

diff --git a/perfbook-lt.tex b/perfbook-lt.tex
index fdfde1953225..9c89dd4254b8 100644
--- a/perfbook-lt.tex
+++ b/perfbook-lt.tex
@@ -603,6 +603,7 @@
 \renewcommand{\epigraph}[2]{\epigraphorig{\biolinum\emph{#1}}{\biolinum\scshape\footnotesize #2}}
 \IfEbookSize{
   \newcommand{\Epigraph}[2]{\epigraph{#1}{#2}}
+  \raggedbottom
 }{
   \newcommand{\Epigraph}[2]{\epigraphhead[65]{\epigraph{#1}{#2}}}
 }
-- 
2.25.1



      reply	other threads:[~2023-08-19  0:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-18 23:57 [PATCH -perfbook 1/2] qqz.sty: Work around orphaned section heading Akira Yokosawa
2023-08-19  0:06 ` Akira Yokosawa [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=04989c09-1c98-0a46-6237-86f51dd77d72@gmail.com \
    --to=akiyks@gmail.com \
    --cc=paulmck@kernel.org \
    --cc=perfbook@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).