� wrote:
Hello, I have 2 rows, and I would like to have a thick rule on the top and the bottom of the table, and in the middle a thin rule. I do this the following way:
\starttext \setupTABLE[frame=off] \setupTABLE[r][1][topframe=on,rulethickness=1pt] \setupTABLE[r][2][topframe=on,rulethickness=0.3pt,offset=0pt,height=0pt] \setupTABLE[r][3][bottomframe=on,rulethickness=1pt] \bTABLE \bTR \bTD bla \eTD \eTR \bTR \eTR \bTR \bTD bla \eTD \eTR \eTABLE \stoptext
Is there a cleaner way to achieve this?
sure, use first and last and free yourself from counting \setupTABLE[r][first][topframe=on,rulethickness=2pt] \setupTABLE[r][2][topframe=on,rulethickness=0.3pt,offset=0pt,height=0pt] \setupTABLE[r][last][bottomframe=on,rulethickness=2pt] Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------