memorder: Shrink ifthen.pdf for -1c and -eb builds
PATCH 1/1 memorder: Shrink ifthen.pdf for -1c and -eb builds
ifthen.pdf is tall and using \columnwidth makes it exceed paper height in -1c and -eb builds.
.45\textwidth gives reasonable size figures in all layouts.
--- memorder/memorder.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
memorder/memorder.tex +1 -1
@@ -449,7 +449,7 @@ on \begin{figure} \centering -\resizebox{\columnwidth}{!}{\includegraphics{memorder/ifthen}} +\resizebox{.45\textwidth}{!}{\includegraphics{memorder/ifthen}} \caption{If-Then Nature of Memory Ordering} \label{fig:memorder:If-Then Nature of Memory Ordering} \end{figure}
base-commit: 645f2734592176abc2f1eb87dcd1474b78ba9d2d
Signature · 1 line
2.25.1
PATCH v2 1/1 memorder: Shrink ifthen.pdf in -1c and -eb builds
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.
---
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(-)
memorder/memorder.tex +1 -1
@@ -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
Signature · 1 line
2.25.1