ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \mathopen, \Uover and friends
@ 2020-05-09 16:29 Otared Kavian
  2020-05-09 21:27 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Otared Kavian @ 2020-05-09 16:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

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

* Re: \mathopen, \Uover and friends
  2020-05-09 16:29 \mathopen, \Uover and friends Otared Kavian
@ 2020-05-09 21:27 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2020-05-09 21:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Otared Kavian

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
___________________________________________________________________________________

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

end of thread, other threads:[~2020-05-09 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09 16:29 \mathopen, \Uover and friends Otared Kavian
2020-05-09 21:27 ` Hans Hagen

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).