On 27-8-2011 09:34, Aditya Mahajan wrote:
On Sat, 27 Aug 2011, Marcin Borkowski wrote:
Hello Hans,
there are toffset, boffset, loffset and roffset parameters to \framed, and an offset parameter which sets all four (if I get it right). Would it be a trouble to add also hoffset (setting [l|]offset) and voffset (setting [t|b]offset)?
\setupframed [loffset=\framedparameter{hoffset}, roffset=\framedparameter{hoffset}, hoffset=\zeropoint]
\defineframed[test][hoffset=1cm]
\starttext \test{test} \stoptext
a nice example for the wiki Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------