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}
\begin{equation}
\ket \psi{(t)}
\end{equation}
\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?
Best Answer
you've placed the
(t)
outside the scope of the\ket
command.just move the open brace before the
\psi
:off-topic: since
amssymb
loadsamsfonts
automatically, it's not necessary to specify them both.