ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Labels, offsetting the layout...
@ 2011-02-28 21:20 Willi Egger
  0 siblings, 0 replies; only message in thread
From: Willi Egger @ 2011-02-28 21:20 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-28 21:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-28 21:20 Labels, offsetting the layout Willi Egger

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).