From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26231 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Natural tables, rulethickness Date: Sat, 04 Mar 2006 16:42:31 +0100 Message-ID: <4409B567.20101@gmx.net> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1141487009 23293 80.91.229.2 (4 Mar 2006 15:43:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Mar 2006 15:43:29 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 04 16:43:26 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FFYuc-0008F7-3B for gctc-ntg-context-518@m.gmane.org; Sat, 04 Mar 2006 16:43:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72263127A1; Sat, 4 Mar 2006 16:43:17 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01633-05; Sat, 4 Mar 2006 16:43:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B4A7812791; Sat, 4 Mar 2006 16:43:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F238212791 for ; Sat, 4 Mar 2006 16:43:10 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02030-05-2 for ; Sat, 4 Mar 2006 16:43:09 +0100 (CET) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id DEA7D1278B for ; Sat, 4 Mar 2006 16:43:09 +0100 (CET) Original-Received: (qmail invoked by alias); 04 Mar 2006 15:43:09 -0000 Original-Received: from i577B838B.versanet.de (EHLO [192.168.1.3]) [87.123.131.139] by mail.gmx.net (mp001) with SMTP; 04 Mar 2006 16:43:09 +0100 X-Authenticated: #24293357 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: X-Enigmail-Version: 0.94.0.0 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26231 Archived-At: Hi Patrick, Patrick Gundlach wrote: > Hello, > > I have a (natural) table and I'd like to have three rules in that > table. The toprule and the bottomrule should be .08em thick, the > midrule 0.05em. What would be a way to achieve that? The example is > incorrect. > > > \starttext > > \setupTABLE[r][each][frame=off] > \setupTABLE[r][first][topframe=on,rulethickness=.08em] > \setupTABLE[r][first][bottomframe=on,rulethickness=.05em] > \setupTABLE[r][last][bottomframe=on,rulethickness=.08em] > \bTABLE You can't use different frame sizes in the same frame (as in \framed). A simple solution is \setupTABLE[r][2][topframe=on,rulethickness=.05em] instead of using a bottomframe. Or maybe better \setupTABLE[r][first][topframe=on,rulethickness=.08em, after={\hrule width\hsize height.05em}] You can adjust the vertical spacing by using \setupTABLE[r][first][topframe=on,rulethickness=.08em, after={\hbox{\raise 5pt\hbox{\vrule width\hsize height.05em}}}] But the second solution maybe has some unwanted sideeffects (page breaks,..). I've tried to use \hrule in combination with 'before=', but this does not work here. Hope this helps. Greetings, Peter > \bTR \bTD Lorem \eTD \bTD ipsum \eTD \bTD dolor sit \eTD \eTR > \bTR \bTD amet \eTD \bTD[nc=2] consectetuer adipiscing elit \eTD \eTR > \bTR \bTD 1 \eTD \bTD \eTD \bTD Donec hendrerit tempor tellus. Donec pretium posuere\eTD \eTR > \bTR \bTD 2 \eTD \bTD \eTD \bTD tellus. Proin quam nisl, tincidunt > et, mattis eget, convallis nec, \unknown \eTD \eTR > \bTR \bTD \eTD \bTD[nc=2] purus. Cum sociis \eTD \eTR > \bTR \bTD 3 (natoque) \eTD \bTD penatibus \eTD \bTD \eTD \eTR > \bTR \bTD 5 \eTD \bTD[nc=2] et magnis dis \eTD \eTR > \bTR \bTD 6 \eTD \bTD parturient \eTD \bTD montes, nascetur ridiculus \eTD \eTR > \bTR \bTD \eTD \bTD mus \eTD \bTD Nulla posuere. Donec vitae dolor \eTD \eTR > \eTABLE > \stoptext > > Patrick