[Tugindia] Semicircle as an accent mark above a character

M. Kalidoss kalidoss.murugesan at gmail.com
Sat Oct 31 13:10:00 CET 2020


Hi,

Does not \u{A} serve your purpose for single characters?

On Sat, Oct 31, 2020 at 3:25 PM P P Narayanaswami <swami at mun.ca> wrote:

> 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.
> \documentclass{article}
> \newcommand{\semicircle}[1]{\ensuremath{\stackrel{\frown}{\mbox{#1}}}}
> \begin{document} \semicircle{A}, \semicircle{AB}
> \end{document}
> 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
> appreciated.
> _______________________________________________
> Home:        http://www.tug.org.in/
> TeX FAQ:     http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia
>


-- 




*With regards,M. Kalidoss, Trichy - 620 023*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tugindia/attachments/20201031/6c3032ce/attachment.html>


More information about the tugindia mailing list.