From fb2585b7087492572fb2a2e67750940034eca4b3 Mon Sep 17 00:00:00 2001
From: David Werner <david.werner@posteo.de>
Date: Sun, 16 Jan 2011 14:27:10 +0000
Subject: [PATCH] tuning of listings style for bash code listings in
 install.tex

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5018 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 doc/handbook/dumux-handbook.tex | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/doc/handbook/dumux-handbook.tex b/doc/handbook/dumux-handbook.tex
index 98fc7b7747..f260eac2fc 100644
--- a/doc/handbook/dumux-handbook.tex
+++ b/doc/handbook/dumux-handbook.tex
@@ -11,20 +11,23 @@
   keywordstyle=\color{black}\bfseries, tabsize=4, stringstyle=\ttfamily,
   commentstyle=\it, extendedchars=true, escapeinside={/*@}{@*/}}
 
+% for listings of bash code in install.tex
 \definecolor{BashGrey}{rgb}{0.9,0.9,0.9}
 \lstdefinestyle{Bash}
  {language=Bash,
  backgroundcolor=\color{BashGrey},
- keywordstyle=\color{black}\bfseries,
- commentstyle=\color{black},
- stringstyle=\color{black}\ttfamily,
- showstringspaces=true,
- basicstyle=\small\color{black},
+ basicstyle=\ttfamily\small,
  numbers=none,
  captionpos=b,
  tabsize=4,
- breaklines=true
- }
+ breaklines=true,
+ breakatwhitespace=true,
+ frame=single,
+ rulecolor=\color{BashGrey},
+ framerule=1pt,
+ framesep=1pt,
+ rulesep=0pt
+}
 
 \usepackage{hyperref}
 \usepackage{psfrag}
-- 
GitLab