[NTG-context] Math Formula Alignment

Hans Hagen j.hagen at freedom.nl
Thu Feb 23 14:53:32 CET 2023


On 2/18/2023 3:04 PM, Mikael Sundqvist via ntg-context wrote:
> Hi,
> 
> On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context
> <ntg-context at ntg.nl> wrote:
>>
>> Hi Hans, hi all,
>>
>> the alignment of formulas seems broken:
>>
>> \setuppapersize[A5]
>> \starttext
>> \setuplayout[textwidth=8cm]
>> \setupformulas[align=left]
>> \startformula c^2 = a^2 + b^2 \stopformula
>> \setupformulas[align=middle]
>> \startformula c^2 = a^2 + b^2 \stopformula
>> \setupformulas[align=right]
>> \startformula c^2 = a^2 + b^2 \stopformula
>> \setupformulas[align=left]
>> \placeformula \startformula c^2 = a^2 + b^2 \stopformula
>> \setupformulas[align=middle]
>> \placeformula \startformula c^2 = a^2 + b^2 \stopformula
>> \setupformulas[align=right]
>> \placeformula \startformula c^2 = a^2 + b^2 \stopformula
>> \stoptext
>>
>> All formulas are centered with ConTeXt ver: 2023.02.14 17:44 LMTX
>>
>> Greetings Lutz
> 
> Indeed, but align=flushleft and align=flushright seems to work.
i'll add the aliases

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