From: Paul Tremblay <phthenry@iglou.com>
Subject: Re: widow and orphan control
Date: Wed, 30 Mar 2005 18:02:22 -0500 [thread overview]
Message-ID: <20050330230222.GE13966@localhost.localdomain> (raw)
In-Reply-To: <424A4CEB.9030005@wxs.nl>
On Wed, Mar 30, 2005 at 08:53:31AM +0200, Hans Hagen wrote:
> >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.
>
> \testpage[24pt]
>
>
This produces an unwanted "pt" in my text.
But if I use:
\testpage[3]
I get some very interesting result. It almost seems from my tests that
ConTeXt will break if it can't put 3 more "lines" on the page. Almost,
anyway. If I have spaces as in:
\testpage[3]
Title\par
\blank[24pt]
The code doesn't quite work. It might even make an ugly orphan of poor
title. In that case I have to increase the option in \testpage to 5 or 6
to work.
So what exactly does the argument stand for? This command might be
really useful.
Thanks
Paul
--
************************
*Paul Tremblay *
*phthenry@iglou.com *
************************
next prev parent reply other threads:[~2005-03-30 23:02 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
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 [this message]
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=20050330230222.GE13966@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).