8
$\begingroup$

I would like to typeset the following in a Mathematica notebook:

$$\langle P \rangle$$

Is it possible to typeset left and right angle brackets? In $\LaTeX$, they are given by \langle and \rangle. I do not see such symbols in the documentation, but I may be overlooking them.

$\endgroup$
1
  • 10
    $\begingroup$ It's in the Writing Assistant - Typesetting palette. You can also use AngleBracket[...], or type esc < esc. $\endgroup$ Commented Sep 12, 2012 at 16:14

3 Answers 3

11
$\begingroup$

From the listing of all named characters

 \[LeftAngleBracket]P\[RightAngleBracket]
$\endgroup$
13
$\begingroup$

Mathematica provides angle-bracket symbols \[LeftAngleBracket] and \[RightAngleBracket], which act like other brackets.

You can easily input them using "Esc < Esc" and "Esc > Esc".

Mathematica will also parse $\langle a, b, c, ...,z\rangle$ as AngleBracket[a, b, ..., z], which is useful if you're generating a typeset expression.

For the particular usage of angle brackets in quantum mechanics, there are also the convenient input aliases "Esc bra Esc", "Esc ket Esc", and "Esc braket Esc" for Mathematica graphics, Mathematica graphics, and Mathematica graphics respectively.

$\endgroup$
8
$\begingroup$

In the form of an operator:

AngleBracket[P]

outputs as $\langle P \rangle$, which, under the hood, is just:

\[LeftAngleBracket]P\[RightAngleBracket]

See also: http://reference.wolfram.com/mathematica/tutorial/Operators.html

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.