Am Montag, 14. August 2023, 13:33:33 CEST schrieb Hans Hagen:
> On 8/14/2023 1:16 PM, Gerion Entrup wrote:
> > Hi,
> > 
> > I try to typeset a nested align in a formula. However, the results looks
> > really wrong. Here is a MWE:
> > 
> > ```
> > \starttext
> > \startformula
> >     \startalign
> >             \NC a = \NC (b, c) \quad \text{with}\NR
> >             \NC   \NC \startalign
> >                         \NC b \NC = something \NR
> >                         \NC c \NC = someother \NR
> >                       \stopalign \NR
> >             \NC somelong = \NC bla \NR
> >     \stopalign
> > \stopformula
> > \stoptext
> > ```
> > Am I doing something wrong or are nested aligns not possible?
> it will work if you configure the inner align to be tight (i delegate 
> that answer)
> 
> \startformula
> a               = \alignhere (b, c) \quad \text{with}
>                    \breakhere b = \text{something}
>                    \breakhere c = \text{someother}
>                    \breakhere
> \text{somelong} = \alignhere bla
> \stopformula
> 
> might be okay for your purpose

Thanks, but unfortunately not. I guess, I simplified the MWE too much.
This does not align the b and c. It should become clear here:

```
\startformula
a               = \alignhere (b, thisislonger) \quad \text{with}
                   \breakhere b = \text{something}
                   \breakhere thisislonger = \text{someother}
                   \breakhere
\text{somelong} = \alignhere bla
\stopformula
```


Gerion

Attachment: signature.asc
Description: This is a digitally signed message part.

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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
___________________________________________________________________________________

Reply via email to