[NTG-context] Bug in math alignment

Otared Kavian otared at gmail.com
Wed Nov 2 21:19:00 CET 2022


Dear Jeong,

Thanks for testing my example, and pointing to the solution using \dm (which I didn’t know…).
I think the correct behaviour of math alignments should avoid using additional commands such as \dm.

We’ll see what Hans and Mikael say.

Best regards: OK

> On 2 Nov 2022, at 12:53, Jeong Dal via ntg-context <ntg-context at ntg.nl> wrote:
> 
> Dear Otared,
> 
>> 
>> I think there is an issue with the size of math fonts in \frac when used in math alignments, as it is is shown in the following example.
>> 
> 
> I confirm what you said.
> 
> However, if I use \dm{} instead of \displaystyle as following, then the output is correct.
> 
> \placeformula
> \startformula
> \startalignedcases
> \NC - \Delta u \NC = 0 \NC \qquad\text{in }\, \Omega \NR
> \NC  \dm{\frac{\partial u}{\partial {\bi n}}}
>  \NC = V u + \phi \NC \qquad\text{on }\, \partial\Omega. \NR
> \stopalignedcases
> \stopformula
> or this (with\type{\displaystyle} added)
> \placeformula 
> \startformula
> \startalignedcases
> \NC - \Delta u \NC = 0 \NC \qquad\text{in }\, \Omega \NR
> \NC  \dm{\frac{\partial u}{\partial {\bi n}}}
>  \NC = V u + \phi \NC \qquad\text{on }\, \partial\Omega. \NR
> \stopalignedcases
> \stopformula
> 
> In this example, it is OK to use \dm inside of \startformula … \stopformula.
> I am not sure that it is what Hans and Mikael want.
> 
> Thanks,
> 
> Best regards,
> 
> Dalyoung
> 
> 
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
> ___________________________________________________________________________________

Otared Kavian
e-mail: otared at gmail.com
Phone: +33 6 88 26 70 95



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20221102/5cf9e6a2/attachment.htm>


More information about the ntg-context mailing list