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 simultaneouslyMkIV only:(l|r|t|b)offsetsorry 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