Skip to content

Commit

Permalink
DOC: Add a few more LaTeX macros for use in equations
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Jul 14, 2016
1 parent ca37624 commit 0cac50d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions doc/math-definitions.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
.. rst-class:: hidden
.. math::
\newcommand{\i}{\mathrm{i}}
\newcommand{\dirac}[1]{\operatorname{\delta}\left(#1\right)}
\newcommand{\e}[1]{\operatorname{e}^{#1}}
\newcommand{\wc}{\frac{\omega}{c}}
\newcommand{\hankel}[3]{\mathop{{}h_{#2}^{(#1)}}\!\left(#3\right)}
\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}}

0 comments on commit 0cac50d

Please sign in to comment.