latex:macros

\def\ket#1{|{#1}\rangle}
\def\bra#1{\langle{#1}|}
\def\braket#1#2{\langle{#1}|{#2}\rangle}
\def\tr{\mathord{\mbox{\bf tr}}}