[texhax] Adding a caption before a framed environment

José Romildo Malaquias j.romildo at gmail.com
Wed May 12 22:04:24 CEST 2010

I want to add some small text (a caption) just before a framed
environment (above it), in such a way that no page break happens between
the text and the framed environment.

The framed documentation says that

   A page break is allowed, and even encouraged, before the framed
   environment. If you want to attach some text (a box title) to the
   frame, then the text should be inserted by \FrameCommand.

I am trying to do that, but it does not seem to be trivial. Any help is
welcome in accomplishing this.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-framed.tex
Type: application/x-tex
Size: 514 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20100512/5f0c3f79/attachment.tex>

More information about the texhax mailing list