![](https://secure.gravatar.com/avatar/cf5ffea5f3d994ac0d9fab3b71e0d96a.jpg?s=120&d=mm&r=g)
Folks, 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? Thanks, Robin \setupexternalfigures[location=default] \setupcolors[state=start] \definetextbackground[code][ frame=off, location=paragraph, background=color, backgroundcolor=yellow] \setuptyping[typing][ %option=color, before={\starttextbackground[code]}, after=\stoptextbackground] \starttext \startplacefigure[location=bottom] \externalfigure[cow][width=0.5\textwidth] \stopplacefigure \input tufte \starttyping Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long \stoptyping \input tufte \stoptext