I am using thmtools to format a collection of theorems and their proofs.
Is there any way to prevent a pagebreak from happening between the last line of a theorem statement and the first line of the proof?
I tried inserting
\nopagebreak, like this
…but it failed to suppress the pagebreak.
The first line of the first proof on any one page should be preceded by at least two lines from the theorem statement. (The proof always follows immediately after the statement; there never is intervening text not belonging to either environment).
FWIW: I searched for multiple variants of "pagebreak", "page break", "nopagebreak" in the thmtools docs, but got no hits.