Re: [NTG-context] \godown to an absolute position

2005-01-12 Thread Duncan Hothersall
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \godown to an absolute position

2005-01-11 Thread Duncan Hothersall
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \godown to an absolute position

2005-01-11 Thread Hans Hagen
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
-
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context