File: FAQ-braket.html

package info (click to toggle)
tetex-base 3.0.dfsg.3-5
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 239,540 kB
  • ctags: 10,610
  • sloc: xml: 103,461; perl: 9,398; ruby: 2,850; python: 1,551; php: 1,067; sh: 981; lisp: 494; makefile: 371; awk: 88
file content (32 lines) | stat: -rw-r--r-- 1,583 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<head>
<title>UK TeX FAQ -- question label braket</title>
</head><body>
<h3>Set specifications and Dirac brackets</h3>
<p>One of the few glaring omissions from TeX's mathematical
typesetting capabilities is a means of setting separators in the
middle of mathematical expressions.  TeX provides primitives called
<code>\</code><code>left</code> and <code>\</code><code>right</code>, which can be used to modify brackets (of
whatever sort) around a mathematical expression, as in:

<code>\left( &lt;expression&gt; \right)</code> - the size of the parentheses is
matched to the vertical extent of the expression.
<p>However, in all sorts of mathematical enterprises one may find oneself
needing a <code>\</code><code>middle</code> command, to be used in expressions like
<blockquote>
<pre>
\left\{ x \in \mathbb{N} \middle| x \mbox{ even} \right\}
</pre>

</blockquote>
to specify the set of even natural numbers.  The 
<a href="FAQ-NTS.html">e-TeX system</a>
defines just such a command, but users of Knuth's original need some
support.  Donald Arseneau's <i>braket</i> 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.
<dl>
<dt><tt><i>braket.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/misc/braket.sty">macros/latex/contrib/misc/braket.sty</a>
</dl>
<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=braket">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=braket</a>
</body>