perfbook.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH -perfbook v2] memorder: Shrink ifthen.pdf in -1c and -eb builds
Date: Sun, 10 Sep 2023 17:04:38 +0900	[thread overview]
Message-ID: <9f1664e3-61d4-de57-2adc-5d17d614b133@gmail.com> (raw)
In-Reply-To: <a467db6f-c2ff-39bb-c606-cef301b8977e@gmail.com>

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



      reply	other threads:[~2023-09-10  8:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9f1664e3-61d4-de57-2adc-5d17d614b133@gmail.com \
    --to=akiyks@gmail.com \
    --cc=paulmck@kernel.org \
    --cc=perfbook@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).