[PATCH -perfbook v2] memorder: Shrink ifthen.pdf in -1c and -eb builds

Akira Yokosawa <[email protected]>
Newsgroups org.kernel.vger.perfbook
Message-ID <[email protected]>
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 <[email protected]>
---
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.