liebe Grüße Bernhard Rosensteiner - brosensteiner@gmail.com - Am 21.02.2010 um 09:54 schrieb Wolfgang Schuster:
Am 20.02.10 22:15, schrieb Bernhard Rosensteiner:
I'm wondering how I can get different margins between the contents of a framed box and its left, right, top or bottom border. Somehow "offset" affects all margins simultaneously
MkIV only:
(l|r|t|b)offset
sorry for opening an old thread but with boffset key setting to a value, nothing happens. (\(l|r|t)offset) works.
pack-rul.mkiv
\def\setextraframedoffsets {\boxhasextraoffsetfalse \!!framedloffset\framedparameter\c!loffset \!!framedroffset\framedparameter\c!roffset \!!framedtoffset\framedparameter\c!toffset \!!framedboffset\framedparameter\c!boffset\relax % <-- add \relax here \ifzeropt\!!framedloffset\else \advance\!!framedwidth -\!!framedloffset \boxhasextraoffsettrue \fi \ifzeropt\!!framedroffset\else \advance\!!framedwidth -\!!framedroffset \boxhasextraoffsettrue \fi \ifzeropt\!!framedtoffset\else \advance\!!framedheight-\!!framedtoffset \boxhasextraoffsettrue \fi \ifzeropt\!!framedboffset\else \advance\!!framedheight-\!!framedboffset \boxhasextraoffsettrue \fi}
Wolfgang
thanks - now it works Bernhard