ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug in math arrows
@ 2018-01-10 16:27 Aditya Mahajan
  2018-01-10 16:42 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2018-01-10 16:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug in math arrows
  2018-01-10 16:27 Bug in math arrows Aditya Mahajan
@ 2018-01-10 16:42 ` Wolfgang Schuster
  2018-01-10 17:46   ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2018-01-10 16:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 561 bytes --]


> Aditya Mahajan <mailto:adityam@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.

The "x" commands change the position of both texts and when you change
the instance for the command the reversed order is overwritten (search for
the order key in math-stc.mkvi).

\starttext

$\xleftarrow{A}{B}$

$\mleftarrow{A}{B}$

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 1634 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug in math arrows
  2018-01-10 16:42 ` Wolfgang Schuster
@ 2018-01-10 17:46   ` Aditya Mahajan
  0 siblings, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2018-01-10 17:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 10 Jan 2018, Wolfgang Schuster wrote:

>
>>  Aditya Mahajan <mailto:adityam@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.
>
> The "x" commands change the position of both texts and when you change
> the instance for the command the reversed order is overwritten (search for
> the order key in math-stc.mkvi).
>
> \starttext
>
> $\xleftarrow{A}{B}$
>
> $\mleftarrow{A}{B}$
>
> \stoptext

I would still consider it a bug :-) Either order is fine but it should be 
used consistently.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-10 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-10 16:27 Bug in math arrows Aditya Mahajan
2018-01-10 16:42 ` Wolfgang Schuster
2018-01-10 17:46   ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).