[PATCH 07/10] Disable 'floatrow' layout in manually aligned code snippets

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

 



>From 5867a50f61759b67220b3dfdec72d7b9691f6b09 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Fri, 21 Jul 2017 00:02:37 +0900
Subject: [PATCH 07/10] Disable 'floatrow' layout in manually aligned code snippets

floatrow's default horizontal margin setting is "centering".
It conflicts with manually aligned code snippets in "figure*"
environments.

Disable the layout by \RawFloats macro for now.

These listings should be grouped into combined floating objects,
if we decide to employ the floatrow's feature.

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 defer/rcuusage.tex | 6 +++---
 howto/howto.tex    | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/defer/rcuusage.tex b/defer/rcuusage.tex
index af4faff..f3174f3 100644
--- a/defer/rcuusage.tex
+++ b/defer/rcuusage.tex
@@ -603,7 +603,7 @@ and
 all taken from
 Wikipedia~\cite{WikipediaRCU}.
 
-\begin{figure*}[htbp]
+\begin{figure*}[htbp]\RawFloats
 { \scriptsize
 \begin{verbbox}
  1 struct el {                           1 struct el {
@@ -623,7 +623,7 @@ Wikipedia~\cite{WikipediaRCU}.
 \label{fig:defer:Converting Reader-Writer Locking to RCU: Data}
 \end{figure*}
 
-\begin{figure*}[htbp]
+\begin{figure*}[htbp]\RawFloats
 { \scriptsize
 \begin{verbbox}
  1 int search(long key, int *result)     1 int search(long key, int *result)
@@ -649,7 +649,7 @@ Wikipedia~\cite{WikipediaRCU}.
 \label{fig:defer:Converting Reader-Writer Locking to RCU: Search}
 \end{figure*}
 
-\begin{figure*}[htbp]
+\begin{figure*}[htbp]\RawFloats
 { \scriptsize
 \begin{verbbox}
  1 int delete(long key)                  1 int delete(long key)
diff --git a/howto/howto.tex b/howto/howto.tex
index 323f95f..af88c46 100644
--- a/howto/howto.tex
+++ b/howto/howto.tex
@@ -361,7 +361,7 @@ Other types of systems have well-known ways of locating files by filename.
 \section{Whose Book Is This?}
 \label{sec:howto:Whose Book Is This?}
 
-\begin{figure*}[tbp]
+\begin{figure*}[tbp]\RawFloats
 {
 \scriptsize
 \begin{verbbox}
@@ -379,7 +379,7 @@ Other types of systems have well-known ways of locating files by filename.
 \label{fig:howto:Creating a Up-To-Date PDF}
 \end{figure*}
 
-\begin{figure*}[tbp]
+\begin{figure*}[tbp]\RawFloats
 {
 \scriptsize
 \begin{verbbox}
-- 
2.7.4


--
To unsubscribe from this list: send the line "unsubscribe perfbook" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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