From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13826 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: columns and alignment at the bottom Date: Tue, 14 Oct 2003 21:37:30 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <6.0.0.22.2.20031014213656.02861a88@localhost> References: <121003.1a7ddaac61207cd4dc060100ee9e8eb3@alech.de> <873cdyb2om.fsf@cs.uga.edu> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1066162104 5692 80.91.224.253 (14 Oct 2003 20:08:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2003 20:08:24 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Oct 14 22:08:22 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9VSw-0004kF-00 for ; Tue, 14 Oct 2003 22:08:22 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 1EF6310B4C; Tue, 14 Oct 2003 22:08:20 +0200 (MEST) Original-Received: from mail.solcon.net (mail.solcon.net [212.45.33.5]) by ref.ntg.nl (Postfix) with ESMTP id D251B10B47 for ; Tue, 14 Oct 2003 21:53:14 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.net (8.11.6/8.9.3) with ESMTP id h9EJr3732731 for ; Tue, 14 Oct 2003 21:53:03 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 1D8DC23456; Tue, 14 Oct 2003 21:53:07 +0200 (CEST) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id DA3F423359 for ; Tue, 14 Oct 2003 19:53:03 +0000 (UTC) X-Sender: hagen-mail@localhost X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Original-To: ntg-context@ntg.nl In-Reply-To: <873cdyb2om.fsf@cs.uga.edu> Original-References: <121003.1a7ddaac61207cd4dc060100ee9e8eb3@alech.de> <873cdyb2om.fsf@cs.uga.edu> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13826 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13826 At 22:50 12/10/2003, Ed L Cashin wrote: >Alexander Klink writes: > > > Hi, > > > > I am trying to typeset a text which should look roughly like that: > > > > |-----| |-----| |------| > > |text | |text | |text | > > | | |-----| | | > > |-----| | | > > |-----| | | > > |-----| |text | | | > > |text | |-----| |------| > > | | > > | | |-----| |------| > > | | |text | |text | > > |-----| |-----| |------| > > > > So I have a frames with some text (actually, addresses - Hans, maybe > > you remember the address booklet I showed you here in Darmstadt) in > > three columns. So I tried something like: > > > > \startcolumns[n=3] > > \framed{first address...} > > \vskip 0.5cm plus 1fill > > \framed{second address...} > > \vskip 0.5cm plus 1fill > > \framed{third address...} > > . > > . > > . > > \stopcolumns > > > > Which (obviously because I use TeX code inside ConTeXt - shame on me) > > fails, the frames are not aligned at the bottom. > >This isn't so obvious, IMHO. I tried to do the same thing back in >1998 or 1999 to create a directory for a college. I made the glue >between the boxes very stretchable, so that context would be able to >put as much space as necessary between the directory entries in order >to have the columns line up at the bottom. > > >From a user standpoint, it should work. However, it turns out that >columns, from an implementation standpoint, are not easy at all in >tex. It has to do with subtleties in the page output routine that I >don't really grasp. > > > So I'm looking for a way to typeset them with a distance of at least > > 0.5cm and align at the bottom - the remaining space should be spread > > equally... > > I hope the question is understandable and I hope someone has already > > done something like this... > >Some months ago another columns implementation came out, but if I >recall correctly, when you have columns of vboxes separated by very >stretchy glue, the new columns implementation can't bottom-align them >either. got you: \starttext \startcolumnset \dorecurse{100} {\framed [width=\hsize,height=fit,align=normal] {\getrandomnumber\whatever{1}{9}% \dorecurse\whatever{\strut test \recurselevel\endgraf}} \vfilll} \stopcolumnset \stoptext