[NTG-context] textbackground and margin

Aditya Mahajan adityam at umich.edu
Fri May 19 23:43:16 CEST 2006

On Fri, 19 May 2006, Hans Hagen wrote:

> Aditya Mahajan wrote:
>> Hi Hans,
>>   textbackground does not honour topoffset/bottomoffset at pagebreak.
>> Is this by design?
> ss everywhere in tex, skipe at the bottom and top of a page disappear at a pagebreak, and inserting it is tricky

Any appararent drawback of using the following approach...

   [ location=paragraph,

   path p;
   for i = 1 upto nofmultipars  :
     p := multipars[1]  topenlarged 1cm bottomenlarged 1cm;
     fill p withcolor 0.9white ;
     draw p withcolor \MPvar{linecolor}
     withpen pencircle scaled \MPvar{linewidth};


\input knuth \endgraf
\hairline \par
\dorecurse{13}{\input knuth \endgraf}
\hairline \par
\input knuth \endgraf



Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

More information about the ntg-context mailing list