Repository navigation
Expand file tree
/
Copy pathmain.tex
More file actions
executable file
·83 lines (75 loc) · 1.67 KB
/
Copy pathmain.tex
File metadata and controls
executable file
·83 lines (75 loc) · 1.67 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
\documentclass[letter,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[margin=0.5in]{geometry}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{hyperref}
\usepackage{amsmath}
\author{Jonathan Herbert}
\title{Competitive Programming Notes}
\date{\today}
\definecolor{backgroundColour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{CStyle}{
backgroundcolor=\color{backgroundColour},
commentstyle=\color{green},
keywordstyle=\color{blue},
numberstyle=\tiny\color{gray},
stringstyle=\color{red},
basicstyle=\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2,
aboveskip=0.5em,
belowskip=1em,
language=C++
}
\lstdefinestyle{PyStyle}{
backgroundcolor=\color{backgroundColour},
commentstyle=\color{green},
keywordstyle=\color{purple},
numberstyle=\tiny\color{gray},
stringstyle=\color{red},
basicstyle=\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2,
aboveskip=0.5em,
belowskip=1em,
language=Python
}
\hypersetup{
colorlinks=true,
linktoc=all,
linkcolor=black
}
\begin{document}
\maketitle
\newpage
\tableofcontents
\include{./chapters/chapter01}
\include{./chapters/chapter02}
\include{./chapters/chapter03}
\include{./chapters/chapter04}
\include{./chapters/chapter05}
\include{./chapters/chapter06}
\include{./chapters/chapter07}
\include{./chapters/chapter08}
\include{./chapters/chapter09}
\include{./chapters/chapter10}
\include{./chapters/chapter11}
\end{document}