Physics: bra-ket\|

\|Command

Used as a no-argument double-bar token, especially inside braket expressions such as \Braket{a\|b}, and otherwise as the standard \| delimiter command.

\|
Available in
braket
Kind
prefix
Allowed mode
math
Frequency
4.60% of corpus formulasrank 14 of 263
Commonality
medium
Renderer support
PackageMathJaxKaTeXXeTeX
braketMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\|

Takes no arguments. Reading argspecs

Common tasks#

How to write a mid-bar in Dirac notation#

In the braket package, \| is the command-page bar, not the bare | character.

\bra{\psi}\|\ket{\phi}

How to write a projector with a braket bar#

\ket{\psi}\|\bra{\psi}

How to write a standalone braket bar#

\psi\|\phi

Examples#

\Braket{a\|b}

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

See also#

Test cases#

braket
InputCaseMathJaxKaTeXXeTeX
\|Positive · baselinePassPassPass
All 22 in Physics: bra-ket