From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27414 Path: news.gmane.org!not-for-mail From: Johannes Graumann Newsgroups: gmane.comp.tex.context Subject: Re: TABLE: 'distance' override? Date: Sun, 23 Apr 2006 09:58:51 -0700 Organization: Die Guten Message-ID: References: <44493A24.6090701@wxs.nl> 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 1145811964 11556 80.91.229.2 (23 Apr 2006 17:06:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Apr 2006 17:06:04 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 23 19:06:03 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 1FXi24-0005bA-LQ for gctc-ntg-context-518@m.gmane.org; Sun, 23 Apr 2006 19:06:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64E4E127A7; Sun, 23 Apr 2006 19:06:00 +0200 (CEST) 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 17721-02; Sun, 23 Apr 2006 19:05:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A811212799; Sun, 23 Apr 2006 19:05:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0695812799 for ; Sun, 23 Apr 2006 19:05:55 +0200 (CEST) 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 15549-07-2 for ; Sun, 23 Apr 2006 19:05:53 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with SMTP id 80D1F1278B for ; Sun, 23 Apr 2006 19:05:53 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FXi1i-0005YL-Vp for ntg-context@ntg.nl; Sun, 23 Apr 2006 19:05:39 +0200 Original-Received: from iluvatar.caltech.edu ([131.215.35.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Apr 2006 19:05:38 +0200 Original-Received: from johannes_graumann by iluvatar.caltech.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Apr 2006 19:05:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ntg.nl Original-Lines: 58 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: iluvatar.caltech.edu User-Agent: KNode/0.10.2 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:27414 Archived-At: After sleeping on this I realize that a more mechanistical answer to this may be more interesting. When coding a table in LaTeX with 'booktabs' as the one shown in http://www.idyll.org:8081/JohSite/context/table1.jpg/view, booktabs mainly provides the commands '\bottomrule' and '\toprule', creating the heavier start and end lines. The interrupted lines separating the table header from the table body are coded explicitly (with a command I'm not sure is even provided by 'booktabs'): '\cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(l {3-3}' for a three-columned table. Bottomline is that while with the distance solution in ConTeXt natural TABLEs the whole table is modified, a solution like this only modifies the horizontal line targeted - and that very flexible: the firs '\cmidrule' call anly shortens the rule on the right ('(r)'), the second one on both sides ('(lr)') and the last one on the left ('(l)'). In order to emulate my table style with TABLE there would be 4 things necessary: 1) possibility to have top- and bottomframe formated independently (different width - top heavy, bottom light; one continuous, one interrupted (see 2.)) 2) a new frame mode ('int'?) which interrupts a 'bottomframe=int' between table columns with an automatism recognizing whether this is the first or last column and only shortening the line on the right or left respectively. 3) Booktabs also provides an '\addlinespace' command for groupseparation ... see separation between first and second body line in http://www.idyll.org:8081/JohSite/context/table1.jpg/view 4) When defining tables in LaTeX, a definition like \tabular{@{}lll@{}} yields horizontal lines terminating on the left and right flush with the table content and not reaching to a column separation border beyond that. If you wonder where I got all theses crazy ideas ;0): http://www.tug.org/tex-archive/info/german/tabsatz/tabsatz.pdf by Axel Reichert is the inspiring document (sorry - German only). I'm not asking for this to be implemented, but I believe ConTeXt would benefit from this. Joh Hans Hagen wrote: > Johannes Graumann wrote: >> Hello, >> >> In my quest for tables similar to what the 'booktabs' package in LaTeX >> > what does booktab do then > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > -----------------------------------------------------------------