ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* TABLE & lines (frame)
@ 2012-06-12 15:12 Procházka Lukáš Ing. - Pontex s. r. o.
  2012-06-12 15:40 ` luigi scarso
  2012-06-12 15:41 ` Wolfgang Schuster
  0 siblings, 2 replies; 4+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-06-12 15:12 UTC (permalink / raw)
  To: ConTeXt

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

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?

TIA.

Kind 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-TAB.mkiv --]
[-- Type: application/octet-stream, Size: 332 bytes --]

\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

[-- Attachment #3: t-TAB.pdf --]
[-- Type: application/pdf, Size: 5382 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] 4+ messages in thread

end of thread, other threads:[~2012-06-12 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-12 15:12 TABLE & lines (frame) Procházka Lukáš Ing. - Pontex s. r. o.
2012-06-12 15:40 ` luigi scarso
2012-06-12 15:41 ` Wolfgang Schuster
2012-06-12 16:17   ` Procházka Lukáš Ing. - Pontex s. r. o.

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).