8

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

I tried using \curvedarrowleft{C} but it didn't have that kind of functionality.

Karlo
  • 3,257

3 Answers3

10

\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}
Mico
  • 506,678
6

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}

enter image description here

1

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}  
mrbolichi
  • 260
  • 5
    \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
  • 3
    A downside of using \stackrel in this context is that the letter C will not be typeset on the baseline. – Mico Feb 23 '17 at 09:29