0

This question already has an answer here:

In other words, how can I forbid pagination between \myenv and \endmyenv? I thought at first to make the whole thing a box; if I'm not mistaken---this would prevent TeX from breaking it up---but I don't know how to do that in an environment...environment.

I have a not-MWE, but I feel like this question is sufficiently general that it doesn't need one; it may even be a duplicate that I failed to find.

marked as duplicate by Fran, Werner, Sean Allred, Qrrbrbirlbel, Przemysław Scherwentke Jun 30 '13 at 3:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    wrap it in a minipage, e.g \newenvironment{myenvironmnet}{\begin{minipage}{<width>}}{\endminipage} – cmhughes Jun 29 '13 at 23:02
  • I agree, it's a duplicate. – Sean Allred Jun 30 '13 at 2:07