[PATCH -perfbook 2/2] Use \raggedbottom for ebook-size builds

Akira Yokosawa <[email protected]>
Newsgroups org.kernel.vger.perfbook
Message-ID <[email protected]>
\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 <[email protected]>
---
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.