ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Asymmetric margins
Date: Fri, 05 Apr 2002 19:27:41 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20020405192201.02b0f540@server-1> (raw)
In-Reply-To: <20020405074737.6d43d333.wmcclain@salamander.com>

At 07:47 AM 4/5/2002 -0600, you wrote:
>On Thu, 4 Apr 2002 14:55:41 -0500
>John Culleton <john@wexfordpress.com> wrote:
>
> >  I would like to set up:
> >  left margin=.5in and right margin= 1.5in for right hand pages,
> >  left margin=1.5in and right margin .5in for left hand pages.
> >
> >  This leaves room for a sidebar (marginal text) on the outer
> >  edge of either page type.
>
>I haven't tried putting anything in the margins yet, but I want to use
>marginal notes extensively in my next projects, so I am interested in
>this also.

hm, i've done a lot of margin stuff last days (stacking graphics in margins 
and edges, on grids, spanning areas, etc) so you can imaging that it is 
somehow possible to use the margins -)

>Here is how I've controlled margin widths for a book layout.
>
>This turns on right-left mirroring:
>
>     \setuppagenumbering[alternative=doublesided]

right, but

   alternative={doublesided,singlesided}

gives you a non mirrored alternative

>Say the page width is 8.5in. I want a 1in gutter on the inside margin of
>each page, and a 1.5in margin on the outer edge.
>
>     \setuplayout[backspace=1in, width=6in]

(in the latest version there is also cutspace)

>"backspace" is the gutter, "width" is the text area, and whatever is
>left over is the outer margin:
>
>     8.5 - 1 - 6 = 1.5
>
>As far as I can see, the outer margin is not specified directly. The
>page width is an implicit factor in the calculation.

you can specify

   backspace=1in,cutspace=1.5in,width=middle

indeed the page width is importasnt, which is why you can say:

\definepapersize[WhyUseInches][width=8.5in,height=14in]

\setuppapersize[WhyUseInches][letter]

\setuplayout[location=middle,marking=on]

etc etc

Also, you can specify leftmargin/rightmargin etc but those are virtual

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


  reply	other threads:[~2002-04-05 17:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-04 19:55 John Culleton
2002-04-05 13:47 ` Bill McClain
2002-04-05 17:27   ` Hans Hagen [this message]
2002-04-05 17:35 ` Hans Hagen
2002-04-07 20:50   ` John Culleton
2002-04-08  7:26     ` Hans Hagen
2002-04-07 19:28 ` Henning Hraban Ramm

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=5.1.0.14.1.20020405192201.02b0f540@server-1 \
    --to=pragma@wxs.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).