\left and \right, which can be used to modify brackets (of
whatever sort) around a mathematical expression, as in:
\left( <expression> \right) — the size of the
parentheses is matched to the vertical extent of the expression.
However, in all sorts of mathematical enterprises one may find oneself
needing a \middle command, to be used in expressions like
\left\{ x \in \mathbb{N} \middle| x \mbox{ even} \right\}
to specify the set of even natural numbers. The
e-TeX system
defines just such a command, but users of Knuth’s original need some
support. Donald Arseneau’s braket package provides commands
for set specifications (as above) and for Dirac brackets (and bras and
kets). The package uses the e-TeX built-in command if it finds
itself running under e-TeX.
Go to previous question, or next question
Go to FAQ home.
URL for this question: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=braket
Comments, suggestions, or error reports? - see “how to improve the FAQ”.
This is FAQ version 3.27, released on 2013-06-07.