![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 12.06.2012 um 17:12 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
Hello,
I'd need to create table with a head and a body, and with horizontal lines between rows disabled, excluding the head.
Something like (ASCII art trial):
+------+------+ | Head | Head | +------+------+ <- Line here bellow the head is wanted (and can be thicker than the outer lines)... | 11 | 12 | | | | <- ... but no horizontal line between body's rows. | 21 | 22 | +------+------+
I played with *frame settings (guided by wiki), but no success.
My trial code:
---- \starttext \bTABLE[split=repeat,option=stretch,align=middle,frame=off,leftframe=on,rightframe=on] \bTABLEhead[bottomframe=on] \bTR\bTD Head \eTD\eTR \bTR\bTD Head \eTD\eTR \eTABLEhead \bTABLEbody \bTR\bTD 11\eTD\bTD 12\eTD\eTR \bTR\bTD 21\eTD\bTD 22\eTD\eTR \eTABLEbody \eTABLE \stoptext ----
How to specify rules (frame) to get the desired look?
\starttext \setupTABLE[start][frame=off,leftframe=on,rightframe=on] \setupTABLE[header][frame=on] \setupTABLE[row][first][topframe=on] \setupTABLE[row][last][bottomframe=on] \bTABLE[split=repeat,option=stretch] \bTABLEhead \bTR\bTD Head \eTD\bTD Head \eTD\eTR \eTABLEhead \bTABLEbody \bTR\bTD 11\eTD\bTD 12\eTD\eTR \bTR\bTD 21\eTD\bTD 22\eTD\eTR \eTABLEbody \eTABLE \stoptext Wolfgang