[PATCH -perfbook 3/5] ebook: Increase headheight to satisfy fancyhdr

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

 



In ebook-sized builds, fancyhdr emits a lot of warning messages
complaining tight headheight (once per output page):

    Package fancyhdr Warning: \headheight is too small (10.84006pt):
    (fancyhdr)                Make it at least 12.0pt, for example:
    (fancyhdr)                \setlength{\headheight}{12.0pt}.
    ...

fancyhdr can be satisfied by moving 0.0165in from headsep to
headheight.

This change has very little effects in the header area (page
count position).

Fixes: 6ac88a351675 ("ebook: Print page counts on upper-right edge of page")
Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 perfbook-lt.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perfbook-lt.tex b/perfbook-lt.tex
index cdc0acc7..563e586d 100644
--- a/perfbook-lt.tex
+++ b/perfbook-lt.tex
@@ -402,7 +402,7 @@
   \IfEbookSize {
     % From https://tex.stackexchange.com/questions/16735/latex-options-for-kindle
     \usepackage[papersize={4.5in,6.3in},margin=0.2in,footskip=0.2in,
-      headsep=0.05in,headheight=0.15in,onecolumn,twoside=false]{geometry}
+      headsep=0.0335in,headheight=0.1665in,onecolumn,twoside=false]{geometry}
     \sloppy
     \setlength{\onecolumntextwidth}{4.1in}
     \usepackage{fancyhdr}
-- 
2.17.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