\ProvidesPackage{tex-macros}

\RequirePackage{amsmath}

\let\sidesum\sum%
\let\sidelim\lim%
\renewcommand\sum{\sidesum\limits}
\renewcommand\lim{\sidelim\limits}
\newcommand{\problem}[1]{\subsection*{#1.}}
\newcommand{\pbl}[1]{\subsection*{#1.}}
\newcommand{\N}{\ensuremath{\mathbb{N}}}
\newcommand{\Z}{\ensuremath{\mathbb{Z}}}
\newcommand{\R}{\ensuremath{\mathbb{R}}}
\newcommand{\Q}{\ensuremath{\mathbb{Q}}}
\newcommand{\C}{\ensuremath{\mathbb{C}}}
\newcommand{\D}{\ensuremath{\mathbb{D}}}
\newcommand{\suchthat}{\ensuremath{\text{ such that }}}

\newcommand{\BigO}{\ensuremath{\mathcal{O}}}
\newcommand{\BigOm}{\ensuremath{\Omega}}
\newcommand{\BigT}{\ensuremath{\Theta}}

\newcommand{\gen}[1]{\ensuremath{\langle #1\rangle}}

\DeclareMathOperator{\GL}{GL}
\DeclareMathOperator{\Imm}{Im}
\DeclareMathOperator{\Ker}{Ker}
\DeclareMathOperator{\Aut}{Aut}
\DeclareMathOperator{\Hom}{Hom}
\DeclareMathOperator{\Hol}{Hol}
\DeclareMathOperator{\Arg}{Arg}
\DeclareMathOperator{\Log}{Log}
\DeclareMathOperator{\Var}{Var}
\DeclareMathOperator{\Cov}{Cov}
\DeclareMathOperator{\supp}{supp}

