Am 22.05.2012 um 19:29 schrieb Andy Thomas: > It only works without my page layout. Did I make a mistake using > \setuplayout? With \showframe it looks fine though.
You’re setting leftmargin to 0pt but I used in my example this value to calculate the additional space. When you set the argument for \doadapt… to a fixed value it will produce the right output but you can get an unexpected output when the fullwidth environment appears at the start of a new page. \definepapersize[wissenschaft][width=170mm,height=240mm] \setuppapersize [wissenschaft] \setuplayout [topspace=40pt, header=0pt, headerdistance=0pt, backspace=42pt, leftmargin=0pt, width=280pt, height=560pt, rightmargindistance=20pt, rightmargin=100pt, footer=0pt] \setuppagenumbering[alternative=doublesided] \usemodule[annotation] \define[2]\FullwidthCommand {\doifoddpageelse {\doadaptrightskip{-120pt}} {\doadaptleftskip {-120pt}}% #2} \defineannotation [fullwidth] [alternative=command, command=\FullwidthCommand] \starttext \showframe \input tufte \startfullwidth \input tufte \stopfullwidth \input knuth \startfullwidth \input tufte \stopfullwidth \input tufte \startfullwidth \input tufte \stopfullwidth \input tufte \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________