diff --git a/doc/math-definitions.rst b/doc/math-definitions.rst index ee88d288..e694f70e 100644 --- a/doc/math-definitions.rst +++ b/doc/math-definitions.rst @@ -1,10 +1,22 @@ +.. raw:: latex + + $ + .. rst-class:: hidden .. math:: - \newcommand{\dirac}[1]{\operatorname{\delta}\left(#1\right)} - \newcommand{\e}[1]{\operatorname{e}^{#1}} - \newcommand{\Hankel}[3]{\mathop{{}H_{#2}^{(#1)}}\!\left(#3\right)} - \newcommand{\hankel}[3]{\mathop{{}h_{#2}^{(#1)}}\!\left(#3\right)} - \newcommand{\i}{\mathrm{i}} - \newcommand{\scalarprod}[2]{\left\langle#1,#2\right\rangle} - \renewcommand{\vec}[1]{\mathbf{#1}} - \newcommand{\wc}{\frac{\omega}{c}} + :nowrap: + + $ + \def\dirac#1{\operatorname{\delta}\left(#1\right)} + \def\e#1{\operatorname{e}^{#1}} + \def\Hankel#1#2#3{\mathop{{}H_{#2}^{(#1)}}\!\left(#3\right)} + \def\hankel#1#2#3{\mathop{{}h_{#2}^{(#1)}}\!\left(#3\right)} + \def\i{\mathrm{i}} + \def\scalarprod#1#2{\left\langle#1,#2\right\rangle} + \def\vec#1{\mathbf{#1}} + \def\wc{\frac{\omega}{c}} + $ + +.. raw:: latex + + $