\ProvidesPackage{packages/macros}

\RequirePackage{amsfonts}                                % Include missing symbols s.a "Natural Numbers"

\usepackage{amsthm}   % for 'proof' environment

% Snippet to add dots to TOC
% Thanks to "user11232" at https://tex.stackexchange.com/questions/53898/how-to-get-lines-with-dots-in-the-table-of-contents-for-sections
%\usepackage{tocloft}
%\renewcommand{\cftpartleader}{\cftdotfill{\cftdotsep}} % for parts
%\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} % for sections

\newcommand{\N}{\mathbb{N}}			% Natural numbers symbol
\newcommand{\Z}{\mathbb{Z}}			% Integer symbol
\newcommand{\Q}{\mathbb{Q}}			% Rational numbers symbol
\newcommand{\R}{\mathbb{R}}			% Real numbers symbol
\newcommand{\C}{\mathbb{C}}			% Complex numbers symbol
\newcommand{\K}{\mathbb{K}}			% Corps
\newcommand{\Hq}{\mathbb{H}}			% Quaternions numbers symbol
\newcommand{\Ot}{\mathbb{O}}			% Octonions numbers symbol
\newcommand{\Se}{\mathbb{S}}			% Sedenions numbers symbol
\newcommand{\Pn}{\mathbb{P}}			% Sets of all the prime numbers
\newcommand{\false}{{\color{th_colour_red}F}}	% New symbol for false value
\newcommand{\true}{{\color{th_colour_green}V}}	% New symbol for true value
%\newcommand{\false}{F}				% New symbol for false value
%\newcommand{\true}{V}				% New symbol for true value
\DeclareMathOperator{\Rel}{\mathcal{R}}		% New symbol for binary relations
\newtheorem{definition}{Définition}
%\newtheorem{definition}{Definition}
\newtheorem{theorem}{Théorème}
%\newtheorem{theorem}{Theoreme}
\newtheorem{lemme}{Lemme}
%\newtheorem{lemme}{Lemme}
\newcommandx{\suite}[3][1=n,2=n]{$(#3_{#1})_{#2 \in \N}$}
\newenvironment{definition_sq}{\begin{mdframed}\begin{definition}}{\end{definition}\end{mdframed}}
\newenvironment{theorem_sq}{\begin{mdframed}\begin{theorem}}{\end{theorem}\end{mdframed}}
\newenvironment{lemme_sq}{\begin{mdframed}\begin{lemme}}{\end{lemme}\end{mdframed}}
\newcommand{\norm}[1]{\|#1\|}
\newcommand{\equivalance}{\Leftrightarrow}
\renewcommand{\implies}{\Rightarrow}
\DeclareMathOperator{\suchas}{\text{tel que}}
%\DeclareMathOperator{\suchas}{\text{such as}}
\renewcommand{\function}[3]{#1 : #2 \longrightarrow #3}
\newcommand{\functiondef}[2]{\hspace{15pt}#1 \longmapsto #2}
\newcommand{\otherwise}{\text{Sinon}}
%\newcommand{\otherwise}{\text{Otherwise}}
\DeclareMathOperator{\union}{\cup}

\renewcommand{\smallskip}{\vspace{3pt}}
\renewcommand{\medskip}{\vspace{6pt}}
\renewcommand{\bigskip}{\vspace{12pt}}
