How to Put \smallsmile or \smallfrown on Top of a Letter

symbols

I would like to have a \smallsmile on top of a letter "T". Is there a way this can be done?

Best Answer

\stackrel

For example, \stackrel can be used:

\documentclass{article}
\usepackage{MnSymbol}% for \smallsmile and \smallfrown

\begin{document}
\[
  \mathord{\stackrel{\smallsmile}{T}}
  \neq
  \mathord{\stackrel{\smallfrown}{T}}
\]
\[
  \mathord{\mathop{T}\limits^{\smallsmile}}
  \neq
  \mathord{\mathop{T}\limits^{\smallfrown}}
\]
\end{document}

Result

Text mode accents

\documentclass{article}
\usepackage{textcomp}% \newtie, \capitalbreve
\begin{document}
\u{T}, \capitalbreve{T} vs. \newtie{T}
\end{document}

Result

Math mode accents

At least \smallsmile could be set as \breve accent:

\documentclass{article}

\begin{document}
\[
  \breve{T}
\]
\end{document}

Result