It is cleaner when renamed a little:
Taco Hoekwater wrote:
>
> [EMAIL PROTECTED]
\def\preparebinrel#1%
> {\begingroup
> \setbox0=\hbox
> {\thinmuskip 0mu
> \medmuskip -1mu
> \thickmuskip -1mu
> \setbox2=\hbox{$#1\mathsurround0pt$}%
> \kern -wd2
> ${}#1{}\mathsurround0pt$}%
> [EMAIL PROTECTED]
> {\endgroup
> \let\noexpand\binrel@@
\let\noexpand\currentbinrel
> \ifdim\wd0<0pt
> \mathbin
> \else \ifdim\wd0>\z@
> \mathrel
> \else
> \relax
> \fi\fi }%
> [EMAIL PROTECTED] }
And:
\unexpanded\def\overset#1#2%
{\preparebinrel{#2}%
[EMAIL PROTECTED]
Best, Taco
_______________________________________________
dev-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/dev-context