mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2024-11-23 19:17:54 +00:00
structure.tex: fixing \lstdefinestyle{mystyle}{}
This commit is contained in:
parent
0e1e99bf62
commit
3d92eedc62
|
@ -5,7 +5,7 @@
|
||||||
\usepackage{geometry}
|
\usepackage{geometry}
|
||||||
\usepackage{listings}
|
\usepackage{listings}
|
||||||
\usepackage{color}
|
\usepackage{color}
|
||||||
\usepackage[usenames,dvipsnames]{xcolor}
|
\usepackage[usenames,dvipsnames,svgnames]{xcolor}
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage[numbers,square,sectionbib,comma,nonamebreak,elide]{natbib}
|
\usepackage[numbers,square,sectionbib,comma,nonamebreak,elide]{natbib}
|
||||||
\usepackage{float}
|
\usepackage{float}
|
||||||
|
@ -82,22 +82,29 @@
|
||||||
|
|
||||||
|
|
||||||
\lstdefinestyle{mystyle}{
|
\lstdefinestyle{mystyle}{
|
||||||
backgroundcolor=\color{backcolour},
|
language=TeX,
|
||||||
commentstyle=\color{codegreen},
|
backgroundcolor=\color{backcolour},
|
||||||
|
commentstyle=\color{codegreen}\ttfamily,
|
||||||
keywordstyle=\color{magenta},
|
keywordstyle=\color{magenta},
|
||||||
numberstyle=\tiny\color{codegray},
|
numberstyle=\tiny\color{codegray},
|
||||||
stringstyle=\color{codepurple},
|
stringstyle=\color{codepurple},
|
||||||
basicstyle=\footnotesize,
|
basicstyle=\scriptsize\ttfamily,
|
||||||
breakatwhitespace=false,
|
breakatwhitespace=false,
|
||||||
breaklines=true,
|
breaklines=true,
|
||||||
captionpos=b,
|
captionpos=b,
|
||||||
keepspaces=true,
|
keepspaces=true,
|
||||||
numbers=left,
|
numbers=left,
|
||||||
numbersep=5pt,
|
showspaces=false,
|
||||||
showspaces=false,
|
|
||||||
showstringspaces=false,
|
showstringspaces=false,
|
||||||
showtabs=false,
|
showtabs=false,
|
||||||
tabsize=4
|
tabsize=4,
|
||||||
|
abovecaptionskip=5em,
|
||||||
|
aboveskip=3em,
|
||||||
|
belowcaptionskip=5em,
|
||||||
|
belowskip=3em,
|
||||||
|
upquote=true,
|
||||||
|
numbersep=8pt,
|
||||||
|
rulecolor=\color{black},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue