[NTG-context] frameoffset by direction

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sat Oct 23 06:16:22 CEST 2010


Am 23.10.2010 um 01:14 schrieb Philipp Gesang:

> Hi again,
> 
> is there a way to specify the frame offset of ‘\framed’ for
> vertical and horizontal orientations separately? Consider this
> example:
> 
> ···8<····························································
> 
> \starttext
> \framed[frameoffset=1em,width=5cm,height=5.5cm,align=lohi]{\input ward }
> \stoptext
> 
> ···8<····························································
> 
> I’d be fine without the vertical offset, only left and right are
> essential. Somehow I’m having trouble applying the glue inside
> ‘\framed’ myself.

There is only one offset for the frame but you can set different offsets for the content, e.g.

\framed[offset=0pt,loffset=1cm,boffset=2cm,roffset=3cm]{text}

Wolfgang



More information about the ntg-context mailing list