I am trying to use the thmbox=Moption from the thmtools package. But sometimes in the text when there isn't enough space for the theorem to fit in the bottom of the first page, it moves it to the next page and still splits it further to a third page. I have a minimal example here. I really like the box shape, so if you can give me a solution using the same package, or tell me how to make a boxed theorem like this, I would really appreciate it!

\usepackage{amsthm, amsmath}
\declaretheorem[style=remark, thmbox=M, name=Theorem]{theorem}


Assuming this is true, 
\sum_{i,j} d_{i,j}^2\|X_i- X_j\|^2=0
Then this happens.





1 Answer 1


ultimately, the package thmbox is loaded, and that has an option nocut.

since you're not calling this package directly, try adding this option to your \documentclass line, and hope for the best. (this tactic did work for your example.)

  • The most awesome solution ever proposed to me! Thanks! Can you always pass left out options to through the \documentclass?! Commented Aug 20, 2013 at 18:55
  • thanks for the "attaboy". i'm not sure this always works, but i can't remember having gotten any worse complaint than "unused option". in other words, it's not likely to destroy anything, so it's worth a try, and if it doesn't work, you can always delete it. Commented Aug 20, 2013 at 19:14
  • I have the same problem and this solution does not solve the problem. I mean it solves the problem but creates another one. The problem now is that the theorems, lemmas and the rest are placed in such as way that they are not cut (of course), leaving then big empty spaces in many pages. So the problem is that, the bug described here does not seem to be fully resolved using the nocut option.
    – KBS
    Commented Aug 20, 2013 at 21:14
  • @Konuts -- a second question was posted regarding this problem: thmbox splits theorems in two pages and the option “nocut” produces many empty spaces in pages. some alternate approaches are offered there. Commented Aug 21, 2013 at 12:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .