Re: [NTG-context] \mathopen, \Uover and friends

2020-05-09 Thread Hans Hagen

On 5/9/2020 6:29 PM, Otared Kavian wrote:

Hi Hans,

Thanks for the quick fix of today's upload.
I could typeset your examples with \mathopen, \mathclose and these are great 
features in order to fine tune the spacing in math mode.

Regarding the new command \Uover, I thought maybe it would be more consistent 
to have the usual structure
${1} \Uover {2}$
like the more friendly ${1} \over {2}$ instead of having


That would involve backtracking and be a psin in the butt wrt control. 
One can't have it all.



$\Uover{1}{2}$
which is more like the \frac structure.


Watch out: these are low level primitives (it is actually a set of 
primitives that put stuff on top of each other). The \frac is the 
interfaced variant.



Also a structure like
$\Uover style \textstyle{1}{2}$
seems a little bit far from the usual ConTeXt atmposphere… Would it not be 
possible to have
${1} \Uover[style=textstyle] {2}$
instead?


That is what we have frac for (and one can define veriants that have set 
styles).



In any case, thanks a lot for the constant addition of cute features…
Some of these engine level extensions have been on my list for a while 
and eventually make implementing the user interfaced wrappers nicer (and 
sometimes more robust). Some is actually possible because some engine 
internals are a bit reorganized.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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
___


[NTG-context] \mathopen, \Uover and friends

2020-05-09 Thread Otared Kavian
Hi Hans,

Thanks for the quick fix of today's upload. 
I could typeset your examples with \mathopen, \mathclose and these are great 
features in order to fine tune the spacing in math mode.

Regarding the new command \Uover, I thought maybe it would be more consistent 
to have the usual structure 
${1} \Uover {2}$ 
like the more friendly ${1} \over {2}$ instead of having
$\Uover{1}{2}$ 
which is more like the \frac structure.

Also a structure like
$\Uover style \textstyle{1}{2}$
seems a little bit far from the usual ConTeXt atmposphere… Would it not be 
possible to have
${1} \Uover[style=textstyle] {2}$ 
instead?

In any case, thanks a lot for the constant addition of cute features…
Best regards: Otared K.
___
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
___