[PATCH 05/10] Define 'listing' environment for style guide

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

 



>From c73dfa97f5d383073fece910d9d0ede8bdab6e18 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Thu, 20 Jul 2017 23:42:40 +0900
Subject: [PATCH 05/10] Define 'listing' environment for style guide

Define an experimental floating environment for code snippet
to be used in style guide. It requires "floatrowpf" package
(customized floatrow).

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 perfbook.tex | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/perfbook.tex b/perfbook.tex
index cda014c..629ecea 100644
--- a/perfbook.tex
+++ b/perfbook.tex
@@ -80,6 +80,9 @@
 \renewcommand{\path}[1]{\nolinkurl{#1}} % workaround of interference with mathastext
 }{}
 
+\usepackage{floatrowpf} % Use customized floatrow
+\DeclareNewFloatType{listing}{placement=htbp,name=Listing,within=chapter,fileext=lst}
+
 \usepackage{bm} % for bold math mode fonts --- should be after math mode font choice
 
 \IfLmttForCode{
-- 
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