# [Tex/LaTex] The Bra-Ket Notation in LaTeX

braketpackages

I want to write the following symbol in LaTeX:

I'm using the following (minimal) code:

    \documentclass[12pt,twoside]{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{braket}

\begin{document}
$$\ket \psi{(t)}$$
\end{document}


I don't however get the desired result. The $t$ symbol appears outside the ket, as opposed to the output in the figure. How do I fix this?

you've placed the (t) outside the scope of the \ket command.
just move the open brace before the \psi:
\ket {\psi(t)}.

off-topic: since amssymb loads amsfonts automatically, it's not necessary to specify them both.