Re: [NTG-context] Left, right, top, bottom margins in a \framed box
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Left, right, top, bottom margins in a \framed box
liebe Grüße Bernhard Rosensteiner - brosenstei...@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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Left, right, top, bottom margins in a \framed box
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Left, right, top, bottom margins in a \framed box
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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Left, right, top, bottom margins in a \framed box
MkIV only: - loffset - roffset - toffset - boffset Wonderful! Many thanks, Oliver ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___