perfbook.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -perfbook] memorder: Shrink Figures 15.1 and 15.2 in 2c builds
@ 2023-09-11  4:04 Akira Yokosawa
  2023-09-11  8:33 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Akira Yokosawa @ 2023-09-11  4:04 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -perfbook] memorder: Shrink Figures 15.1 and 15.2 in 2c builds
  2023-09-11  4:04 [PATCH -perfbook] memorder: Shrink Figures 15.1 and 15.2 in 2c builds Akira Yokosawa
@ 2023-09-11  8:33 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2023-09-11  8:33 UTC (permalink / raw)
  To: Akira Yokosawa; +Cc: perfbook

On Mon, Sep 11, 2023 at 01:04:13PM +0900, Akira Yokosawa wrote:
> 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>

Queued and pushed, thank you!

							Thanx, Paul

> ---
> 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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-11  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-11  4:04 [PATCH -perfbook] memorder: Shrink Figures 15.1 and 15.2 in 2c builds Akira Yokosawa
2023-09-11  8:33 ` Paul E. McKenney

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).