On Thu, 25 Oct 2012, Nicholas Ulle wrote:

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.

Try textbackground rather than background (untested).

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to