* Re: \godown to an absolute position
[not found] <20050111230903.69804127A9@ronja.ntg.nl>
@ 2005-01-12 11:42 ` Duncan Hothersall
0 siblings, 0 replies; 3+ messages in thread
From: Duncan Hothersall @ 2005-01-12 11:42 UTC (permalink / raw)
Hans wrote:
> quick and dirty:
>
> \setuphead[chapter][before=\vbox to 10cm\bgroup,after=\vss\egroup]
>
> \starttext
>
> \chapter{test} \input tufte
> \chapter{test\endgraf test} \input tufte
>
> \stoptext
>
> there are other solutions (synchronizing stuff) but that's more complex
Great! This solution worked for me. I have added it to Sample Macros in
the Wiki.
Thanks,
Duncan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: \godown to an absolute position
2005-01-11 18:14 ` Duncan Hothersall
@ 2005-01-11 18:56 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2005-01-11 18:56 UTC (permalink / raw)
Duncan Hothersall wrote:
> Hello. I have a style request that I haven't come across before and
> don't know how to handle in ConTeXt.
>
> I need the first line of text following a chapter title to always start
> 15 picas from the top edge of the text area. In other words, no matter
> how little space the title takes up, the first line after it should
> always start at the same vertical point.
>
> Something like
>
> --
> \chapter{Chapter title}
> \godown[to=15pc]
> Start of the text of the chapter...
quick and dirty:
\setuphead[chapter][before=\vbox to 10cm\bgroup,after=\vss\egroup]
\starttext
\chapter{test} \input tufte
\chapter{test\endgraf test} \input tufte
\stoptext
there are other solutions (synchronizing stuff) but that's more complex
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* \godown to an absolute position
[not found] <20050111135347.0355B127AC@ronja.ntg.nl>
@ 2005-01-11 18:14 ` Duncan Hothersall
2005-01-11 18:56 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Duncan Hothersall @ 2005-01-11 18:14 UTC (permalink / raw)
Hello. I have a style request that I haven't come across before and
don't know how to handle in ConTeXt.
I need the first line of text following a chapter title to always start
15 picas from the top edge of the text area. In other words, no matter
how little space the title takes up, the first line after it should
always start at the same vertical point.
Something like
--
\chapter{Chapter title}
\godown[to=15pc]
Start of the text of the chapter...
--
would be ideal, but of course \godown starts from the current point and
doesn't offer a to= option! I'm not sure that layers are the answer
because as soon as I have moved down I'm into the running text of the
chapter.
Can anyone help? Thanks very much.
Duncan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-12 11:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20050111230903.69804127A9@ronja.ntg.nl>
2005-01-12 11:42 ` \godown to an absolute position Duncan Hothersall
[not found] <20050111135347.0355B127AC@ronja.ntg.nl>
2005-01-11 18:14 ` Duncan Hothersall
2005-01-11 18:56 ` Hans Hagen
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).