\vec - Used to create vector symbol over the argument.
{ \vec #1}
\vec command draws vector symbol over the argument.
\vec v
\vec {AB}