braket
The braket extension defines the following macros for producing the bra-ket notation and set notation used in quantum mechanics
- \\bra{math}
- \\ket{math}
- \\braket{math}
- \\set{math}
- \\Bra{math}
- \\Ket{math}
- \\Braket{math}
- \\Set{math}
and the non-standard macros
- \\ketbra{math}
- \\Ketbra{math}
See the documentation for the LaTeX braket package for details of how these are used.
This extension is loaded automatically when the autoload extension
is used. To load the braket extension explicitly (when using
input/tex-base
for example), add '[tex]/braket'
to the
load
array of the loader
block of your MathJax configuration,
and add 'braket'
to the packages
array of the tex
block.
window.MathJax = {
loader: {load: ['[tex]/braket']},
tex: {packages: {'[+]': ['braket']}}
};
Alternatively, use \require{braket}
in a TeX expression to load it
dynamically from within the math on the page, if the require
extension is loaded.
braket Commands
The braket extension implements the following macros:
\|
, \bra
, \Bra
, \braket
, \Braket
, \ket
, \Ket
, \ketbra
, \Ketbra
, \set
, \Set
, |