ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Margin terminology -- badly documented, undocumented, or 	misdocumented
Date: Thu, 25 Feb 2010 11:23:04 +0100	[thread overview]
Message-ID: <4B864F88.6040201@wxs.nl> (raw)
In-Reply-To: <771da05a1002242039x6086f7bbi31d0b1090634f842@mail.gmail.com>

On 25-2-2010 5:39, James Fisher wrote:
> Hi all.
>
>
> I am trying to understand the terminology for the \definelayout and
> \setuplayout commands.
> Unfortunately the documentation at
> http://wiki.contextgarden.net/Layoutdoesn't correspond to the actual
> output I get.
> Nor does the 'documentation' at http://getfo.org/context_xml/page3.html ,
> which the first page recommends.
> More, the two pages seem pretty contradictory.
>
> Consider my situation: I'm trying to set up an A4 page with the following
> margins (I use the term margin to mean the space from the edge of the
> physical paper to the edge of the body text area):
>
> top: 2.97cm
> bottom: 2.97cm
> left: 2.1cm
> right: 2.1cm
>
> For the moment, I don't care at all about header and footer space, nor notes
> in the margins; I'm just trying to get the above margins.
> However, with all conceivable combinations of commands at both of those
> pages, I've been unable to set anything like this up.
>
> Based on the getfo.org page, I should be able to set up these left and right
> margins with:

\setuplayout
  [backspace=2.1cm,
   cutspace=2.1cm,
   width=middle,
   topspace=2.97cm,
   bottomspace=2.97cm,
   height=middle]

\showframe

\starttext

\input tufte

\stoptext


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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-02-25 10:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25  4:39 James Fisher
2010-02-25 10:23 ` Hans Hagen [this message]
2010-02-25 10:57   ` R. Bastian
2010-02-25 20:17   ` James Fisher
2010-02-26  9:03     ` luigi scarso
2010-03-02 11:03     ` Hans Hagen
2010-03-02 21:33       ` James Fisher
2010-03-02 21:42         ` Wolfgang Schuster
2010-03-02 21:59           ` James Fisher
2010-03-02 23:18         ` luigi scarso
2010-03-08  9:21         ` 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=4B864F88.6040201@wxs.nl \
    --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).