I have defined a floating environment. It defines a framed box using \mdframe. Here is the code I used.




\caption{Lipsum Frame}



The text content in the mdframed box is too large to fit in a single page. But on executing this code, I miss the text content which exceeds the first page's limit. The framed box abruptly stops at the end of first page. How to continue my framed box on the next page?

  • 1
    Floating objects cannot be broken.
    – Johannes_B
    Aug 2 '14 at 11:39
  • If you need a caption, you can use \captionof{myfloat}{Actual caption content} (without the actual floating wrapper)
    – Johannes_B
    Aug 2 '14 at 11:42