ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TABLE: header with a thick bottom line
@ 2012-10-22 14:27 Procházka Lukáš Ing. - Pontex s. r. o.
  2012-10-22 14:41 ` Aditya Mahajan
  0 siblings, 1 reply; 6+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-10-22 14:27 UTC (permalink / raw)
  To: ConTeXt

[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]

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@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

[-- Attachment #2: t-TabHdr.mkiv --]
[-- Type: application/octet-stream, Size: 647 bytes --]

\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

[-- Attachment #3: t-TabHdr.pdf --]
[-- Type: application/pdf, Size: 7801 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-23 15:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-22 14:27 TABLE: header with a thick bottom line Procházka Lukáš Ing. - Pontex s. r. o.
2012-10-22 14:41 ` Aditya Mahajan
2012-10-22 15:02   ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-10-22 15:45     ` Marco Patzer
2012-10-23  7:35       ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-10-23 15:13         ` Rogers, Michael K

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).