further refined lstlisting style
This commit is contained in:
parent
b377566b39
commit
d0443e21c8
|
@ -1,6 +1,6 @@
|
||||||
\documentclass[12pt]{article}
|
\documentclass[12pt]{article}
|
||||||
%colours
|
%gives us the ability to use colour
|
||||||
\usepackage[dvipsnames]{xcolour}
|
\usepackage[dvipsnames]{xcolor}
|
||||||
%to set margins
|
%to set margins
|
||||||
\usepackage[margin=2cm]{geometry}
|
\usepackage[margin=2cm]{geometry}
|
||||||
%for math typing
|
%for math typing
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
breakatwhitespace=false,
|
breakatwhitespace=false,
|
||||||
breaklines=true,
|
breaklines=true,
|
||||||
captionpos=b,
|
captionpos=b,
|
||||||
commentstyle=\color{green},
|
commentstyle=\color{Green},
|
||||||
frame=single,
|
frame=single,
|
||||||
keepspaces=true,
|
keepspaces=true,
|
||||||
keywordstyle=\color{blue},
|
keywordstyle=\color{blue},
|
||||||
|
|
Loading…
Reference in a new issue