1

I was using tcolorbox for creating a new box for theorems following this post: How to create theorem boxes.

The problem is that it's not avoiding page breaks. I used a box on a pretty big proof, and it is starting on a new page. Is there a way to avoid this?

Thanks

  • Can you please provide us with a minimal working example (MWE) that illustrates your problem with the tcolorbox? Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Cragfelt Dec 21 '17 at 4:54
1

You can use \usepackage[breakable]{tcolorbox}, and add the option breakable in the options of the box you create. This way, it will separate the box between two boxes if a pagebreak is needed.

  • The OP is looking for the oposite situation: How to avoid the page break, but not how to permit it. – Cragfelt Dec 21 '17 at 4:50
  • 2
    @Cragfelt -- please reread the question. the complaint is that the box with the large proof is starting on the next page, and the op wants to avoid that. i think the op's native language most likely isn't english. – barbara beeton Jan 20 '18 at 2:14
  • @barbarabeeton I appreciate you pointed it out. Now I can see it. – Cragfelt Jan 24 '18 at 1:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.