I want to create a curved arrow over a letter as a symbol for the moment over the letter. Like in this picture:

I tried using \curvedarrowleft{C} but it didn't have that kind of functionality.
I want to create a curved arrow over a letter as a symbol for the moment over the letter. Like in this picture:

I tried using \curvedarrowleft{C} but it didn't have that kind of functionality.
\curvedarrowleft is a typo, I believe; try \curvearrowleft instead.
\documentclass{article}
\usepackage{amssymb} % for '\curvearrowleft' macro
\usepackage{amsmath} % for '\overset' macro
\begin{document}
$\overset{\curvearrowleft}{C}$
\end{document}
Comparing to Mico's excellent answer, the use of a stack allows for the gap between letter and moment arrow to be simply set with the use of an optional argument.
\documentclass{article}
\usepackage{amssymb} % for '\curvearrowleft' macro
\usepackage{amsmath} % for '\overset' macro
\usepackage{stackengine}
\stackMath
\renewcommand\useanchorwidth{T}
\begin{document}
$\overset{\curvearrowleft}{C}$
vs.\@
$\stackon{C}{\scriptstyle\curvearrowleft}~
\stackon[2pt]{C}{\scriptstyle\curvearrowleft}~
\stackon[1pt]{C}{\scriptstyle\curvearrowleft}$
\end{document}
\scriptscriptstyle instead of \scriptstyle.
– Steven B. Segletes
Feb 24 '17 at 14:04
You can also load the packages stackrel and amssymb to your preamble, and then where you want the symbol you can use \stackrel{\curvearrowleft}{C}. Also note it is curvearrowleft, not curvedarrowleft. Here's an example
\documentclass{article}
\usepackage{amsmath,amssymb}
You symbol is $\stackrel{\curvearrowleft}{C}$
\end{document}
\stackrel produces a math relation and should not be used for an ordinary symbol. Better use \overset from amsmath.
– campa
Feb 23 '17 at 09:27
\stackrel in this context is that the letter C will not be typeset on the baseline.
– Mico
Feb 23 '17 at 09:29