I was experimenting with the answer I got to an earlier questions of mine: A better notation to denote arcs for an American high school textbook
I wrote a new command as
\documentclass{article}
\usepackage{graphicx}
\newcommand\arc[1]{%%
\setbox9=\hbox{#1}%%
\ooalign{%%
\raisebox{\ht9}{%%
\resizebox{\wd9}{\dimexpr1.75\height}{%%
\rotatebox{90}{)}}}\cr#1}}
\begin{document}
\arc{ABC}
\arc{A}
\arc{AB}
\end{document}
which works fine. But, the problem comes up when I try defining things as follows:
\newcommand\arc[1]{%%
\setbox9=\hbox{#1}%%
\ooalign{%%
\raisebox{\ht9}{%%
\resizebox{\wd9}{\dimexpr1.75\height}{%%
\rotatebox{-90}{(}}}\cr#1}}
I've tried various ways of avoiding this (such as wrapping up the rotated material in its own box) all to no avail.
Why is this second approach not working?



-89works, but not-90. Weird. Even-89.4works. – Steven B. Segletes Mar 23 '15 at 18:20