summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/genmisc/hep.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:46:03 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:46:03 +0000
commit873660d1a83ece926fe7206288dda9c36b349c1b (patch)
treea48f77125c309a355b5d0eb58d6b24446abe9d62 /Master/texmf-dist/tex/generic/genmisc/hep.tex
parent2939242967231097459df0fc3150fabc2f639111 (diff)
generic 1
git-svn-id: svn://tug.org/texlive/trunk@613 c570f23f-e606-0410-a88d-b1316a301751
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{:}}