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

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

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

maillist : ntg-context@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
___________________________________________________________________________________

Reply via email to