From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80993 Path: news.gmane.org!not-for-mail From: Matthias Weber Newsgroups: gmane.comp.tex.context Subject: Arranging framed text without gaps Date: Thu, 28 Feb 2013 17:37:54 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1362091085 26281 80.91.229.3 (28 Feb 2013 22:38:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2013 22:38:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 28 23:38:27 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UBC7N-0003Ie-MB for gctc-ntg-context-518@m.gmane.org; Thu, 28 Feb 2013 23:38:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14258101F3; Thu, 28 Feb 2013 23:38:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Y1mAqPWi5tpT; Thu, 28 Feb 2013 23:38:01 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 75D7F101E7; Thu, 28 Feb 2013 23:38:01 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8ABC6101E7 for ; Thu, 28 Feb 2013 23:38:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LvArke4zIKPU for ; Thu, 28 Feb 2013 23:37:59 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 11A82101E3 for ; Thu, 28 Feb 2013 23:37:58 +0100 (CET) Original-Received: from hartman.uits.indiana.edu (belushi.uits.indiana.edu [129.79.1.188]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r1SMbuMa009712 for ; Thu, 28 Feb 2013 23:37:57 +0100 X-IronPort-AV: E=Sophos;i="4.84,757,1355115600"; d="scan'208";a="18223672" Original-Received: from mssg-relay.indiana.edu ([129.79.1.73]) by irpt-internal-relay.indiana.edu with ESMTP; 28 Feb 2013 17:37:55 -0500 Original-Received: from hartman.uits.indiana.edu (hartman.uits.indiana.edu [129.79.1.194]) by mssg-relay.indiana.edu (8.14.5/8.14.4/IU Messaging Team) with ESMTP id r1SMbtj7024576 for ; Thu, 28 Feb 2013 17:37:55 -0500 X-IronPort-AV: E=Sophos;i="4.84,757,1355115600"; d="scan'208";a="18353098" Original-Received: from burns.uits.indiana.edu (HELO mail-relay.iu.edu) ([129.79.1.202]) by irpt-internal-relay.indiana.edu with ESMTP; 28 Feb 2013 17:37:55 -0500 Original-Received: from 129-79-94-36.dhcp-bl.indiana.edu (129-79-94-36.dhcp-bl.indiana.edu [129.79.94.36]) (authenticated bits=0) by mail-relay.iu.edu (8.14.5/8.14.4/IU Messaging Team Submission) with ESMTP id r1SMbtbu027656 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 28 Feb 2013 17:37:55 -0500 X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.79.1.188; country=US; region=IN; city=Bloomington; latitude=39.1653; longitude=-86.5264; metrocode=527; areacode=812; http://maps.google.com/maps?q=39.1653,-86.5264&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJ5WBVTI - 69c1a6c1eaba - 20130228 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80993 Archived-At: Dear all, I am trying to create a table where the entries have determined width and height. They typically are something like \framed[width=5cm,height=4cm,align={center,middle}{Text} and I understand that I will be responsible for making the dimensions so that everything fits nicely. After playing around without much success with the various tables, I came up with the following which is not exactly ConTeXt-like: \setupframed[ width=5cm, height=4cm, location={middle}, align={center,middle} ] \setupbodyfont[24pt] \starttext \hbox{{\framed{Jim}}{\framed{Mary}}{\framed{John}}} \hbox{{\framed{Patsy}}{\framed{Bob}}{\framed{Linda}}} \hbox{{\framed{Mike}}{\framed{Babsy}}{\framed{Bill}}} \hbox{{\framed{Liz}}{\framed{Dave}}{\framed{Jenny}}} \hbox{{\framed{Dick}}{\framed{Sue}}{\framed{Chuck}}} \hbox{{\framed{Maggie}}{\framed{Joe}}{\framed{Dolley}}} \hbox{{\framed{Tom}}{\framed{Lisa}}{\framed{Chris}}} \hbox{{\framed{Nancy}}{\framed{Paul}}{\framed{Betty}}} \stoptext I get small gaps between the horizontal rows which I don't like. Also, in my (possibly not quite up to date) MkIV, the texts isn't centered. In MkII it is. My questions: How do I -- achieve the desired layout (exact dimensions, frames, no gaps) the right way, -- without gaps between horizontal rows -- with text centered in the frames also in MkIV? Thanks a lot - Matthias ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________