ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
Subject: Re: columns and alignment at the bottom
Date: Sun, 12 Oct 2003 22:18:56 +0200	[thread overview]
Message-ID: <6.0.0.22.1.20031012220905.01b5ceb0@digitpaint.nl> (raw)
In-Reply-To: <121003.1a7ddaac61207cd4dc060100ee9e8eb3@alech.de>

At 21:36 12.10.2003, Alex wrote:
>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.
>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...
>
>Greetings,
>                 ALeX
Now I haven't. But there is another approach to this. There is an arranging 
possibility which looks as follows:

\setuppapersize [XY][A4]
  \setuppaper     [topspace=5mm,backspace=5mm,dx=1mm,dy=2mm,nx=3,ny=4] %
  \setuplayout
      [page]
      [topspace=5mm,
      backspace=5mm,
      header=0pt,
      headerdistance=0pt,
      footer=0pt,
      footerdistance=0pt,
      location=middle,
      marking=on]
\setuppagenumbering[state=stop]
\setuparranging [XY]

\setupframedtexts
         [frame=off,
         leftframe=on,
         bottomframe=on,
         align=middle,
         location=middle,
         width=broad]

%\showframe

\startbuffer[Addresse1]
     \startframedtext
         ...
     \stopframedtext
     \page
\stopbuffer

\startbuffer[Addresse2]
     \startframedtext
         ...
     \stopframedtext
     \page
\stopbuffer

\starttext
     \dorecurse{6}{\getbuffer[Addresse\recurselevel]}%between first braces 
number of addresses you have in buffers
\stoptext

You will have to play with the different option parameters.
It is usefull to start texshow  :-)

Gruss Willi

  reply	other threads:[~2003-10-12 20:18 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 [this message]
2003-10-12 20:50 ` Ed L Cashin
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=6.0.0.22.1.20031012220905.01b5ceb0@digitpaint.nl \
    --to=w.egger@boede.nl \
    --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).