Hi all, I would have though the following code would produce text flush to the edges of the "paper", but there is significant whitespace on the right and bottom sides. Probably there is an obvious setting, but it eludes me now: \definepapersize[short][width=600px,height=440px] \setuppapersize[short][short] \setuplayout[ backspace=0mm, topspace=0mm, margin=0mm, header=0mm, footer=0mm ] \setupindenting[none] \setupwhitespace[medium] \setupinterlinespace[22pt] \starttext \input Tufte \input Knuth \input Tufte \stoptext
Nevermind, the answer is simple:
\setuplayout[
backspace=0mm,
topspace=0mm,
margin=0mm,
header=0mm,
footer=0mm
width=600px,
height=440px
]
On Fri, Mar 4, 2011 at 4:29 PM, John Haltiwanger wrote: Hi all, I would have though the following code would produce text flush to the
edges of the "paper", but there is significant whitespace on the right and
bottom sides. Probably there is an obvious setting, but it eludes me now: \definepapersize[short][width=600px,height=440px]
\setuppapersize[short][short] \setuplayout[
backspace=0mm,
topspace=0mm,
margin=0mm,
header=0mm,
footer=0mm
] \setupindenting[none] \setupwhitespace[medium]
\setupinterlinespace[22pt] \starttext \input Tufte \input Knuth \input Tufte \stoptext
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
participants (2)
-
John Haltiwanger
-
Wolfgang Schuster