ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ed L Cashin <ecashin@uga.edu>
Subject: Re: columns and alignment at the bottom
Date: Sun, 12 Oct 2003 16:50:49 -0400	[thread overview]
Message-ID: <873cdyb2om.fsf@cs.uga.edu> (raw)
In-Reply-To: <121003.1a7ddaac61207cd4dc060100ee9e8eb3@alech.de> (Alexander Klink's message of "Sun, 12 Oct 2003 21:36:38 +0200")

Alexander Klink <alech@alech.de> 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.

-- 
--Ed L Cashin     PGP public key: http://noserose.net/e/pgp/

  parent reply	other threads:[~2003-10-12 20:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12 19:36 Alexander Klink
2003-10-12 20:18 ` Willi Egger
2003-10-12 20:50 ` Ed L Cashin [this message]
2003-10-14 19:37   ` Hans Hagen
2003-10-15 16:54     ` Ed L Cashin
2003-10-15 17:21       ` George N. White III
2003-10-15 18:49         ` Willi Egger
2003-10-16  0:45       ` Hans Hagen
2003-10-17 14:26         ` installation: "-jobname" pdfetex option (was Re: [NTG-context] columns and alignment at the bottom) Ed L Cashin
2003-10-17 15:40           ` installation: "-jobname" pdfetex option Ed L Cashin
2003-10-23 19:17             ` Ed L Cashin
2003-10-19 19:06           ` installation: "-jobname" pdfetex option (was Re: [NTG-context] columns and alignment at the bottom) Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873cdyb2om.fsf@cs.uga.edu \
    --to=ecashin@uga.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).