dotfiles/tex/tex-macros.sty
2023-02-08 03:04:29 -05:00

25 lines
672 B
TeX

\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}}}
\DeclareMathOperator{\GL}{GL}
\DeclareMathOperator{\Imm}{Im}
\DeclareMathOperator{\Ker}{Ker}
\DeclareMathOperator{\Aut}{Aut}
\DeclareMathOperator{\Hom}{Hom}
\DeclareMathOperator{\Hol}{Hol}
\DeclareMathOperator{\Arg}{Arg}