[NTG-context] Textbackgrounds interrupted by floats

Robin.Kirkham at csiro.au Robin.Kirkham at csiro.au
Wed Apr 8 14:12:16 CEST 2015

On 7 April 2015 21:53:40 AEST, Wolfgang Schuster wrote:

>> Am 07.04.2015 um 13:31 schrieb Robin.Kirkham at csiro.au:
>> Here is problem that must have been asked about before, but I can’t seem to find a solution on the archive or anywhere else. I want a colour background for verbatim text (for code), and floating figures. However if a figure floats to the bottom (as in the example below), and the verbatim text is broken over to the next page because it is long, I don’t want the colour background under the figure as well — I want no background at all.
>> What is the correct setup to do that?
> Add the following line to your document:
> \setconstant\kindofpagetextareas\plusone
> Wolfgang

Thanks Wolfgang, obscure but works perfectly — Robin

More information about the ntg-context mailing list