Command/offset

From ConTeXt wiki

\offset

Syntax (automatically generated)

\offset[...=...,...]{...}
...=...,...inherits from \setupoffset
{...}CONTENT


inherits from

\setupoffsetbox[...=...,...]
xdimension
ydimension
leftoffsetdimension
rightoffsetdimension
topoffsetdimension
bottomoffsetdimension
methodfixed
widthdimension
heightdimension
depthdimension
locationleft middle right top bottom line l c r m t b g


Description

Move stuff around. Works also in floats.

Example

Move a floating image into the bleed (simplified):

\placefigure[top,high][fig:ref]{Caption}{%
	\offset[
	topoffset=\dimexpr-\topspace - 3mm\relax,
	leftoffset=\dimexpr-\leftmarginwidth - 3mm\relax,
	]{%
	\externalfigure[mill][width=\dimexpr\pagewidth + 3mm\relax]
	}%
}%

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: