ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
Subject: Re: Table question
Date: Wed, 17 Nov 2004 14:11:24 +0100	[thread overview]
Message-ID: <419B4DFC.4070709@gmx.net> (raw)

Hello Thomas,

Thomas A.Schmitz wrote:

> OK, I'm answering my own question from October: by shamelessly copying 
> and adapting code from enattab, I managed to get double lines in 
> tables, and I'm almost there. I guess real texnicians would call it a 
> dirty hack, but it does what I want. Could anybody test this code:

it works here :)

>
> \starttext
>
> ....
>
> \bTABLE[width=.25\textwidth,frame=off] \bTR \bTD 
> \framed[width=.25\textwidth,height=4.5ex,background=c11,frame=off]{A}

  \bTABLE[width=.25\textwidth, frame=off, offset=overlay] ...
                                                                   ^^^

> \eTD \bTD[align=middle] 
> \framed[width=.25\textwidth,height=4.5ex,background=c12,frame=off]{B}
> \eTD \bTD[align=middle] 
> \framed[width=.25\textwidth,height=4.5ex,background=c13,frame=off]{C}
> \eTD \bTD[align=middle] 
> \framed[width=.25\textwidth,height=4.5ex,background=c14,frame=off]{D}
> \eTD \eTR
> \bTR \bTD[align=middle] 
> \framed[width=.25\textwidth,height=4.5ex,background=c21,frame=off]{E}
> \eTD \bTD[align=middle] 
> \framed[width=.25\textwidth,height=4.5ex,background=c22,frame=off]{F}
> \eTD \bTD[align=middle] 
> \framed[width=.25\textwidth,height=4.5ex,background=c21,frame=off]{G}
> \eTD \bTD[align=middle] 
> \framed[width=.25\textwidth,height=4.5ex,background=c24,frame=off]{H}
> \eTD \eTR
> \bTR\bTD[align=middle] 
> \framed[width=.25\textwidth,height=4.5ex,background=c21,frame=off]{I}
> \eTD \bTD[align=middle] 
> \framed[width=.25\textwidth,height=4.5ex,background=c22,frame=off]{K}
> \eTD \bTD[align=middle] 
> \framed[width=.25\textwidth,height=4.5ex,background=c21,frame=off]{L}
> \eTD \bTD[align=middle] 
> \framed[width=.25\textwidth,height=4.5ex,background=c24,frame=off]{M}
> \eTD \eTR
> \eTABLE
>
> \stoptext
>
> As you can see, the only problem is that there is a small gap between 
> the rows in the table. Is there a way how this gap can be closed?
>
Just add "offset=overlay" to your TABLE setup.
Greetings,

    Peter

             reply	other threads:[~2004-11-17 13:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-17 13:11 Peter Rolf [this message]
2004-11-17 13:29 ` Thomas A. Schmitz
2004-12-03 14:35   ` Patrick Gundlach
  -- strict thread matches above, loose matches on Subject: below --
2004-10-06  8:22 Thomas A.Schmitz
2004-11-15 21:01 ` Thomas A.Schmitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=419B4DFC.4070709@gmx.net \
    --to=indiego@gmx.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).