Dear all, 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 ... Best wishes, Oliver
Am 26.12.2009 um 14:43 schrieb Oliver Buerschaper:
Dear all,
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: - loffset - roffset - toffset - boffset Wolfgang
Am 26.12.2009 um 16:18 schrieb Wolfgang Schuster:
Am 26.12.2009 um 14:43 schrieb Oliver Buerschaper:
Dear all,
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:
- loffset - roffset - toffset - boffset
Wolfgang
Hi, sorry for opening an old thread but with boffset key setting to a value, nothing happens. (\(l|r|t)offset) works. best regards Bernhard
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
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
participants (3)
-
Bernhard Rosensteiner
-
Oliver Buerschaper
-
Wolfgang Schuster