ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* flushbottom
@ 2004-05-31  9:21 Peter Münster
  2004-05-31  9:39 ` flushbottom Patrick Gundlach
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2004-05-31  9:21 UTC (permalink / raw)


Hello,
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...

Here is my test-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}
\setuplayout[height=24cm]
\setupwhitespace[0pt plus 1pt] % value of parskip in LaTeX
\starttext
\dorecurse{20}{\section{Section}\Par\par\Par\par\Par\par\Par\par}
\stoptext

Cheers, Peter

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: flushbottom
  2004-05-31  9:21 flushbottom Peter Münster
@ 2004-05-31  9:39 ` Patrick Gundlach
  2004-05-31 11:15   ` flushbottom Henning Hraban Ramm
  2004-05-31 18:43   ` flushbottom Peter Münster
  0 siblings, 2 replies; 6+ messages in thread
From: Patrick Gundlach @ 2004-05-31  9:39 UTC (permalink / raw)


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.


Patrick

-- 
Es wird kein Wunder geschehen

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: flushbottom
  2004-05-31  9:39 ` flushbottom Patrick Gundlach
@ 2004-05-31 11:15   ` Henning Hraban Ramm
  2004-05-31 12:29     ` Peter Münster
  2004-05-31 18:43   ` flushbottom Peter Münster
  1 sibling, 1 reply; 6+ messages in thread
From: Henning Hraban Ramm @ 2004-05-31 11:15 UTC (permalink / raw)



Am Montag, 31.05.04, um 11:39 Uhr (Europe/Zurich) schrieb Patrick 
Gundlach:
>> 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.

How about \vfil \vfill \vfilll ?



Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: flushbottom
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2004-05-31 12:29 UTC (permalink / raw)


On Mon, 31 May 2004, Henning Hraban Ramm wrote:

> Am Montag, 31.05.04, um 11:39 Uhr (Europe/Zurich) schrieb Patrick 
> Gundlach:
> >> 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.
> 
> How about \vfil \vfill \vfilll ?

What do you mean?
\setupwhitespace[\vfil] won't work.
Cheers, Peter

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: flushbottom
  2004-05-31 12:29     ` Peter Münster
@ 2004-05-31 13:40       ` Henning Hraban Ramm
  0 siblings, 0 replies; 6+ messages in thread
From: Henning Hraban Ramm @ 2004-05-31 13:40 UTC (permalink / raw)



Am Montag, 31.05.04, um 14:29 Uhr (Europe/Zurich) schrieb Peter Münster:
>> How about \vfil \vfill \vfilll ?
>
> What do you mean?
> \setupwhitespace[\vfil] won't work.

I thought you'd need it only at some special place.


Grüßlis vom Hraban!
-- 
http://www.fiee.net/texnique/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: flushbottom
  2004-05-31  9:39 ` flushbottom Patrick Gundlach
  2004-05-31 11:15   ` flushbottom Henning Hraban Ramm
@ 2004-05-31 18:43   ` Peter Münster
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Münster @ 2004-05-31 18:43 UTC (permalink / raw)


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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-05-31 18:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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   ` flushbottom Peter Münster

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).