[NTG-context] TABLE: header with a thick bottom line

Procházka Lukáš Ing. - Pontex s. r. o. LPr at pontex.cz
Mon Oct 22 16:27:00 CEST 2012


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.

How to achieve it?

TIA.

Best regards,

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr at pontex.cz]
Pontex s. r. o.      [mailto:pontex at pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t-TabHdr.mkiv
Type: application/octet-stream
Size: 647 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20121022/4ea54d0d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t-TabHdr.pdf
Type: application/pdf
Size: 7801 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20121022/4ea54d0d/attachment-0001.pdf>


More information about the ntg-context mailing list