summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/braket/braket.pdfbin0 -> 222696 bytes
-rw-r--r--Master/texmf-dist/doc/latex/braket/braket.tex58
-rw-r--r--Master/texmf-dist/tex/latex/braket/braket.sty (renamed from Master/texmf-dist/tex/latex/ltxmisc/braket.sty)0
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/braket.tlpsrc0
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
6 files changed, 60 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/braket/braket.pdf b/Master/texmf-dist/doc/latex/braket/braket.pdf
new file mode 100644
index 00000000000..6fbf5f51cd4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/braket/braket.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/braket/braket.tex b/Master/texmf-dist/doc/latex/braket/braket.tex
new file mode 100644
index 00000000000..6b4f4a3bd63
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/braket/braket.tex
@@ -0,0 +1,58 @@
+\documentclass[parskip=half, pagesize=auto, version=last]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\usepackage{array}
+\usepackage{braket}
+\usepackage{microtype}
+
+\addtokomafont{title}{\rmfamily}
+
+\title{The \textsf{braket} package}
+\subtitle{Macros for Dirac bra--ket $\langle\mid\rangle$ notation and sets $\lbrace\mid\rbrace$}
+\author{Donald Arseneau\\\texttt{asnd@triumf.ca}}
+\date{12--Sept--2006}
+
+
+\begin{document}
+
+\maketitle
+
+Commands defined are:
+
+\begin{tabular}{@{}*{4}{>{\ttfamily\textbackslash}c<{\{~\}}}>{(}l<{~versions)}@{}}
+ bra & ket & braket & set & small \\
+ Bra & Ket & Braket & Set & expanding
+\end{tabular}
+
+The ``small versions'' use fixed-size brackets independent of their
+contents, whereas the ``expanding versions'' make the brackets and
+vertical lines expand to envelop their contents (internally using
+the \verb+\left+ and \verb+\right+ commands). You should use the vertical bar
+character ``\verb+|+'' to input any extra vertical lines. In \verb+\Braket+ these
+vertical lines will expand to match the arguments, and in \verb+\Set+ the
+first vertical will expand. E.\,g.,
+
+\begingroup
+\renewcommand*{\arraystretch}{1.7}
+\setlength{\tabcolsep}{10pt}
+\begin{tabular}{@{}>{\footnotesize}r>{$\displaystyle}l<{$}@{}}
+ \verb+\Braket{ \phi | \frac{\partial^2}{\partial t^2} | \psi }+ & \Braket{ \phi | \frac{\partial^2}{\partial t^2} | \psi } \\
+ \verb+\Set{ x\in\mathbf{R}^2 | 0<{|x|}<5 }+ & \Set{ x\in\mathbf{R}^2 | 0<{|x|}<5 } \\
+\end{tabular}
+\endgroup
+
+Likewise, you may make an expandable double-bar using either
+the ``\verb+\|+'' command or its local alias ``\verb+||+''.
+
+NOT defined is ``\verb+\ketbra+'' (for projection operators) because I prefer
+\verb+\ket{ } \bra{ }+.
+
+Because each definition is so small, it makes no sense to have a
+complicated generic version for many bracket styles. Instead,
+you can just copy the definitions and change \verb+\langle+ or \verb+\rangle+,
+to what you like.
+
+\end{document}
diff --git a/Master/texmf-dist/tex/latex/ltxmisc/braket.sty b/Master/texmf-dist/tex/latex/braket/braket.sty
index b3f338847a5..b3f338847a5 100644
--- a/Master/texmf-dist/tex/latex/ltxmisc/braket.sty
+++ b/Master/texmf-dist/tex/latex/braket/braket.sty
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index c7070d39683..9fa245e5079 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -51,7 +51,7 @@ my @TLP_working = qw( # these packages should be up to date
boisik bold-extra
boites boldtensors bookest booklet booktabs boolexpr bophook bosisio
boxedminipage boxhandler bpchem
- bracketkey breakcites breakurl bullcntr bussproofs bytefield
+ bracketkey braket breakcites breakurl bullcntr bussproofs bytefield
cachepic calctab calligra calrsfs cancel
capt-of captcont caption carlisle carolmin-ps cases casyl catechis
cbcoptic cbfonts
diff --git a/Master/tlpkg/tlpsrc/braket.tlpsrc b/Master/tlpkg/tlpsrc/braket.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/braket.tlpsrc
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index 6cb551ed909..221af2042d7 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -54,6 +54,7 @@ depend bophook
depend boxedminipage
depend boxhandler
depend bracketkey
+depend braket
depend breakurl
depend bullcntr
depend bussproofs