From: Willi Egger <w.egger@boede.nl>
To: NTG-Context ConTeXt users <ntg-context@ntg.nl>
Subject: Labels, offsetting the layout...
Date: Mon, 28 Feb 2011 22:20:15 +0100 [thread overview]
Message-ID: <5BD17362-2CC1-4961-8517-45421ED3048E@boede.nl> (raw)
Hi all,
I should prepare a couple of sticky-labels. The label-sheet however has a top margin of 21 mm as also a bottom margin of 21 mm. At the left and right side there is a margin of 8 mm.
The size of the label is 42.3 x 97mm. There are 16 such labels on each sheet.
In order to get the prints correct I wanted to move the layout 8 mm to the right and 21 mm down... I had no success to complete this.
Could someone enlighten me what I am doing wrong?
Willi
I have the following setup for testing:
\definepapersize[Label][height=42.3mm,width=97mm]
\definepapersize[Mypaper][A4]
\setuppapersize[Label][Mypaper]
\setuppaper
[paper=Mypaper,
topspace=21mm,
backspace=8mm,
dx=2mm,
dy=0mm,
nx=2,
ny=6,
margin=0pt,
width=194mm,
height=255mm,
location=middle]
\setuplayout
[page=Label,
topspace=4mm,
backspace=5mm,
margin=0mm,
width=87mm,
height=34.3mm,
header=0mm,
footer=0mm]
\definelayer[Label][width=\paperwidth, height=\paperheight]
\setuparranging[XY]
\starttext
\dorecurse{12}
{\setlayerframed
[Label]
[preset=leftbottom,y=.9cm,x=0mm]
[frame=off, style=\tfx]
{NTG-secretary}
\startstandardmakeup
\placelayer[Label]\page
\stopstandardmakeup}
\stoptext
___________________________________________________________________________________
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:[~2011-02-28 21:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5BD17362-2CC1-4961-8517-45421ED3048E@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).