LaTeX math accents: list with commands

A math accent takes its base as an argument: \hat{a}. The plain accents fit one letter; the wide forms and \overline stretch over several. On i and j, use \imath and \jmath so the accent does not collide with the dot. These commands work only in math mode; accents in text are written like \'e or typed directly.

SymbolCommandNamePackage
\hat{a}hat accent (circumflex)
\widehat{abc}wide hat
\bar{x}bar accent (macron)
\overline{abc}overline
\underline{abc}underline (math)
\tilde{a}tilde accent
\widetilde{abc}wide tilde
\vec{v}vector arrow
\overrightarrow{AB}long arrow over an expression
\overleftarrow{AB}long left arrow over an expression
\dot{x}dot accent (time derivative)
\ddot{x}double dot accent (second derivative)
\acute{a}acute accent (math)
\grave{a}grave accent (math)
\breve{a}breve accent
\check{a}check accent (caron)
\mathring{a}ring accent (math)