From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26188 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: framing columns Date: Tue, 28 Feb 2006 20:46:31 +0100 Message-ID: <637EAB2E-3532-430B-B151-BCC6B139B164@science.uva.nl> References: <4403AA93.6040601@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1141156042 3809 80.91.229.2 (28 Feb 2006 19:47:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Feb 2006 19:47:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 28 20:47:19 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 1FEAo9-0000JV-9d for gctc-ntg-context-518@m.gmane.org; Tue, 28 Feb 2006 20:46:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 71FB21279D; Tue, 28 Feb 2006 20:46:52 +0100 (CET) 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 32218-05; Tue, 28 Feb 2006 20:46:46 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9498812783; Tue, 28 Feb 2006 20:46:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF7D512783 for ; Tue, 28 Feb 2006 20:46:44 +0100 (CET) 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 32058-07 for ; Tue, 28 Feb 2006 20:46:42 +0100 (CET) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with SMTP id EBD4B12772 for ; Tue, 28 Feb 2006 20:46:42 +0100 (CET) Original-Received: from 119-62.uva.surfnetthuis.nl [145.98.119.62] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id k1SJkdG17134; Tue, 28 Feb 2006 20:46:39 +0100 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ In-Reply-To: <4403AA93.6040601@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new 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:26188 Archived-At: Hans, Thanks for your suggestion, but in the meantime I worked hard to find a solution and now do a framedtext within a framed text. Calculating the width and height of the inner framedtext from the surrounding one's offset and the margin wanted. After puzzling out that "location=middle" can put the inner framedtext centered it seems to work for me. But it is a bit more work than the solution you are showing me here; surely I will try your suggestion because it seems so much simpler. I must admit I would not have found out on my own about the two uses of \hsize. As for your question: "can you put that in the wiki?" I have not the faintest idea of how to put things in a "wiki". Not even do I understand the phenomenon "wiki". yours sincerely, dr. H. van der Meer On Feb 28, 2006, at 2:42, Hans Hagen wrote: > Hans van der Meer wrote: >> A nasty problem arises when I try to enclose columns into a >> framedtext and at the same time want to typeset it narrower inside >> the frame. >> >> 1. framedtext: columns will not typeset, simplecolumns does >> 2. narrower: columns honors narrowing, simplecolumns does not. >> >> Now I am caught between two impossibilities. >> Is it an option that simplecolumns will also be honoring >> startnarrower..stopnarrower? >> Is there another, simple solution? >> > \framed[width=\hsize]\bgroup > \startnarrower > \setlocalhsize \hsize\localhsize > \startsimplecolumns > \input tufte \par > \input tufte\par > \stopsimplecolumns > \stopnarrower > \egroup > > - when no width is given, framed will to to find the best fit > - you set the hsize according to the narrower before the columns > > can you put that in the wiki? > > 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 > ----------------------------------------------------------------- > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context