\documentclass{article}
\usepackage{smileghost}

\begin{document}
The ghost of \(T\) is written \(\smileghost T\).
\end{document}
