On Mon, 22 Oct 2012, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
how to achieve the table header to have a thick bottom line?
Here are my two attempts:
---- \starttext \bTABLE \setupTABLE[width=broad] \setupTABLE[header][align=middle] \bTABLEhead \bTR[bottomframe=on,rulethickness=2mm]\bTH a\eTH\bTH b\eTH\eTR \eTABLEhead \bTABLEbody \bTR\bTD 1\eTD\bTD 2\eTD\eTR \bTR\bTD 3\eTD\bTD 4\eTD\eTR \eTABLEbody \eTABLE
Or even better:
\bTABLE \setupTABLE[width=broad] \setupTABLE[header][bottomframe=on,rulethickness=2mm,align=middle] \bTABLEhead \bTR\bTH a\eTH\bTH b\eTH\eTR \eTABLEhead \bTABLEbody \bTR\bTD 1\eTD\bTD 2\eTD\eTR \bTR\bTD 3\eTD\bTD 4\eTD\eTR \eTABLEbody \eTABLE \stoptext ----
As you can see, in both cases all header cells are surrounded by a thick border; but only the bottom border should be.
If you want only the bottom border (and no other border), use ....[frame=off, bottomframe=on, ...]
How to achieve it?
If you want to have all borders, but only draw the bottom border with a different thickness, you will have to use a custom metapost background. Aditya