\ProvidesPackage{../preamble}

\RequirePackage{amsmath}
\RequirePackage{amsthm}
\RequirePackage{amsfonts}
\RequirePackage{amssymb}
\RequirePackage{mathtools}

\RequirePackage{wrapfig}
\RequirePackage[normalem]{ulem}
\RequirePackage{longtable}
\RequirePackage{enumitem}
\RequirePackage{tikz}
\RequirePackage{cancel}
\RequirePackage{underscore}
\RequirePackage{float}

\RequirePackage{graphicx}
\graphicspath{ {./images/} }

% \setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}
\renewcommand{\theparagraph}{(\asbuk{paragraph})}

\DeclareRobustCommand{\divby}{%
  \mathrel{\vbox{\baselineskip.65ex\lineskiplimit0pt\hbox{.}\hbox{.}\hbox{.}}}%
}
\newcommand{\bydef}{\stackrel{\text{по опр.}}{\implies}} % by definition - по определению
\newcommand{\dn}{\stackrel{\text{об.}}{=}} % denote - обозначим
\newcommand{\imaginary}{\mathrm{Im} \,}
\newcommand{\real}{\mathrm{Re} \,}
\newcommand{\prop}[1]{#1^{\text{o}}}

\newcommand{\N}{\mathbb{N}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\Z}{\mathbb{Z}}
\renewcommand{\C}{\mathbb{C}}

\newcommand{\approach}[1]{\underset{#1}{\longrightarrow}}
\newcommand{\series}[1]{\displaystyle\sum_{k=1}^\infty #1}
\newcommand{\seriesx}{\displaystyle\sum_{k=1}^\infty x_k}
\newcommand{\seriespow}{\displaystyle\sum_{k=0}^\infty a_k (x - x_0)^k}
\newcommand{\abs}[1]{\left|#1\right|}
\renewcommand{\over}[2]{\stackrel{#1}{#2}}

% --- Теорема --- %
\newtheorem{theorem}{Теорема}[subsection]

\theoremstyle{definition}
\newtheorem{definition}{Определение}[subsection]

\theoremstyle{definition}
\newtheorem*{example}{Пример}

\theoremstyle{definition}
\newtheorem*{corollary}{Следствие}

\theoremstyle{definition}
\newtheorem*{remark}{Замечание}

\theoremstyle{definition}
\newtheorem*{lemma}{Лемма}

\theoremstyle{definition}
\newtheorem*{axiom}{Аксиома}
