On 7/14/2025 6:19 AM, Kip Warner wrote:
Hello list,

I am trying to insert a manual line break inside of a TABLE cell, but
can't seem to get it to work. I'm typesetting some mathematical
formulae.

See below minimal:

\starttext
\placetable[here,split,none][table:appendix_notation]{}
{
     \bTABLE[split=repeat,option=stretch]
     \setupTABLE[row][each][align=center]
     \setupTABLE[column][3][align=right]

     \bTABLEhead
     \bTR
       \bTH Symbol \eTH
       \bTH Constraints \eTH
       \bTH Description \eTH
     \eTR
     \eTABLEhead
     \bTABLEbody

     \bTR
       \bTC \math{\phi_i} \eTC
       % I want a line break right where the first comma is in the next line, 
but inserting a \\ doesn't seem to work
       \bTC \math{\phi_i \in \mathbb{R},\\ i \in \mathbb{N} \cap [0,\Phi)} \eTC
       \bTC Some random textual description here. \eTC
     \eTR

     \bTR
       \bTC \math{\underline{\phi}_i} \eTC
       \bTC \math{\underline{\phi}_i \in \mathbb{R} \cap [0,1], i \in 
\mathbb{N} \cap [0,\Phi)} \eTC
       \bTC Some additional random textual description here. \eTC
     \eTR

\eTABLEbody
\eTABLE
}
\stoptext

Any help appreciated.

This \\ for linebreak is sort of a historic feature and not the in terms of 'indicating intentions' ... that said, you can just \breakhere which seem to work as intended. It makes no sense to create a \\ alias for that.

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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to