* [PATCH -perfbook] memorder: Shrink ifthen.pdf for -1c and -eb builds
@ 2023-09-10 1:27 Akira Yokosawa
2023-09-10 8:04 ` [PATCH -perfbook v2] memorder: Shrink ifthen.pdf in " Akira Yokosawa
0 siblings, 1 reply; 2+ messages in thread
From: Akira Yokosawa @ 2023-09-10 1:27 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
ifthen.pdf is tall and using \columnwidth makes it exceed paper
height in -1c and -eb builds.
.45\textwidth gives reasonable size figures in all layouts.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
memorder/memorder.tex | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/memorder/memorder.tex b/memorder/memorder.tex
index 947e09c9f885..c5958a02a274 100644
--- a/memorder/memorder.tex
+++ b/memorder/memorder.tex
@@ -449,7 +449,7 @@ on
\begin{figure}
\centering
-\resizebox{\columnwidth}{!}{\includegraphics{memorder/ifthen}}
+\resizebox{.45\textwidth}{!}{\includegraphics{memorder/ifthen}}
\caption{If-Then Nature of Memory Ordering}
\label{fig:memorder:If-Then Nature of Memory Ordering}
\end{figure}
base-commit: 645f2734592176abc2f1eb87dcd1474b78ba9d2d
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH -perfbook v2] memorder: Shrink ifthen.pdf in -1c and -eb builds
2023-09-10 1:27 [PATCH -perfbook] memorder: Shrink ifthen.pdf for -1c and -eb builds Akira Yokosawa
@ 2023-09-10 8:04 ` Akira Yokosawa
0 siblings, 0 replies; 2+ messages in thread
From: Akira Yokosawa @ 2023-09-10 8:04 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
ifthen.pdf is tall and using \columnwidth makes it exceed paper
height in -1c and -eb builds.
.5\onecolumntextwidth (defined in preamble) gives reasonable size
figures in all layouts.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
v1 -> v2:
Use \onecolumntextwidth for smaller figure in -2c builds.
Paul, this is a minimal change for fixing gitlab-ci error [1].
Figures 15.1 and 15.2 look unnecessarily large in -2c builds.
I'll tweak those figures as a followup change.
[1]: https://gitlab.com/linux-kernel/perfbook/-/jobs/5052273781
Thanks, Akira
--
memorder/memorder.tex | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/memorder/memorder.tex b/memorder/memorder.tex
index 947e09c9f885..6cf136b8dc6e 100644
--- a/memorder/memorder.tex
+++ b/memorder/memorder.tex
@@ -449,7 +449,7 @@ on
\begin{figure}
\centering
-\resizebox{\columnwidth}{!}{\includegraphics{memorder/ifthen}}
+\resizebox{.5\onecolumntextwidth}{!}{\includegraphics{memorder/ifthen}}
\caption{If-Then Nature of Memory Ordering}
\label{fig:memorder:If-Then Nature of Memory Ordering}
\end{figure}
base-commit: 645f2734592176abc2f1eb87dcd1474b78ba9d2d
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-10 8:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-10 1:27 [PATCH -perfbook] memorder: Shrink ifthen.pdf for -1c and -eb builds Akira Yokosawa
2023-09-10 8:04 ` [PATCH -perfbook v2] memorder: Shrink ifthen.pdf in " Akira Yokosawa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).