Is there a way to emulate the behaviour of \widehat
in text mode in Plain (Xe)TeX? That is, take a single accent1 and “stretch” it over two or more letters. I need it in text mode, because it's not for a mathematical formula.
I tried doing the same thing that \t
does, but that didn't work, because (as I realized in the process) the tie-after is a character of its own, and it doesn't really stretch.
1 a circumflex for my current task, but I would be thankful to know if there is a more general mechanism.
\def\twidehat#1{$\widehat{\hbox{#1}}$}
(you lose kerning information, but this always happens also with\accent
).