ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Matt Claus" <matt@mclaus.com>
Subject: Re: XY and papersize
Date: Mon, 24 Jul 2006 16:34:40 -0400	[thread overview]
Message-ID: <20060724203447.35C81C32E@relay4.r5.iad.mlsrvr.com> (raw)
In-Reply-To: <44C4CF9E.2000200@elvenkind.com>

To summarize, Taco kindly solved this problem after exchanging some messages
with me off list - thank you Taco.

The key is, when using a papersize other than the A4 default with XY, it is
necessary to first explicitly set the appropriate papersize.  This enables
the XY calculations to expand properly.

For example:

\setuppapersize[letter][letter]
\setuppapersize [XY][letter]
\setuppaper[nx=3,ny=10,dx=2mm,dy=0mm,topspace=5mm,backspace=5mm]
\setuplayout [location=middle]
\setuparranging [XY]
\showframe
\starttext \dorecurse{30}{test} \stoptext

This is a very handy way to generate a centered layout for labels of any
size.  The spacing between the labels is easily controlled with dx and dy.

Thanks for the help solving this,
Matt

       reply	other threads:[~2006-07-24 20:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <44C4CF9E.2000200@elvenkind.com>
2006-07-24 20:34 ` Matt Claus [this message]
2006-07-21 16:02 Claus, Matt - eSpeed
2006-07-24 10:03 ` Taco Hoekwater

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=20060724203447.35C81C32E@relay4.r5.iad.mlsrvr.com \
    --to=matt@mclaus.com \
    --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).