Aditya Mahajan wrote:
\xrightarrow{big superscipt}
Any suggestions?
Not completely identical, but similar. Cheers, Taco \def\domthxarr#1#2#3#4#5#6#7% {\begingroup \mathsurround\zeropoint \setbox0\hbox{$\scriptstyle \if0#1\else\mkern#1mu\fi \mkern#3mu#7\mkern#4mu \if0#2\else\mkern#2mu\fi $}% \setbox4\hbox{#5}% \dimen0\wd0 \ifdim\wd4>\dimen0 \dimen0\wd4 \fi \setbox2\hbox{$\scriptstyle \if0#1\else\mkern#1mu\fi \mkern#3mu#6\mkern#4mu \if0#2\else\mkern#2mu\fi $}% \ifdim\wd2>\dimen0 \dimen0\wd2 \fi \setbox4\hbox to \dimen0{#5}% \mathord{\vcenter{{\offinterlineskip \hbox to \dimen0{\hss\box0\hss}% \kern .2ex \hbox to \dimen0{\hss\copy4\hss}% \kern .2ex \hbox to \dimen0{\hss\box2\hss}}}}% \endgroup} \def\xrightarrow{\dodoubleempty\doxrightarrow } \def\xleftarrow {\dodoubleempty\doxleftarrow } \def\doxrightarrow[#1][#2]{\mathrel {{\domthxarr0359\rightarrowfill{#1}{#2}}}} \def\doxleftarrow[#1][#2]{\mathrel {{\domthxarr3095\leftarrowfill{#1}{#2}}}} \starttext $$ A \xrightarrow[][stuff on top] B $$ $$ A \xleftarrow[stuff below][stuff on top] B $$ $$ A \xleftarrow B $$ \stoptext