From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20317 Path: news.gmane.org!not-for-mail From: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= Newsgroups: gmane.comp.tex.context Subject: hook TABLE Date: Tue, 10 May 2005 19:01:25 +0200 Message-ID: <20050510170124.GB26761@cebitec.uni-bielefeld.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115744074 29454 80.91.229.2 (10 May 2005 16:54:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 May 2005 16:54:34 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue May 10 18:54:28 2005 Return-path: 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 1DVXzi-0006CQ-M7 for gctc-ntg-context-518@m.gmane.org; Tue, 10 May 2005 18:54:07 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C756F127EB; Tue, 10 May 2005 19:01:34 +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 23795-02; Tue, 10 May 2005 19:01:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 83897127A3; Tue, 10 May 2005 19:01:29 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE812127A3 for ; Tue, 10 May 2005 19:01:27 +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 23792-02-2 for ; Tue, 10 May 2005 19:01:27 +0200 (CEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE (sauron.cebitec.uni-bielefeld.de [129.70.160.28]) by ronja.ntg.nl (Postfix) with ESMTP id 146A912791 for ; Tue, 10 May 2005 19:01:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id AE9EC501 for ; Tue, 10 May 2005 19:01:26 +0200 (MEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (sauron [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00043-04-2 for ; Tue, 10 May 2005 19:01:25 +0200 (MEST) Original-Received: from gollum.Genetik.Uni-Bielefeld.DE (gollum.CeBiTec.Uni-Bielefeld.DE [129.70.160.29]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id C47CB500 for ; Tue, 10 May 2005 19:01:25 +0200 (MEST) Original-Received: by gollum.Genetik.Uni-Bielefeld.DE (Postfix, from userid 13119) id 71AD21207; Tue, 10 May 2005 19:01:25 +0200 (MEST) Original-To: ntg-context@ntg.nl Mail-Followup-To: ntg-context@ntg.nl Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at cebitec.uni-bielefeld.de X-Virus-Scanned: 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20317 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20317 Hi, I have tried to use Hans' recent tip concerning hooks for TABLE entries in oder to increase the horizontal separation of cells. Here is what I currently have: \newdimen\TabCol\Sep \TabColSep6pt \def\TBLcharalign#1#2{% \hskip\TabColSep\relax \framed[align=right,frame=off,rulethickness=0mm,offset=0mm,strut=yes]{#2}% \hbox to\TabColSep{\hss}% } This works - kind of, at least the horizontal cell separation is increased. Unfortunately, vertical spacing between rows is also affected. I had to introduce the \framed in order to treat multi-line entries, and the strut in order to ensure correct vertical alignment in the row. Now, my call for help: Does anybody have an idea how to control horizontal spacing without changing the inter-row space? Thanks, -- Eckhart