new command for bash style listing

This commit is contained in:
Thomas Klaehn 2016-02-18 09:02:00 +01:00
parent 36cfccce43
commit 807f7da494

View File

@ -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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%