% .............................................................................. % % Some useful commands and macros. % ------------------------------------------------------------------------------ \ProvidesPackage{styles/symbols}[2022/01/27 Defines symbols and useful macros. Author: Tim Roith] % \ProcessOptions\relax % ======================================================================================== % Required Packages % ---------------------------------------------------------------------------------------- \RequirePackage{amsmath,amsthm,amssymb} \RequirePackage{dsfont} % ---------------------------------------------------------------------------------------- % % ======================================================================================== % Command definition for commands % ---------------------------------------------------------------------------------------- \newcommand{\norm}[1]{\left\|#1\right\|} \newcommand{\tv}{\mathrm{TV}} \newcommand{\argmin}{\mathrm{arg}\min} \newcommand{\st}{\;:\;} \renewcommand{\H}{\mathcal{H}} \newcommand{\X}{\mathcal{X}} \newcommand{\Y}{\mathcal{Y}} \newcommand{\V}{\mathcal{V}} \newcommand{\calN}{\mathcal{N}} \newcommand{\ran}{\mathrm{ran}} \newcommand{\dom}{\mathrm{dom}} \newcommand{\R}{\mathbb{R}} \newcommand{\N}{\mathbb{N}} \renewcommand{\d}{\mathrm{d}} \newcommand{\sg}{\zeta} \renewcommand{\div}{\operatorname{div}} \newcommand{\rot}{\operatorname{rot}} \newcommand{\tex}{T_\mathrm{ex}} \newcommand{\calA}{\mathcal{A}} \newcommand{\red}[1]{\textcolor{red}{#1}} \newcommand{\sgn}{\operatorname{sign}} \newcommand{\calJ}{\mathcal{J}} \newcommand{\dist}{\mathrm{dist}} % ----------------------------------------------------------------------------------------