Tweak width of epigraph for two-column layout
PATCH 1/1 Tweak width of epigraph for two-column layout
From aa7969fe4675ab8ee3c7da0470b04f90574b641c Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Tue, 26 Jul 2016 20:31:20 +0900
Subject: [PATCH] Tweak width of epigraph for two-column layout
The default of \epigraphwidth is .5\textwidth. It is too wide for two-column layout.
This commit modifies it to .65\columnwidth for two-column layout.
--- perfbook.tex | 4 ++++ 1 file changed, 4 insertions(+)
perfbook.tex +4 -0
@@ -102,6 +102,10 @@ \setlength{\evensidemargin}{-4pt} }{} +\IfTwoColumn{ +\setlength{\epigraphwidth}{0.65\columnwidth} +}{} + \setcounter{secnumdepth}{3} \frontmatter
Signature · 1 line
1.9.1
Quoted 11 lines · Akira Yokosawa
Quoted 1 line
From
aa7969fe4675ab8ee3c7da0470b04f90574b641cMon Sep 17 00:00:00 2001From: Akira Yokosawa <[email protected]>
Date: Tue, 26 Jul 2016 20:31:20 +0900
Subject: [PATCH] Tweak width of epigraph for two-column layoutThe default of \epigraphwidth is .5\textwidth. It is too wide for two-column layout.
This commit modifies it to .65\columnwidth for two-column layout.Signed-off-by Akira Yokosawa <[email protected]>
I am not so sure about this. For example, see Chapter 3's epigraph, which ends up with a separate line for the last word. Ditto for the "Glossary and Bibliography", and Appendix A.
Chapter 16 ends up with a piled-high epigraph, as does Chapter 7.
Of course, the one-column version has similarly compressed epigraphs.
So I am wondering if it might be better to leave the two-column epigraph width alone and to expand the single-column epigraph width.
Thoughts?
Thanx, Paul
Quoted 23 lines
--- perfbook.tex | 4 ++++ 1 file changed, 4 insertions(+)perfbook.tex +4
-0@@ -102,6 +102,10 @@ \setlength{\evensidemargin}{-4pt} }{} +\IfTwoColumn{ +\setlength{\epigraphwidth}{0.65\columnwidth} +}{} + \setcounter{secnumdepth}{3} \frontmatterSignature · 1 line
1.9.1
Quoted 17 lines · Paul E. McKenney
Quoted 11 lines · Akira Yokosawa
Quoted 1 line
From
aa7969fe4675ab8ee3c7da0470b04f90574b641cMon Sep 17 00:00:00 2001From: Akira Yokosawa <[email protected]>
Date: Tue, 26 Jul 2016 20:31:20 +0900
Subject: [PATCH] Tweak width of epigraph for two-column layoutThe default of \epigraphwidth is .5\textwidth. It is too wide for two-column layout.
This commit modifies it to .65\columnwidth for two-column layout.Signed-off-by Akira Yokosawa <[email protected]>I am not so sure about this. For example, see Chapter 3's epigraph, which ends up with a separate line for the last word. Ditto for the "Glossary and Bibliography", and Appendix A.
Quoted 8 lines
Chapter 16 ends up with a piled-high epigraph, as does Chapter 7.
Of course, the one-column version has similarly compressed epigraphs.
So I am wondering if it might be better to leave the two-column epigraph width alone and to expand the single-column epigraph width.
Thoughts?
Okay. To give the same width of epigraph for both one- and two-column layouts, I'm sending a patch that sets an absolute length for \epigraphwidth as a reply to this message. This is a bit narrower than the original two-column one, but it seems OK to me. What do you think?
Thanks, Akira.
Quoted 28 lines
Thanx, Paul
Quoted 23 lines
--- perfbook.tex | 4 ++++ 1 file changed, 4 insertions(+)perfbook.tex +4
-0@@ -102,6 +102,10 @@ \setlength{\evensidemargin}{-4pt} }{} +\IfTwoColumn{ +\setlength{\epigraphwidth}{0.65\columnwidth} +}{} + \setcounter{secnumdepth}{3} \frontmatterSignature · 1 line
1.9.1
PATCH v2 1/1 Tweak width of epigraph
From 63252e8e5f8e3a74e1ab41fd577b90cdf037e36c Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Wed, 27 Jul 2016 23:51:18 +0900
Subject: [PATCH v2] Tweak width of epigraph
The default of \epigraphwidth is .5\textwidth.
This causes different widths of one-column and two-column layouts. This commit defines it in an absolute length to specify same width for both layouts
--- perfbook.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
perfbook.tex +1 -1
@@ -31,7 +31,7 @@ \usepackage{footnotebackref} % to enable cross-ref of footnote \usepackage[all]{hypcap} % for going to the top of figure and table \usepackage{epigraph} - +\setlength{\epigraphwidth}{2.3in} % custom packages \usepackage{qqz}
Signature · 1 line
1.9.1
Re: [PATCH v2] Tweak width of epigraph
Quoted 5 lines · Akira Yokosawa
Quoted 1 line
From
63252e8e5f8e3a74e1ab41fd577b90cdf037e36cMon Sep 17 00:00:00 2001From: Akira Yokosawa <[email protected]>
Date: Wed, 27 Jul 2016 23:51:18 +0900
Subject: [PATCH v2] Tweak width of epigraph
Quoted 7 lines
The default of \epigraphwidth is .5\textwidth.
This causes different widths of one-column and two-column layouts. This commit defines it in an absolute length to specify same width for both layoutsSuggested-by Paul E. McKenney <[email protected]>Signed-off-by Akira Yokosawa <[email protected]>
Much better!!! Queued, thank you!
Thanx, Paul
Quoted 21 lines
--- perfbook.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)perfbook.tex +1
-1@@ -31,7 +31,7 @@ \usepackage{footnotebackref} % to enable cross-ref of footnote \usepackage[all]{hypcap} % for going to the top of figure and table \usepackage{epigraph} - +\setlength{\epigraphwidth}{2.3in} % custom packages \usepackage{qqz}Signature · 1 line
1.9.1