![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 10/9/2018 8:02 AM, Axel Kielhorn wrote:
Hello,
I decided to use TABLE because I may need some more complex layouts later and want to use just one way to define a table.
One of the great things about TABLE is the possibility to align columns. The table below works fine when I comment the first \bTR line. With the first line the result is strange. I need some way to protect the words in the header, putting them in an \mbox didn’t help.
\starttext { \setupTABLE[row][each][frame=off] \setupTABLE[c][1][width=0.1\textwidth] \setupTABLE[c][2][width=0.1\textwidth,alignmentcharacter={,},aligncharacter=yes,align=middle] \setupTABLE[c][3][width=0.1\textwidth,alignmentcharacter={,},aligncharacter=yes,align=middle] \setupTABLE[c][4][width=0.1\textwidth,alignmentcharacter={,},aligncharacter=yes,align=middle]
\bTABLE \bTABLEbody \bTR \bTD \eTD \bTD \chemical{NH_3} \eTD \bTD R407C \eTD \bTD R134a \eTD \eTR \bTR \bTD \math{t_s} \eTD \bTD \math{p_s} \eTD \bTD \math{p_s} \eTD \bTD \math{p_s} \eTD \eTR \bTR \bTD \unit{Celsius} \eTD \bTD \unit{bar} \eTD \bTD \unit{bar} \eTD \bTD \unit{bar} \eTD \eTR \bTR \bTD \unit{+35} \eTD \bTD 13,50 \eTD \bTD 14,47 \eTD \bTD 8,865 \eTD \eTR \bTR \bTD \unit{-40} \eTD \bTD 0,717 \eTD \bTD 0,956 \eTD \bTD 0,516 \eTD \eTR \eTABLEbody \eTABLE } \stoptext \bTR[aligncharacter=no] \bTD \eTD \bTD \chemical{NH_3} \eTD \bTD R407C \eTD \bTD R134a \eTD \eTR
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------