Skip to contentSkip to conversation

memorder: Shrink Figures 15.1 and 15.2 in 2c builds

PATCH Applied Akira Yokosawa 2 participants 2 messages Sep 11, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 memorder: Shrink Figures 15.1 and 15.2 in 2c builds

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.

---
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(-)
memorder/memorder.tex +2 -2
index 6cf136b8dc6e..1a4edf8bbb6d 100644
@@ -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

Signature · 1 line
2.25.1
#1 lore raw
Quoted 6 lines · 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.

Queued and pushed, thank you!

Thanx, Paul

Quoted 42 lines

---
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(-)
memorder/memorder.tex +2 -2
index 6cf136b8dc6e..1a4edf8bbb6d 100644
@@ -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

Signature · 1 line
2.25.1