ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Paul Tremblay <phthenry@iglou.com>
Subject: Re: widow and orphan control
Date: Tue, 29 Mar 2005 18:24:37 -0500	[thread overview]
Message-ID: <20050329232437.GA30038@localhost.localdomain> (raw)
In-Reply-To: <20050329030458.GA4547@localhost.localdomain>

On Mon, Mar 28, 2005 at 10:04:58PM -0500, Paul Tremblay wrote:
> 
> How does one prevent orphans (the first line nof a paragraph on the last
> line of a page) and widows (the last line of a paragraph on a new page)?
> 
> If I have the title of a new section that must not be the last line of a
> page, how can I do this? 
> 

I've hunted around the web quite a bit, and there doesn't seem to be an
easy way to do this. I tried:

\clubpenalty=-600
\widowpenalty=-600

But this had no effect.

What I would need is some type of macro that can determine how much
space is left on the page. If the space is less than some small,
pretermined amount (say, 24 points, for example), then put the title on
the next page, or put in a \blank[24pt, flexible]

I know nothing about writing macros, or if this is possible. 

Paul

-- 

************************
*Paul Tremblay         *
*phthenry@iglou.com    *
************************

  reply	other threads:[~2005-03-29 23:24 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-29  3:04 Paul Tremblay
2005-03-29 23:24 ` Paul Tremblay [this message]
2005-03-30  0:45   ` speter
2005-03-30  6:53   ` Hans Hagen
2005-03-30  9:53     ` Vit Zyka
2005-03-30 14:29       ` phthenry
2005-03-30 23:23         ` Vit Zyka
2005-03-30 23:03       ` Paul Tremblay
2005-03-30 23:02     ` Paul Tremblay
2005-03-31  7:11       ` Hans Hagen
2005-04-28 15:57       ` Using modes Matthias Weber
2005-04-28 19:00         ` Willi Egger
2005-04-28 21:43           ` Matthias Weber
2005-04-28 21:47           ` Matthias Weber
2005-04-28 22:17             ` David Munger
2005-03-30  7:31   ` widow and orphan control Patrick Gundlach
2005-03-30 23:05     ` Paul Tremblay
2005-03-30  9:35   ` Vit Zyka
2005-03-30  4:03 ` Paul Tremblay
2005-03-30  7:24   ` Patrick Gundlach
2005-03-30 23:08     ` Paul Tremblay

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=20050329232437.GA30038@localhost.localdomain \
    --to=phthenry@iglou.com \
    --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).