ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Peter Münster" <pmlists@free.fr>
Subject: Re: Re: flushbottom
Date: Mon, 31 May 2004 20:43:27 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0405312017220.15207@gaston.free.fr> (raw)
In-Reply-To: <m27jutgckj.fsf@levana.de>

On Mon, 31 May 2004, Patrick Gundlach wrote:

> Peter Münster <pmlists@free.fr> writes:
> 
> > how could I get stretchable space between paragraphs, tables and figures, so
> > that the last line of a page flushes always to the bottom?
> > \setupwhitespace[0pt plus 1pt] does not seem to work...
> 
> try \setupwhitespace[0pt plus 1fil]
> But this might be too much sometimes.

Thanks! I tried 1fil, but it was not enough. 1fill seems to be good. But on
the last page, there is a problem. Here is my example file:

\def\Par{bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla}
\def\Fig{\placefigure{A figure.}{\framed{\vbox to 5cm{bla}}}}
\def\Tab{\placetable{A table.}{\framed{\vbox to 5cm{bla}}}}
\setuplayout[height=24cm]
\setupwhitespace[0pt plus 1fill]
\starttext
\dorecurse{20}{\section{Section}\Par\Par\Par\Fig\Par\Par\par\Par\par\Tab
\Par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\Par\Par\Par}
\stoptext

I could place a \vfilll at the end of each chapter, but perhaps there is
a more elegant solution.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_____________________________________
FilmSearch engine: http://f-s.sf.net/

      parent reply	other threads:[~2004-05-31 18:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-31  9:21 flushbottom Peter Münster
2004-05-31  9:39 ` flushbottom Patrick Gundlach
2004-05-31 11:15   ` flushbottom Henning Hraban Ramm
2004-05-31 12:29     ` Peter Münster
2004-05-31 13:40       ` flushbottom Henning Hraban Ramm
2004-05-31 18:43   ` Peter Münster [this message]

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=Pine.LNX.4.58.0405312017220.15207@gaston.free.fr \
    --to=pmlists@free.fr \
    --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).