[NTG-context] Text to edges of page

Wolfgang Schuster schuster.wolfgang at googlemail.com
Fri Mar 4 16:50:23 CET 2011


Am 04.03.2011 um 16:40 schrieb John Haltiwanger:

> Nevermind, the answer is simple:
> 
> \setuplayout[
> 
> 		backspace=0mm,
> 		topspace=0mm,
> 		margin=0mm,
> 		header=0mm,
> 		footer=0mm
>                 width=600px,
>                 height=440px
> ]

You can use “width=middle” and “height=middle” and don’t forget the “,” after the last value (i.e. “height=440px,”) but for a layout without margins you can just use “\setuplayout[page]”.

\setuplayout[page]
\starttext
\dorecurse{12}{\input tufte\par}
\stoptext

For a simple layout with equal margins you can use the fullpage module:

\usemodule[fullpage][style={margin,empty},margin=5mm]
\showframe
\starttext
\input tufte
\stoptext

Wolfgang



More information about the ntg-context mailing list