[PATCH] Promote 'ruled' style as default of 'listing' environment

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

 



>From 74a0c53cb677deafcb68b9a22efcffd08b724f74 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Wed, 9 Aug 2017 07:40:41 +0900
Subject: [PATCH] Promote 'ruled' style as default of 'listing' environment

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 appendix/styleguide/styleguide.tex | 3 ---
 perfbook.tex                       | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/appendix/styleguide/styleguide.tex b/appendix/styleguide/styleguide.tex
index f869360..829a9c2 100644
--- a/appendix/styleguide/styleguide.tex
+++ b/appendix/styleguide/styleguide.tex
@@ -636,9 +636,6 @@ For code snippets, the ``ruled'' style would be our choice.
 Listing~\ref{lst:app:styleguide:Sample Code Snippet (Ruled)}
 is an example using the style.
 
-\floatstyle{ruled}
-\restylefloat{listing}
-
 \begin{listing}
 { \scriptsize
 \begin{verbbox}[\LstLineNo]
diff --git a/perfbook.tex b/perfbook.tex
index f622708..8f166ec 100644
--- a/perfbook.tex
+++ b/perfbook.tex
@@ -18,7 +18,7 @@
 \usepackage{etoolbox}
 
 \usepackage{float}
-\floatstyle{plain}
+\floatstyle{ruled}
 \newfloat{listing}{tbhp}{lst}[chapter]
 \floatname{listing}{Listing}
 \usepackage{lscape}
-- 
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