![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
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? Cheers, Peter -- http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
� 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Peter Münster