-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpreamble.tex
116 lines (103 loc) · 3.21 KB
/
preamble.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
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
\usepackage[14pt]{extsizes}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,ukrainian]{babel}
\usepackage[a4paper, top=20mm, bottom=20mm, left=30mm, right=20mm]{geometry}
\usepackage{amsmath,amsfonts,amssymb,amsthm,mathtools}
\usepackage{graphicx}
\usepackage{enumitem}
\usepackage{verbatim}
\usepackage{anyfontsize}
\usepackage{indentfirst}
\usepackage{titlesec}
\usepackage{verbatim}
\usepackage{listings}
\usepackage{xcolor}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\lstdefinestyle{python_code}{
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\ttfamily\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=4
}
\usepackage[psdextra]{hyperref}
\hypersetup{unicode=true}
\hypersetup{
colorlinks=true,
linkcolor=blue,
}
\setlist[enumerate]{nosep}
\graphicspath{{pics/}}
\DeclareGraphicsExtensions{.png}
\usepackage{tikz}
\usepackage{pgfplots}
\usepgfplotslibrary{fillbetween}
\pgfplotsset{compat=1.17}
\usetikzlibrary{patterns}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{arrows.meta}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{positioning,arrows}
\usetikzlibrary{decorations.markings}
\usetikzlibrary{calc}
\tikzset{
block/.style={
draw,
rectangle,
minimum height=1cm,
minimum width=3cm, align=center
},
line/.style={->,>=stealth'}}
\tikzset{>=latex}
\newcommand\centerarc{} % just for safety
\def\centerarc[#1]#2(#3)#4(#5:#6:#7)% [draw options] (center) (initial angle:final angle:radius)
{\draw[#1]($(#3)+({#7*cos(#5)},{#7*sin(#5)})$)arc(#5:#6:#7);}
\newcommand{\R}{\mathbb{R}}
\newcommand{\vf}{\varphi}
\renewcommand{\d}[1]{\dot{#1}}
\newcommand{\dd}[1]{\ddot{#1}}
\newcommand{\E}{\mathcal{E}}
\newcommand{\T}{\mathcal{T}}
\newcommand{\bvec}[1]{\boldsymbol{\rm #1}}
\renewcommand{\l}{\left}
\renewcommand{\r}{\right}
\newcommand{\norm}[1]{\left\Vert #1 \right\Vert}
\newcommand{\intl}{\int\limits}
\newcommand{\suml}{\sum\limits}
\newcommand{\dotprod}[2]{\l< #1, #2\r>}
\newcommand{\Lap}[1]{\mathcal{L}\l\{#1\r\}}
\newcommand{\LapInv}[1]{\mathcal{L}^{-1}\l\{#1\r\}}
\def\setdif{\mathbin{\ooalign{\hss\raise1ex\hbox{.}\hss\cr
\mathsurround=0pt$-$}}}
%\counterwithout{equation}{chapter}
%\counterwithin*{equation}{section}
\newtheoremstyle{exampstyle}
{3pt} % Space above
{3pt} % Space below
{} % Body font
{} % Indent amount
{\bfseries} % Theorem head font
{.} % Punctuation after theorem head
{.5em} % Space after theorem head
{} % Theorem head spec (can be left empty, meaning `normal')
\theoremstyle{exampstyle}
\newtheorem{definition}{Означення}
\newtheorem*{definition*}{Означення}
\newtheorem{example}{Приклад}[chapter]
\newtheorem*{example*}{Приклад}
\newtheorem{exercise}{Задача}
\newtheorem*{exercise*}{Задача}
\theoremstyle{remark}
\newtheorem*{remark}{Зауваження}