[NTG-context] [***SPAM***] Page layout mechanics

hwitloc at gmail.com hwitloc at gmail.com
Thu Oct 10 02:08:36 CEST 2013



Marco,
   thanks for demonstrating a clean way to set up custom layout sizes.
This is very usefull and will be applied to various target documents and paper sizes depending on the need.

Regards

Marco Patzer wrote:

> On 2013–10–09 hwitloc at gmail.com wrote:
> 
> > I want a 3 mm border/edge and the rest of the space available for text space.
> 
> \definepapersize
>   [business-card]
>   [width=91mm,
>    height=55mm]
> 
> \setuppapersize
>   [business-card]
> 
> \setuplayout
>   [backspace=3mm,
>    topspace=3mm,
>    margin=0mm,
>    header=0mm,
>    footer=0mm,
>    width=middle,
>    height=middle]
> 
> \starttext
>   \showframe
>   \midaligned{Hello World!}
>   \showlayout
> \stoptext
> 
> Marco
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________


More information about the ntg-context mailing list