![](https://secure.gravatar.com/avatar/73645ab7e62304df2ef052aa880fdaca.jpg?s=120&d=mm&r=g)
25 Oct
2012
25 Oct
'12
11:28 p.m.
Hello, I'm trying to typeset an exam with solutions in framed or shaded boxes, using \background. However, the background doesn't stretch to the bottom of the text area when there is text preceding it, so if there is enough math inside the background, the math overruns its lower bound. How can I get everything to stay inside the background? A minimal example: \starttext \input knuth \startbackground \input knuth \dorecurse{20}{\startformula \sum_{i=0}^5 i \stopformula} \stopbackground \stoptext I've tried some of the options in \setupbackground with no luck, and have also tried Googling for an answer. Thanks, Nick