new command for bash style listing
This commit is contained in:
parent
36cfccce43
commit
807f7da494
@ -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}
|
\lstloadlanguages{[ISO]C++, [ANSI]C, bash, make, sh, Gnuplot}
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
Loading…
Reference in New Issue
Block a user