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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to