[PATCH 1/3] Rewrite custom margins for hardcover

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

 



>From 81a538c86b20d69ba711572d1627e4dc53ad9314 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Sun, 25 Sep 2016 08:22:58 +0900
Subject: [PATCH 1/3] Rewrite custom margins for hardcover

Instead of specifying absolute values for \topmargin and
\evensidemargin in \setlength commands, this commit uses
\addtolength commands and specifies "-0.25in" which corresponds
to the size reduction defined in the localized book.cls.
This change improves alignment of oddside and evenside pages
in double-side print.

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 perfbook.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/perfbook.tex b/perfbook.tex
index 1493d16..dd68c58 100644
--- a/perfbook.tex
+++ b/perfbook.tex
@@ -109,8 +109,8 @@
 }
 
 \IfHardCover{
-\setlength{\topmargin}{13pt}
-\setlength{\evensidemargin}{-4pt}
+\addtolength{\topmargin}{-0.25in}
+\addtolength{\evensidemargin}{-0.25in}
 }{}
 
 \setcounter{secnumdepth}{3}
-- 
2.7.4


--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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