[Tugindia] Semicircle as an accent mark above a character

P P Narayanaswami swami at mun.ca
Sat Oct 31 10:54:45 CET 2020

I need to write a macro (something like \semicircle{{#1}} ) to place an 
"inverted semicircle" symbol
as an accent mark to be placed over one or two characters, perhaps using 
a \stackrel command  such as the following.
\begin{document} \semicircle{A}, \semicircle{AB}
The "\frown" symbol here is too flat, and if I use the "\cap" symbol, it 
is too tight,
so the choice is an inverted semicircle sitting over the character(s).
The semicircle should spread over all the characters (one or two) that 
are placed for #1 in the macro -
something like \semicircle{X} or \semicircle (XY} etc.
  Is TikZ a good choice? Any help in building such a macro will be 

More information about the tugindia mailing list.