Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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.

share|improve this question
9  
It's in the Writing Assistant - Typesetting palette. You can also use AngleBracket[...], or type esc < esc. –  freddieknets Sep 12 '12 at 16:14
add comment

3 Answers 3

up vote 9 down vote accepted

From the listing of all named characters

 \[LeftAngleBracket]P\[RightAngleBracket]
share|improve this answer
add comment

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.

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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