Skip to contentSkip to conversation

defer/rcuusage: Tweak width of Figure 9.23 for 1c builds

PATCH Applied Akira Yokosawa 2 participants 2 messages Nov 30, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 defer/rcuusage: Tweak width of Figure 9.23 for 1c builds

Width of 5.5in does not fit in eb and 1c builds. The width of .96\textwidth works for both of them.

Note:
Strictly speaking, 1c builds don't need the scaling factor of .96. But an additional conditional for them would not change the result so much.

---
 defer/rcuusage.tex | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
defer/rcuusage.tex +6 -1
index e4c478f1..bc0d8778 100644
@@ -201,7 +201,12 @@ that of the ideal synchronization-free workload.
 
 \begin{figure*}
 \centering
-\resizebox{5.5in}{!}{\includegraphics{defer/RCUusecases}}
+\IfTwoColumn{
+  \resizebox{5.5in}{!}{\includegraphics{defer/RCUusecases}}
+}{
+  \resizebox{.96\textwidth}{!}{\includegraphics{defer/RCUusecases}}
+  % eb builds require .96
+}
 \caption{Relationships Between RCU Use Cases}
 \label{fig:defer:Relationships Between RCU Use Cases}
 \end{figure*}

base-commit: 7d9743376122167a9cdd9acc0decfe41e17a2a93

Signature · 1 line
2.17.1
#1 lore raw
Quoted 9 lines · Akira Yokosawa

Width of 5.5in does not fit in eb and 1c builds. The width of .96\textwidth works for both of them.

Note:
Strictly speaking, 1c builds don't need the scaling factor of .96. But an additional conditional for them would not change the result so much.

Queued and pushed, thank you!

Thanx, Paul

Quoted 27 lines
---
 defer/rcuusage.tex | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
defer/rcuusage.tex +6 -1
index e4c478f1..bc0d8778 100644
@@ -201,7 +201,12 @@ that of the ideal synchronization-free workload.
 
 \begin{figure*}
 \centering
-\resizebox{5.5in}{!}{\includegraphics{defer/RCUusecases}}
+\IfTwoColumn{
+  \resizebox{5.5in}{!}{\includegraphics{defer/RCUusecases}}
+}{
+  \resizebox{.96\textwidth}{!}{\includegraphics{defer/RCUusecases}}
+  % eb builds require .96
+}
 \caption{Relationships Between RCU Use Cases}
 \label{fig:defer:Relationships Between RCU Use Cases}
 \end{figure*}

base-commit: 7d9743376122167a9cdd9acc0decfe41e17a2a93

Signature · 1 line
2.17.1