% mycommands.tex
\usepackage{preamble}

\newcommand{\dd}[3][]{\frac{d^{#1} #2}{d #3^{#1}}}

\newcommand{\pd}[3][]{\frac{\partial^{#1} #2}{\partial #3^{#1}}}

\newcommand{\conv}[1][]{\xrightarrow{#1}}

\newcommand{\floor}[1]{\lfloor #1 \rfloor}

\newcommand{\ceil}[1]{\lceil #1 \rceil}

\makeatletter
\newcommand{\seq}[2][\infty]{\{ #2_n \}_{n=1}^{#1}}
\makeatother

\newcommand{\msbl}{measurable}

\newcommand{\diffy}{differentiable}

\newcommand{\cts}{continuous}

\newcommand{\inty}{integrable}

\newcommand{\leb}{Lebesgue}

\newcommand{\bdd}{bounded}

\newcommand{\fcn}{function}

%\newcommand{\seq}{sequence}

\newcommand{\R}{\mathbb{R}}

\newcommand{\Q}{\mathbb{Q}}

\newcommand{\N}{\mathbb{N}}

\newcommand{\Z}{\mathbb{Z}}

\newcommand{\C}{\mathbb{C}}

\newcommand{\eps}{\varepsilon}

\newcommand{\del}{\nabla}

\newcommand{\supp}{\text{supp}}

\newcommand{\curl}{\text{curl}} 

\newcommand{\diverg}{\text{div}}  

\newcommand{\ip}[1]{\langle #1 \rangle}
