* Can \doifoddpageelse alter topspace?
@ 2014-04-19 17:57 Rudolf Bahr
2014-04-19 18:40 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Rudolf Bahr @ 2014-04-19 17:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello Contexters,
is it possible to alter topspace somehow according to \doifoddpageelse?
Or have I to use vertical page lists?
I'd need this for composing a doublesided book in landscape mode with binding
at the upper edge.
Kind regards,
Rudolf
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can \doifoddpageelse alter topspace?
2014-04-19 17:57 Can \doifoddpageelse alter topspace? Rudolf Bahr
@ 2014-04-19 18:40 ` Wolfgang Schuster
2014-04-19 20:39 ` Rudolf Bahr
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2014-04-19 18:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 19.04.2014 um 19:57 schrieb Rudolf Bahr <quasi@quasi.de>:
> Hello Contexters,
>
> is it possible to alter topspace somehow according to \doifoddpageelse?
> Or have I to use vertical page lists?
>
> I'd need this for composing a doublesided book in landscape mode with binding
> at the upper edge.
You can define different layouts for left/right pages with
the “even” and “odd” keywords for the \definelayout command.
\definelayout
[even]
[backspace=5cm,
width=10cm]
\definelayout
[odd]
[backspace=10cm,
width=5cm]
\starttext
\dorecurse{10}{\input knuth\page}
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can \doifoddpageelse alter topspace?
2014-04-19 18:40 ` Wolfgang Schuster
@ 2014-04-19 20:39 ` Rudolf Bahr
0 siblings, 0 replies; 3+ messages in thread
From: Rudolf Bahr @ 2014-04-19 20:39 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sat, Apr 19, 2014 at 08:40:59PM +0200, Wolfgang Schuster wrote:
>
> Am 19.04.2014 um 19:57 schrieb Rudolf Bahr <quasi@quasi.de>:
>
> > Hello Contexters,
> >
> > is it possible to alter topspace somehow according to \doifoddpageelse?
> > Or have I to use vertical page lists?
>
> You can define different layouts for left/right pages with
> the “even” and “odd” keywords for the \definelayout command.
>
> \definelayout
> [even]
> [backspace=5cm,
> width=10cm]
>
> \definelayout
> [odd]
> [backspace=10cm,
> width=5cm]
>
> \starttext
> \dorecurse{10}{\input knuth\page}
> \stoptext
>
> Wolfgang
Oh, it's simpler than I thought! With "topspace" instead of "backspace"
it fullfills perfectly my needs. I thank you, Wolfgang!
Rudolf
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-19 20:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-19 17:57 Can \doifoddpageelse alter topspace? Rudolf Bahr
2014-04-19 18:40 ` Wolfgang Schuster
2014-04-19 20:39 ` Rudolf Bahr
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).