new command for make file listings
This commit is contained in:
parent
9932215314
commit
36cfccce43
@ -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}
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
Loading…
Reference in New Issue
Block a user