summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/genmisc/hep.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/genmisc/hep.tex')
-rw-r--r--Master/texmf-dist/tex/generic/genmisc/hep.tex12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/genmisc/hep.tex b/Master/texmf-dist/tex/generic/genmisc/hep.tex
new file mode 100644
index 00000000000..5a740da239b
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/genmisc/hep.tex
@@ -0,0 +1,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{:}}