I'd like to typeset two chunks of text (a problem statement and solution) next to each other, but I don't want the problem to be the last thing on a page and the solution to be the first thing on the next page. Is there a way to get LaTeX to try to keep them together if they occur at a page boundary — for example, by pushing a few lines of the problem onto the solution page, or vice versa? (Each paragraph/section can be broken individually, but I would like the boundary to be on one page.)
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
There also is the
Maybe that's good enough for you. |
||||
|
|

\nopagebreakbetween them. (It might needs some other changes as well, especially if you are using \flushbottom rather than \raggedbottom, but start there:-) – David Carlisle Oct 18 '12 at 18:36