[PATCH -perfbook 4/5] styleguide: Adjust float size and add a floatbarrier for ebook-size build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 appendix/styleguide/styleguide.tex | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/appendix/styleguide/styleguide.tex b/appendix/styleguide/styleguide.tex
index 66dc9163..05fc57aa 100644
--- a/appendix/styleguide/styleguide.tex
+++ b/appendix/styleguide/styleguide.tex
@@ -1219,6 +1219,7 @@ which controls the behavior of \co{\\toprule}.
 \label{sec:app:styleguide:Improvement Candidates}
 
 \begin{figure*}[tbh]\centering
+\ebresizewidth{
 \begin{minipage}[t][][t]{2.1in}
 \resizebox{2.1in}{!}{\includegraphics{cartoons/1kHz}}
 \caption{Timer Wheel at 1\,kHz}
@@ -1230,6 +1231,7 @@ which controls the behavior of \co{\\toprule}.
 \caption{Timer Wheel at 100\,kHz}
 \label{fig:app:styleguide:Timer Wheel at 100kHz}
 \end{minipage}
+}
 \end{figure*}
 
 \begin{listing*}[tbh]%
@@ -1477,6 +1479,7 @@ is a sequence diagram drawn as a table.
 % This is why the 3rd row has the background color of <even-row color>.
 %
 % \cline of plain LaTeX also interfares the row count.
+\ebresizewidth{
 \begin{tabular}{rclcccccc}
 	\toprule
 	& & & \multicolumn{4}{c}{CPU Cache} & \multicolumn{2}{c}{Memory} \\
@@ -1495,6 +1498,7 @@ is a sequence diagram drawn as a table.
 	7 & 1 & Writeback	& 8/S &   8/S &   $-$/I & $-$/I   & V & V \\
 	\bottomrule
 \end{tabular}
+}
 \caption{Cache Coherence Example}
 \label{tab:app:styleguide:Cache Coherence Example}
 \end{table*}
@@ -1524,6 +1528,7 @@ chosen for simplicity.
 \renewcommand*{\arraystretch}{1.1}
 \footnotesize
 \centering
+\ebresizewidth{
 \begin{tabular}{lll}
 \toprule
 	Primitives &
@@ -1585,6 +1590,7 @@ chosen for simplicity.
 			Memory barrier \\
 \bottomrule
 \end{tabular}
+}
 \caption{RCU Publish-Subscribe and Version Maintenance APIs}
 \label{tab:app:styleguide:RCU Publish-Subscribe and Version Maintenance APIs}
 \end{table*}
@@ -1594,6 +1600,7 @@ chosen for simplicity.
 \rowcolors{3}{lightgray}{}
 \footnotesize
 \centering
+\ebresizewidth{
 \begin{tabular}{lllp{1.2in}}\toprule
 Category &
 	Primitives &
@@ -1663,6 +1670,7 @@ Pointer update &
 			Memory barrier \\
 \bottomrule
 \end{tabular}
+}
 \caption{RCU Publish-Subscribe and Version Maintenance APIs}
 \label{tab:app:styleguide:RCU Publish-Subscribe and Version Maintenance APIs (colortbl)}
 \end{table*}
@@ -1677,6 +1685,7 @@ is also a sequence diagram drawn as a tabular object.
 \renewcommand*{\arraystretch}{1.1}
 \small
 \centering\OneColumnHSpace{-0.1in}
+\ebresizewidth{
 \begin{tabular}{rllllll}
 	\toprule
 	& \multicolumn{3}{c}{CPU 0} & \multicolumn{3}{c}{CPU 1} \\
@@ -1696,10 +1705,13 @@ is also a sequence diagram drawn as a tabular object.
 		(Finish store) & & \tco{x1==2} \\
 	\bottomrule
 \end{tabular}
+}
 \caption{Memory Misordering: Store-Buffering Sequence of Events}
 \label{tab:app:styleguide:Memory Misordering: Store-Buffering Sequence of Events}
 \end{table*}
 
+\ebFloatBarrier
+
 \Cref{tab:app:styleguide:Refrigeration Power Consumption (arydshln)}
 shows another version of
 \cref{tab:app:styleguide:Refrigeration Power Consumption}
-- 
2.17.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux