-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.tex
More file actions
122 lines (101 loc) · 2.66 KB
/
notes.tex
File metadata and controls
122 lines (101 loc) · 2.66 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
\documentclass[oneside]{book}
\usepackage{ifthen}
\newboolean{draft}
\setboolean{draft}{false}
\newcommand{\IfDraft}[1]{\ifthenelse{\boolean{draft}}{#1}{}}
\newcommand{\IfNotDraft}[1]{\ifthenelse{\boolean{draft}}{}{#1}}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[russian]{babel}
\usepackage[a4paper]{geometry}
\usepackage[usenames,dvipsnames]{color}
\usepackage[svgnames,dvipsnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{arrows,backgrounds,calc,positioning,trees}
\usepackage{pgfplots}
\usepackage{graphicx}
\usepackage{indentfirst}
\usepackage{booktabs}
\usepackage{bbding}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{caption}
\usepackage{listings}
\usepackage{hyperref}
\usepackage{varioref}
\usepackage{enumerate}
\usepackage{epigraph}
\usepackage{multirow}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\newenvironment{epistyle}{\setlength{\parindent}{1em}}{}
\renewcommand{\textflush}{epistyle}
\DeclareCaptionFont{white}{\color{white}}
\DeclareCaptionFormat{listing}{\colorbox{Gray}{\parbox{\textwidth}{\hspace{15pt}#1#2#3}}}
\captionsetup[lstlisting]{
format=listing,
labelfont=white,
textfont=white,
singlelinecheck=false,
margin=0pt,
font={bf,footnotesize}}
\lstset{
basicstyle=\footnotesize\ttfamily,
numbers=left,
numberstyle=\tiny,
stepnumber=5,
numbersep=5pt,
tabsize=2,
extendedchars=true,
keywordstyle=\color{PineGreen},
commentstyle=\color{NavyBlue},
stringstyle=\color{Orange},
xleftmargin=25pt,
breaklines=true,
breakatwhitespace=false,
showspaces=false,
showtabs=false,
captionpos=t,
}
\lstdefinestyle{plainstyle}{language=}
\lstnewenvironment{plainlst}[2]
{\lstset{style=plainstyle,caption=#1,label=#2}}
{}
\lstdefinestyle{cstyle}{language=C}
\lstnewenvironment{clst}[2]
{\lstset{style=cstyle,caption=#1,label=#2}}
{}
\lstdefinestyle{pystyle}{language=Python,mathescape}
\lstnewenvironment{pylst}[2]
{\lstset{style=pystyle,caption=#1,label=#2}}
{}
\lstdefinestyle{ocamlstyle}{language=[Objective]Caml,mathescape}
\lstnewenvironment{ocamllst}[2]
{\lstset{style=ocamlstyle,caption=#1,label=#2}}
{}
\lstdefinestyle{hsstyle}{language=Haskell}
\lstnewenvironment{hslst}[2]
{\lstset{style=hsstyle,caption=#1,label=#2}}
{}
\lstdefinestyle{clstyle}{language=Lisp}
\lstnewenvironment{cllst}[2]
{\lstset{style=clstyle,caption=#1,label=#2}}
{}
\title{Informatics Rescue}
\author{Вадим Шендер, Иван Чернецкий}
\begin{document}
\maketitle{}
\tableofcontents{}
\input{basic-ds.tex}
\input{python.tex}
\input{concurrent.tex}
\input{network.tex}
\input{advanced-ds.tex}
\input{cl.tex}
\input{ml.tex}
\end{document}