From 807f7da494b962d2cc1264a449ea8a4c6f549199 Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Thu, 18 Feb 2016 09:02:00 +0100 Subject: [PATCH] new command for bash style listing --- config/sourcelst.tex | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config/sourcelst.tex b/config/sourcelst.tex index 747e3f8..f80253f 100644 --- a/config/sourcelst.tex +++ b/config/sourcelst.tex @@ -27,6 +27,19 @@ keywordstyle=\color{blue}\textbf } } +\newcommand{\lstsetbash} +{\lstset +{ +language=bash, +numbers=left, +tabsize=4, +frame=single, +basicstyle=\ttfamily\small, +commentstyle=\color{green}, +keywordstyle=\color{blue}\textbf +} +} + \lstloadlanguages{[ISO]C++, [ANSI]C, bash, make, sh, Gnuplot} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%