\usepackage{yhmath} $\wideparen{AB}$
如果是用Markdown语言,可以采用$\mathop{AB}\limits^\frown$,效果: \(\mathop{AB}\limits^\frown\)
$\mathop{AB}\limits^\frown$