[PATCH 5/5] Increase floatpagefraction for 2c layout

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

 



>From 15aea071f9a8ff33b0f97310b2afd4730d33afa1 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Thu, 29 Dec 2016 18:27:31 +0900
Subject: [PATCH 5/5] Increase floatpagefraction for 2c layout

In 2c layout, it sometimes looks imbalanced when a floating
figure or table with the "[p]" option occupies a column while
its next column is flushed from top to bottom. This is because
"floatpagefraction" command is defined as .5 (a figure or a table
whose height is 50% or more of textheight can occupy a column).

To prevent such occupations from happening in 2c layout, this
commit sets floatpagefraction as the same as "topfraction" command
for 2c.

This change will reduce typeset freedom of TeX engine, and might
cause some floating objects to be placed further from where they
are referenced in the text. If this causes an undesirable result,
we might need to reduce the value of floatpagefraction.

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

diff --git a/perfbook.tex b/perfbook.tex
index a3b2d84..324c708 100644
--- a/perfbook.tex
+++ b/perfbook.tex
@@ -136,6 +136,7 @@
 \setlength{\textheight}{8.25in}
 \setlength{\textwidth}{6.5in}
 \setlength{\columnsep}{0.25in}
+\renewcommand\floatpagefraction{.75}
 }{
 \setlength{\textheight}{8.25in}
 \setlength{\textwidth}{4.75in}
-- 
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