From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17099 Path: main.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Table question Date: Wed, 17 Nov 2004 14:11:24 +0100 Message-ID: <419B4DFC.4070709@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100697587 15883 80.91.229.6 (17 Nov 2004 13:19:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2004 13:19:47 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 17 14:19:39 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CUPil-0002le-00 for ; Wed, 17 Nov 2004 14:19:39 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 25639127C3; Wed, 17 Nov 2004 14:19:38 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25449-03; Wed, 17 Nov 2004 14:19:35 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DC259127B9; Wed, 17 Nov 2004 14:19:34 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 641F6127B9 for ; Wed, 17 Nov 2004 14:19:33 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25478-01-2 for ; Wed, 17 Nov 2004 14:19:32 +0100 (CET) Original-Received: from mail.gmx.net (unknown [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 9897412772 for ; Wed, 17 Nov 2004 14:19:32 +0100 (CET) Original-Received: (qmail 18327 invoked by uid 65534); 17 Nov 2004 13:19:31 -0000 Original-Received: from lips-d9b8cb65.pool.mediaWays.net (EHLO [217.184.203.101]) (217.184.203.101) by mail.gmx.net (mp006) with SMTP; 17 Nov 2004 14:19:31 +0100 X-Authenticated: #24293357 User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17099 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17099 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