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] memorder: Shrink Figures 15.1 and 15.2 in 2c builds
Date: Mon, 11 Sep 2023 13:04:13 +0900	[thread overview]
Message-ID: <1241d4bd-07c4-c358-9f89-760ac989065c@gmail.com> (raw)

Figures 15.1 and 15.2 look unnecessarily large in 2c builds.
Reduce their widths a bit by using \onecolumntextwidth.

This change doesn't affect -1c and -eb builds.

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
Figure 15.2 is now at the top of page 319.
Figure 15.1 still appears in its own page. Tweaking the position
of its definition in memorder.tex might help here, but it is not
urgent, I guess.

You can find other uses of \onecolumntextwidth in figure*
environment in memorder.tex.  I think it is a reasonable template.
\textwidth is good for a figure with tiny fonts such as Figures
15.5 and 15.6.

--
 memorder/memorder.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/memorder/memorder.tex b/memorder/memorder.tex
index 6cf136b8dc6e..1a4edf8bbb6d 100644
--- a/memorder/memorder.tex
+++ b/memorder/memorder.tex
@@ -151,7 +151,7 @@ description.
 
 \begin{figure*}
 \centering
-\resizebox{\textwidth}{!}{\includegraphics{memorder/locktrans}}
+\resizebox{\onecolumntextwidth}{!}{\includegraphics{memorder/locktrans}}
 \caption{Locking Intuitions}
 \label{fig:memorder:Locking Intuitions}
 \end{figure*}
@@ -262,7 +262,7 @@ description.
 
 \begin{figure*}
 \centering
-\resizebox{\textwidth}{!}{\includegraphics{memorder/relacqtrans}}
+\resizebox{\onecolumntextwidth}{!}{\includegraphics{memorder/relacqtrans}}
 \caption{Release-Acquire Intuitions}
 \label{fig:memorder:Release-Acquire Intuitions}
 \end{figure*}

base-commit: 2feb406642d90fac3fbbcc515d60d3573773a3f4
-- 
2.25.1


             reply	other threads:[~2023-09-11  4:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-11  4:04 Akira Yokosawa [this message]
2023-09-11  8:33 ` [PATCH -perfbook] memorder: Shrink Figures 15.1 and 15.2 in 2c builds Paul E. McKenney

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=1241d4bd-07c4-c358-9f89-760ac989065c@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).