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
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.
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
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}
>
> %
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
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}}
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
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
%
\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
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 <---
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
11 matches
Mail list logo