diff --git a/tex/latex/ngutils/ngutils.sty b/tex/latex/ngutils/ngutils.sty index 47cd6e5..7fb21db 100644 --- a/tex/latex/ngutils/ngutils.sty +++ b/tex/latex/ngutils/ngutils.sty @@ -28,40 +28,40 @@ } {} -\newcommand{\seilpmi}{\ensuremath{\Longleftarrow}} +\newcommand{\seilpmi}{\Longleftarrow} -\newcommand{\NN}{\ensuremath{\mathbb{N}}} -\newcommand{\ZZ}{\ensuremath{\mathbb{Z}}} -\newcommand{\QQ}{\ensuremath{\mathbb{Q}}} -\newcommand{\RR}{\ensuremath{\mathbb{R}}} -\newcommand{\CC}{\ensuremath{\mathbb{C}}} -\newcommand{\PP}{\ensuremath{\mathbb{P}}} +\newcommand{\NN}{\mathbb{N}} +\newcommand{\ZZ}{\mathbb{Z}} +\newcommand{\QQ}{\mathbb{Q}} +\newcommand{\RR}{\mathbb{R}} +\newcommand{\CC}{\mathbb{C}} +\newcommand{\PP}{\mathbb{P}} -\newcommand{\Pe}{\ensuremath{\mathrm{P}}} -\newcommand{\NPe}{\ensuremath{\mathrm{NP}}} +\newcommand{\Pe}{\mathrm{P}} +\newcommand{\NPe}{\mathrm{NP}} -\newcommand{\Oh}{\ensuremath{\mathcal{O}}} -\newcommand{\oh}{\ensuremath{\scriptstyle{\mathcal{O}}}} +\newcommand{\Oh}{\mathcal{O}} +\newcommand{\oh}{\scriptstyle{\mathcal{O}}} -\newcommand{\Eh}{\ensuremath{\mathrm{E}}} -\newcommand{\Var}{\ensuremath{\mathrm{Var}}} -\newcommand{\pot}{\ensuremath{\mathcal{P}}} -\newcommand{\argmax}{\ensuremath{\mathrm{arg\,max}}} -\newcommand{\argmin}{\ensuremath{\mathrm{arg\,min}}} +\newcommand{\Eh}{\mathop{\mathrm{E}}} +\newcommand{\Var}{\mathop{\mathrm{Var}}} +\newcommand{\pot}{\mathop{\mathcal{P}}} +\newcommand{\argmax}{\mathop{\mathrm{arg\,max}}} +\newcommand{\argmin}{\mathop{\mathrm{arg\,min}}} -\newcommand{\parens}[1]{\ensuremath{\left(#1\right)}} -\newcommand{\brackets}[1]{\ensuremath{\left[#1\right]}} -\newcommand{\braces}[1]{\ensuremath{\left\{#1\right\}}} -\newcommand{\angled}[1]{\ensuremath{\left\langle#1\right\rangle}} +\newcommand{\parens}[1]{\left(#1\right)} +\newcommand{\brackets}[1]{\left[#1\right]} +\newcommand{\braces}[1]{\left\{#1\right\}} +\newcommand{\angled}[1]{\left\langle#1\right\rangle} \newcommand{\tup}[1]{\parens{#1}} \newcommand{\ivl}[1]{\brackets{#1}} \newcommand{\set}[1]{\braces{#1}} \newcommand{\arr}[1]{\angled{#1}} -\newcommand{\abs}[1]{\ensuremath{\lvert#1\rvert}} -\newcommand{\norm}[1]{\ensuremath{\lVert#1\rVert}} -\newcommand{\ceil}[1]{\ensuremath{\lceil#1\rceil}} -\newcommand{\floor}[1]{\ensuremath{\lfloor#1\rfloor}} +\newcommand{\abs}[1]{\lvert#1\rvert} +\newcommand{\norm}[1]{\lVert#1\rVert} +\newcommand{\ceil}[1]{\lceil#1\rceil} +\newcommand{\floor}[1]{\lfloor#1\rfloor} \newcommand{\alg}[2]{{\normalfont\scshape#1}{\normalfont(#2)}} \newcommand{\algt}[1]{{\normalfont\scshape#1}}