From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26942 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Re: Table Esthetics (and XML) Date: Sat, 08 Apr 2006 12:35:59 +0200 Message-ID: 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 1144492406 18286 80.91.229.2 (8 Apr 2006 10:33:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Apr 2006 10:33:26 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 08 12:33:24 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 1FSAkt-00024b-Uk for gctc-ntg-context-518@m.gmane.org; Sat, 08 Apr 2006 12:33:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 981A9127A7; Sat, 8 Apr 2006 12:33:23 +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 12611-10-8; Sat, 8 Apr 2006 12:33:14 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EF7D112792; Sat, 8 Apr 2006 12:33:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E60F412792 for ; Sat, 8 Apr 2006 12:33:10 +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 12611-10-7 for ; Sat, 8 Apr 2006 12:33:08 +0200 (CEST) Original-Received: from swip.net (mailfe13.tele2.fr [212.247.155.140]) by ronja.ntg.nl (Postfix) with SMTP id 882D51277E for ; Sat, 8 Apr 2006 12:33:08 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [83.179.156.124] (HELO localhost) by mailfe13.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 6291857 for ntg-context@ntg.nl; Sat, 08 Apr 2006 12:33:06 +0200 Original-To: "mailing list for ConTeXt users" In-Reply-To: User-Agent: Opera M2/7.54 (FreeBSD, build 955) 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:26942 Archived-At: On Fri, 07 Apr 2006 18:38:17 -0700, Johannes Graumann wrote: > Hello, > > I'm a big fan of the LaTeX booktabs package - I find tables created > using it > with it's 'toprule', 'bottomrule' and clippable 'cmidrule' commands the > most satisfying solution I have come across (see attachments, > especially 'table1.jpg'). After consulting the archives of this list, it > seems clear, that ConTeXt does not yet have any package of that > sophistication, but I'm dead set on writing my thesis in XML and have > ConTeXt read it ... therefore I'd like to soclicit your preferences and > ideas on how to pleasingly format tables - how do you do it? > > Thanks for any input, Maybe this can be a start: \starttext \framed[frame=off,topframe=on,bottomframe=on,offset=none,rulethickness=2pt]\bgroup% \setupTABLE[frame=off]% \setupTABLE[column][each][distance=10pt]% \setupTABLE[row][1][rulethickness=0.5pt,bottomframe=on]% \setupTABLE[row][2][rulethickness=0.5pt,bottomframe=on]% \bTABLE% \bTR\bTD[nr=2] a \eTD\bTD[nc=2] b \eTD\bTD[nr=2] c \eTD\eTR% \bTR\bTD b \eTD\bTD b \eTD\eTR% \bTR\bTD a \eTD\bTD b \eTD\bTD b \eTD\bTD c \eTD\eTR% \bTR\bTD a \eTD\bTD b \eTD\bTD b \eTD\bTD c \eTD\eTR% \eTABLE% \egroup \stoptext Regards, BG