From 36cfccce43892432b43ed726e31a255aefc775ca Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Thu, 3 Dec 2015 14:35:47 +0100 Subject: [PATCH] new command for make file listings --- config/sourcelst.tex | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config/sourcelst.tex b/config/sourcelst.tex index 4afb2ed..747e3f8 100644 --- a/config/sourcelst.tex +++ b/config/sourcelst.tex @@ -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} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%