\mathopen, \Uover and friends
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.
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Otared Kavian