Re: [NTG-context] Bug in math arrows

2018-01-10 Thread Aditya Mahajan
On Wed, 10 Jan 2018, Wolfgang Schuster wrote: Aditya Mahajan <mailto:adit...@umich.edu> 10. Januar 2018 um 17:27 Hi, There is a bug in extensible arrows. The syntax of extensible arrows is: \xleftarrow{below}{top} but when the optional argument is used \xleftarrow[small

Re: [NTG-context] Bug in math arrows

2018-01-10 Thread Wolfgang Schuster
Aditya Mahajan <mailto:adit...@umich.edu> 10. Januar 2018 um 17:27 Hi, There is a bug in extensible arrows. The syntax of extensible arrows is: \xleftarrow{below}{top} but when the optional argument is used \xleftarrow[small]{A}{B} then A ends up on the top and B on the bottom.

[NTG-context] Bug in math arrows

2018-01-10 Thread Aditya Mahajan
Hi, There is a bug in extensible arrows. The syntax of extensible arrows is: \xleftarrow{below}{top} but when the optional argument is used \xleftarrow[small]{A}{B} then A ends up on the top and B on the bottom. Thanks, Aditya

Re: [NTG-context] extentable arrows

2006-06-29 Thread Aditya Mahajan
muskip2\relax > \if#30\else\mkern#3mu\fi > $}% > \ifdim\wd2>\dimen0 \dimen0\wd2 \fi > \setbox4\hbox to \dimen0{#6}% > \mathrel{\mathop{% > \hbox to \dimen0{\hss\copy4\hss}}% > \limits^{\box0}_{\box2}} > \endgroup} > > %

Re: [NTG-context] extentable arrows

2006-06-29 Thread Hans Hagen
limits^{\box0}_{\box2}} \endgroup} % ams: \def\xrightarrow{\doifnextcharelse[\noxrightarrow\doxrightarrow} \def\xleftarrow {\doifnextcharelse[\noxleftarrow\doxleftarrow} \def\doxrightarrow{\dodoublegroupempty\dodoxrightarrow} \def\doxleftarrow {\dodoublegroupempty\dodoxleftarrow } \def\n

Re: [NTG-context] extentable arrows

2006-06-29 Thread Hans Hagen
Aditya Mahajan wrote: > > The syntax can be made identical (even better) than that of amsmath. > > \def\xrightarrow{\dosingleempty\doxrightarrow} > > \def\xleftarrow {\dosingleempty\doxleftarrow} > > \def\doxrightarrow[#1]{\dodoublegroupempty\dodoxrightarrow{#1}}

Re: [NTG-context] extentable arrows

2006-06-28 Thread Aditya Mahajan
ngleempty\doxrightarrow} \def\xleftarrow {\dosingleempty\doxleftarrow} \def\doxrightarrow[#1]{\dodoublegroupempty\dodoxrightarrow{#1}} \def\doxleftarrow[#1]{\dodoublegroupempty\dodoxleftarrow{#1}} \def\dodoxrightarrow#1#2{\mathrel {{\domthxarr0359\rightarrowfill{#1}{#2 \def\dodoxleftarrow#1#2

Re: [NTG-context] extentable arrows

2006-06-28 Thread Aditya Mahajan
ip > \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\d

Re: [NTG-context] extentable arrows

2006-06-28 Thread Taco Hoekwater
% \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 \xrig

Re: [NTG-context] extentable arrows

2006-06-28 Thread Aditya Mahajan
On Wed, 28 Jun 2006, Aditya Mahajan wrote: > Hi, > Does ConTeXt have anything equivalent to xleftarrow, xrightarrow of > amsmath. Basically, I need a command that can do > > A \xleftarrow[subscript]{superscript} B > > should give > >superscript > A <---

[NTG-context] extentable arrows

2006-06-28 Thread Aditya Mahajan
Hi, Does ConTeXt have anything equivalent to xleftarrow, xrightarrow of amsmath. Basically, I need a command that can do A \xleftarrow[subscript]{superscript} B should give superscript A <--- B subscript and similar for xrightarrow, xleftrightarrow, xLeftarrow, xRightar