new command for make file listings

This commit is contained in:
Thomas Klaehn 2015-12-03 14:35:47 +01:00
parent 9932215314
commit 36cfccce43

View File

@ -14,6 +14,19 @@ keywordstyle=\color{blue}\textbf
} }
} }
\newcommand{\lstsetmake}
{\lstset
{
language=make,
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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%