ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: page layout
Date: Tue, 6 Apr 2010 21:43:19 +0200	[thread overview]
Message-ID: <B11BAEE3-564C-44A6-BD3C-E34A27865B25@boede.nl> (raw)
In-Reply-To: <20100406192314.GE7961@localhost.localdomain>

Hi,

\setuplayout
   [backspace=1cm, % am I right to comment out this line? - No  
backspace defines where the textblock starts from the left
    % leftedge=1cm,			%edge is reserved for screendocuments, where  
you can have margin and edge spaces
    % rightedge=2cm,
    % leftedgedistance=0cm,
    % rightedgedistance=0cm,
    leftmargin=1cm,
    leftmargindistance=0pt,
    rightmargin=2cm,
    rightmargindistance=0pt,
    % width=7cm, % either "fit" doesn't suppress the above mentionned
               % whitespace
    width=fit,
    topspace=1cm,
    bottomspace=1.5cm,
    %header=...,
    headerdistance=1cm,
    %footer=...,
    %footerdistance=...,
    height=middle,
    location=middle,
    marking=on]

Willi
On 6 Apr 2010, at 21:23, Sebastien Mengin wrote:

> Le 06 avril 2010 à 08:52, Willi Egger a écrit:
>> Hi,
>
> Hi,
>
>> you will have to give more paramters to the \setuplayout command
>>
>> 	...
>> 	leftmargign=1cm,
>> 	leftmargindistance=.5\em,
>>         rightmargin=2cm,
>> 	rightmargindistance=.5\em,
>>         width=fit
>>         ...
>
> I think I'm misleaded by the (my) confusion between "margins" and
> "edges".
>
> Here's what I use, it's almost satisfying but I've a small amount of
> space at the left edge of each pages and the whole layout isn't
> double-side.
>
> \definepapersize[book][width=10cm,height=18cm]
>
> \setuppapersize[book][A4]
>
> \setuplayout
>   [%backspace=1cm, % am I right to comment out this line?
>    leftedge=1cm,
>    rightedge=2cm,
>    leftedgedistance=0cm,
>    rightedgedistance=0cm,
>    leftmargin=0cm,
>    rightmargin=0cm,
>    width=7cm, % either "fit" doesn't suppress the above mentionned
>               % whitespace
>    topspace=1cm,
>    bottomspace=1.5cm,
>    %header=...,
>    headerdistance=1cm,
>    %footer=...,
>    %footerdistance=...,
>    height=middle,
>    location=middle,
>    marking=on]
> \showlayout
>
> \starttext
>
> \input tufte
>
> \stoptext
>
> Sincerely,
> -- 
> Sébastien Mengin
> Édition et logiciels libres
> < Mise en page avec LaTeX >
> http://edilibre.net
>
> ______________________________________________________________________ 
> _____________
> 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
> ______________________________________________________________________ 
> _____________

___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2010-04-06 19:43 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-02 10:13 Sebastien Mengin
2010-04-02 11:56 ` Wolfgang Schuster
2010-04-06 14:37   ` Sebastien Mengin
2010-04-06 18:52     ` Willi Egger
2010-04-06 18:58       ` Willi Egger
2010-04-06 19:27         ` Sebastien Mengin
2010-04-06 19:44           ` Willi Egger
2010-04-06 19:23       ` Sebastien Mengin
2010-04-06 19:43         ` Willi Egger [this message]
2010-04-06 20:05           ` Sebastien Mengin
2010-04-06 20:54             ` Willi Egger
2010-04-06 20:21         ` Hans Hagen
2010-04-06 21:45         ` Wolfgang Schuster
2010-04-07 13:08           ` Sebastien Mengin
2010-04-07 13:16             ` Vianney le Clément
2010-04-07 13:23               ` Taco Hoekwater
2010-04-07 13:31                 ` Sebastien Mengin
2010-04-07 13:39                   ` Vianney le Clément
2010-04-07 13:46                     ` Sebastien Mengin
2010-04-07 13:27               ` Sebastien Mengin
2010-04-07 14:19                 ` Hans Hagen
2010-04-08 11:55                 ` R. Bastian
  -- strict thread matches above, loose matches on Subject: below --
1999-06-07 13:24 Page Layout Gilbert van den Dobbelsteen
1999-06-08  7:24 ` Hans Hagen
1999-06-07  9:50 Gilbert van den Dobbelsteen
1999-06-07 11:52 ` Hans Hagen
1999-06-03 18:43 David Arnold
1999-06-03 23:13 ` Hans Hagen

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=B11BAEE3-564C-44A6-BD3C-E34A27865B25@boede.nl \
    --to=w.egger@boede.nl \
    --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).