%%%This is a macro package for "obliger"
%%%September 2023, Arne H.

%%%MACROS FOR SPECIAL MATH PURPOSES
%%%--------------------------------

%Boldface letters
\def\a{{\bf  a}}
\def\b{{\bf  b}}
\def\c{{\bf  c}}
\def\h{{\bf  h}}
\def\i{{\bf  i}}
\def\j{{\bf  j}}
\def\k{{\bf  k}}
\def\m{{\bf  m}}
\def\n{{\bf  n}}
\def\p{{\bf  p}}
\def\q{{\bf  q}}
\def\r{{\bf  r}}
\def\s{{\bf  s}}
\def\u{{\bf  u}}
\def\v{{\bf  v}}
\def\x{{\bf  x}}
\def\y{{\bf  y}}
\def\z{{\bf  z}}
\def\w{{\bf  w}}
\def\A{{\bf  A}}
\def\B{{\bf  B}}
\def\C{{\bf  C}}
\def\E{{\bf  E}}
\def\F{{\bf  F}}
\def\G{{\bf  G}}
\def\H{{\bf  H}}
\def\L{{\bf  L}}
\def\N{{\bf  N}}
\def\Z{{\bf  Z}}
\def\R{{\bf  R}}
\def\T{{\bf  T}}
\def\U{{\bf  U}}
\def\0{{\bf  0}} %Null

%Greek letters
\def\e{\varepsilon}
\def\epsilon{\varepsilon}
\def\t{\theta}

%Roman notation for special functions
\def\Re{\hbox{Re}\,}
\def\Im{\hbox{Im}\,}
\def\arg{\hbox{arg}\,}
\def\div{\hbox{div}\,}
\def\dim{\hbox{dim}\,}
\def\Sp{\hbox{Span}\,}
\def\Span{\hbox{Span}\,}
\def\ker{\hbox{Ker}\,}
\def\Ker{\hbox{Ker}\,}
\def\Ran{\hbox{Ran}\,}
\def\Col{\hbox{Col}\,}
\def\Row{\hbox{Row}\,}
\def\Nul{\hbox{Nul}\,}
\def\rang{\hbox{rang}\,}
\def\dim{\hbox{dim}\,}
\def\curl{\hbox{curl}\,}
\def\sech{\hbox{sech}\,}
\def\csch{\hbox{csch}\,}
\def\arccot{\hbox{arccot}\,}
\def\arcosh{\hbox{arcosh}\,}
\def\arsinh{\hbox{arsinh}\,}
\def\artanh{\hbox{artanh}\,}
\def\arcoth{\hbox{arcoth}\,}
\def\arccosh{\hbox{arcosh}\,}
\def\arcsinh{\hbox{arsinh}\,}
\def\arctanh{\hbox{artanh}\,}
\def\arccoth{\hbox{arcoth}\,}

%Miscellaneous math macros
\def\Matrix#1{\left\lbrack\matrix{#1}\right\rbrack}
\def\Determinant#1{\left\vert\matrix{#1}\right\vert}
\def\triint#1{\int\hskip-.15cm\int\limits_{#1}\hskip-.15cm\int}
\def\dobint#1{\int\hskip-.3cm\int\limits_{#1\hskip.25cm\ {}}\hskip-.1cm}
%\def\answer#1{\underline{\underline{#1}}}
\def\answer#1{{#1}}
\def\equal#1{\hskip.2cm\buildrel{\rm #1}\over=\hskip.2cm}
\def\simtext#1{\hskip.2cm\buildrel{\rm #1}\over\sim\hskip.2cm}
%\def\doublesimtext#1#2{\hskip.2cm\buildrel{\buildrel{\rm #1}\over{\rm #2}}\over\sim\hskip.2cm}
\def\doublesimtext#1#2{\hskip.2cm\buildrel{\matrix{\hbox{\smallfont #1}\cr\hbox{\smallfont #2}}}\over\sim\hskip.2cm}
\def\tightequal#1{\buildrel{\rm #1}\over=}
\def\ds{\displaystyle{}}
\def\ip#1#2{\langle #1\mid #2\rangle}  %For inner products
\def\d{\partial}
\def\dx{\hskip.1cm dx}
\def\bd#1{\partial{}#1}
\def\cl#1{\overline{#1}}
\def\dell{\pil{\nabla}}
\def\tekstdell{\tekstpil{\nabla}}
\def\vec#1{{\bf #1}}
\def\Bigvert{\hskip.05cm\Big\vert\hskip.1cm}
\def\lb{\left\lbrack}
\def\rb{\right\rbrack}
\def\rang{\hbox{rang}\,}
\def\proj#1#2{\hbox{proj}_{#1}#2}
\def\transp{^{\hbox{{\transposefont T}}}}
\def\transmatrix#1#2#3{[#1]_{#3\leftarrow #2}}
\def\transid#1#2{[\hbox{id}]_{#2\leftarrow #1}}
\def\commonmatrix#1#2{[#1]_{#2}}
\def\re{_{r\hskip-.03cm e}}
\def\im{_{i\hskip-.03cm m}}

