[NTG-context] Commands with arguments before in ConTeXt

Hans Hagen j.hagen at xs4all.nl
Mon Jun 29 15:21:56 CEST 2020


On 6/29/2020 1:06 PM, Taco Hoekwater wrote:
> Sorry, that was a bit too much oversimplification:
> 
>> On 29 Jun 2020, at 12:36, Taco Hoekwater <taco at elvenkind.com> wrote:
>>
>> In math mode, there *is* an expression state maintained, and that is why \over and \atop work.
> 
> Actually (still oversimplifying), the found commands are saved in a temporary list,
> that is then reprocessed once math mode has ended. And at that stage, an expression tree is built up.
another way to look at it is to think of each {...} being a subformula, so

    {1} \over {2}

are two subformulas combined into one larger subformula

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