ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \definelayout question
@ 2005-03-03  7:45 Paul Tremblay
  2005-03-03  8:21 ` Hans Hagen
  2005-03-03 10:03 ` Adam Lindsay
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Tremblay @ 2005-03-03  7:45 UTC (permalink / raw)


Thanks Adam for the suggestions on the wiki page.

You point out that I can use \definelayout for odd and even pages.
I assume I can use this command in place of \setuplayout?

I had a problem using \definelayout. I found that I had to use a
\setuplayout before my text, or the first page would not get formatted.
Is the ConTeXt code right below?

Also, is there any way to change the layout for the first page?

\definelayout[first] [....

Thanks

Paul



\part{}

\definelayout[odd][
 topspace=.5in, % the space at the very top of the page
 backspace=3in,  % the space in the gutter 
 header=2in, % the space for headers
 footer=2in, % the space for footers
 leftmargin=1in, % the space for margin notes
 rightmargin=1.5in, % the space for right margin notes
 width=3in, % the width of the body text
 height=7in % the height of the body text
]

\definelayout[even][
 topspace=.5in, % the space at the very top of the page
 backspace=3in,  % the space in the gutter 
 header=2in, % the space for headers
 footer=2in, % the space for footers
 leftmargin=1in, % the space for margin notes
 rightmargin=1.5in, % the space for right margin notes
 width=3in, % the width of the body text
 height=4in % the height of the body text
]

\setuplayout
% the header for the first page of part 1
\definetext[partStart1][header][\vbox{Chapter 1 \vskip5pt Author}]
\setuphead[part][header=partStart1]

-- 

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

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

end of thread, other threads:[~2005-03-03 10:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-03  7:45 \definelayout question Paul Tremblay
2005-03-03  8:21 ` Hans Hagen
2005-03-03 10:03 ` Adam Lindsay
2005-03-03 10:46   ` 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).