-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.tex
26 lines (23 loc) · 1023 Bytes
/
header.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
\usepackage{hyperref}
\usepackage{placeins}
\usepackage[toc,page]{appendix}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{verbatim}
\definecolor{OliveGreen}{rgb}{0,0.6,0}
\definecolor{BlueViolet}{rgb}{0.58,0,0.82}
\lstset{ %
showstringspaces=false,
backgroundcolor=\color{white}, % choose the background color
basicstyle=\footnotesize, % size of fonts used for the code
breaklines=true, % automatic line breaking only at whitespace
captionpos=b, % sets the caption-position to bottom
commentstyle=\color{OliveGreen}, % comment style
keywordstyle=\color{BlueViolet}, % keyword style
stringstyle=\color{black}, % string literal style
language=[AlLaTeX]TeX, % Set your language (you can change the language for each code-block optionally)
frame=lrtb, %
xleftmargin=\fboxsep, %
xrightmargin=-\fboxsep, %
moretexcs={lstset,color,colorlet, cellcolor, newcolumntype, columncolor, rowcolor, multirow, xspace, LaTeX, TeX},
}