summaryrefslogtreecommitdiff
path: root/macros/generic/misc/hep.tex
blob: 5a740da239b4277419e7196219f12d815c495c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
\def\slasha#1{\setbox0=\hbox{$#1$}#1\hskip-\wd0\hbox to\wd0{\hss\sl/\/\hss}}
\def\slashb#1{\setbox0=\hbox{$#1$}#1\hskip-\wd0\dimen0=5pt\advance
       \dimen0 by-\ht0\advance\dimen0 by\dp0\lower0.5\dimen0\hbox
         to\wd0{\hss\sl/\/\hss}}
% Four macros for Dirac's bracket notation of expectation values
\def\bra#1{\left< #1\right|}
\def\ket#1{\left| #1\right>}
\def\bracket#1#2{\left<#1\mid #2\right>}
\def\EV#1#2#3{\bra{#1}#2\ket{#3}}
% And finally a macro for printing so-called `normal ordered' products
% They are denoted by a colon on either side
\normalord#1{\mathopen{:}#1\mathclose{:}}