From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31332 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Natural table + interlinespacing Date: Wed, 11 Oct 2006 21:55:45 +0200 Message-ID: <452D4C41.1020300@wxs.nl> References: <452CEAD4.3010302@iki.fi> <115224fb0610110741x2408e1dbqcb4b0207f69d9da8@mail.gmail.com> <6faad9f00610110829y6cd447dand5f4b9ea3156aec3@mail.gmail.com> 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 1160596795 25306 80.91.229.2 (11 Oct 2006 19:59:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Oct 2006 19:59:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 11 21:59:49 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 1GXkBa-0003KC-GG for gctc-ntg-context-518@m.gmane.org; Wed, 11 Oct 2006 21:56:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D61A11FF1D; Wed, 11 Oct 2006 21:56:11 +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 23214-01; Wed, 11 Oct 2006 21:56:03 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 70C201FF19; Wed, 11 Oct 2006 21:56:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0FC251FF19 for ; Wed, 11 Oct 2006 21:55:57 +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 22579-06 for ; Wed, 11 Oct 2006 21:55:50 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with SMTP id 948FD1FF18 for ; Wed, 11 Oct 2006 21:55:48 +0200 (CEST) Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 12434 for ; Wed, 11 Oct 2006 21:55:48 +0200 User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f00610110829y6cd447dand5f4b9ea3156aec3@mail.gmail.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 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:31332 Archived-At: Mojca Miklavec wrote: > I don't know if we're talking about the same problem, but what I hate > about natural tables as well (although I use them all the time) is > very bad spacing: horizontal offset is too narrow and vertical offset > is too big (well, it also depends on content, but in general > "\starttable/tabulate" looks much better regarding spacing). > > If I want smaller table I usually do > \startbuffer[name] > .... table ... > \stopbuffer > \externalfigure[\jobname-name.tmp][scale=...] > > but that is not *the* solution. Tables still look "bad" that way. The > main problem is that there is no special parameter for "horizonal > offset" and "vertical offset" for \framed, otherwise the user could > modify that at least to some extent. I have no idea how "usual tables" > create "nice spacing". > the ofsset is around all edged (maybe some day i will add more offsets but only when my machine is 10 times faster) the vertical spacing is just as in normal text and is detemined by the strutheight / depth and lineheight; of course you can change that but it may make your docs sensitive for unequal spacing tabulate uses the line parameters as well and the other table mechanism as (imo) bad spacing in paragraphs anyway anyhow, you can make 'm as ugly as you want \starttext \setupcolors[state=start] \startsetups mojca \setupinterlinespace[.8] \leftskip2em \rightskip2em \stopsetups \setupTABLE [setups=mojca] \setupTABLE [y] [first][background=color,backgroundcolor=blue,frame=off,bottomframe=on,topframe=on,framecolor=white] \setupTABLE [first][first][backgroundcorner=2,corner=10,frame=on] \setupTABLE [last] [first][backgroundcorner=4,corner=12,frame=on] \setupTABLE [row] [each] [background=color,backgroundcolor=blue,frame=on,framecolor=white] \setupTABLE [first][2] [corner=8] \setupTABLE [last] [2] [corner=5] \setupTABLE [first][last] [corner=7] \setupTABLE [last] [last] [corner=6] \startTEXpage \bTABLE[frame=off,align=middle] \bTR \bTD one \eTD \bTD two \eTD \bTD three \eTD \eTR \bTR \bTD first \eTD \bTD second \eTD \bTD third \eTD \eTR \bTR \bTD alpha \eTD \bTD beta \eTD \bTD gamma \eTD \eTR \eTABLE \stopTEXpage \stoptext the corner trickery is in the latest beta (made that today) - don't ask why -) 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 -----------------------------------------------------------------