[NTG-context] autospacing and colonequals (was Lucida-1.901 (2023-01-21) available)

Hans Hagen j.hagen at freedom.nl
Thu Jan 26 23:23:37 CET 2023


On 1/26/2023 10:52 PM, Otared Kavian via ntg-context wrote:

> Indeed the command \colonequals give the precise expected alignment for 
> the combination glyph « := ». Befors changing the combination « := » to 
> \columnequals in my documents, I am wondering whether one could add a 
> small lua code in order to make an automatic replacement at run time. 
> Actually, since I don’t know of any other instance in which the 
> combination « := » is used to mean something else, would it not be 
> reasonnable to make « := » synonym to \colonequals?

that's what the (has-always-been-there)

\setupmathematics[collapsing=2]

is for (needs latest version to work when the space trickery i senabled)

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



More information about the ntg-context mailing list