-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefinitions.tex
75 lines (57 loc) · 1.85 KB
/
definitions.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
\usepackage{enumerate}
%%%%% Theorem Styles %%%%
\usepackage{amsthm}
\newtheoremstyle{prbstyle}
{10mm} % Space above
{5mm} % Space below
{\upshape} % Theorem body font % (default is "\upshape")
{} % Indent amount
{\bfseries} % Theorem head font % (default is \mdseries)
{.\newline} % Punctuation after theorem head % default: no punctuation
{5mm} % Space after theorem head
{} % Theorem head spec
\newtheoremstyle{excstyle}
{5mm} % Space above
{10mm} % Space below
{\upshape} % Theorem body font % (default is "\upshape")
{} % Indent amount
{\bfseries} % Theorem head font % (default is \mdseries)
{.\newline} % Punctuation after theorem head % default: no punctuation
{10mm} % Space after theorem head
{}
%%%%%%%%%%%%%%%%%%%%%%%%%%
\newtheorem{mytheo}{Theorem}
%%%% Theorem Enviroments %%%%
\theoremstyle{prbstyle}
\newtheorem{problem}{Задача}[section]
\theoremstyle{excstyle}
\newtheorem{exc}{Exercise}[section]
\newtheorem{prop}{Proposition}[section]
\newtheorem{solution}{Решение}[section]
\newtheorem{thm}{Theorem}[section]
\newtheorem{heur}{Heuristic}[section]
%%%%%%%%Enviroments%%%%%%%%%
\newenvironment{prb}
{\begin{tcolorbox}
\begin{problem}}
{
\end{problem}
\end{tcolorbox}
\par\noindent\hrulefill}
\newenvironment{sol}
{\begin{solution}}
{\par\noindent\hrulefill
\end{solution}}
%%%% New Commands%%%%
\newcommand{\Probab}{\mathbb{P}}
\newcommand{\Expec}[1]{\mathbb{E}\left[{#1}\right]}
\newcommand*\diff[1]{\mathop{}\!\mathrm{d}{#1}}
%%%%
%%%%%%
\DeclareMathOperator{\Tr}{Tr}
\DeclareMathOperator{\rk}{rk}
\DeclareMathOperator{\Img}{Im}
\DeclareMathOperator{\Ker}{Ker}
%If you want to change language for specific part
%\selectlanguage{russian}
%%%%%%%