8

If I want to prevent latex from putting two (short) paragraphs on different columns, is there something similar to \nopagebreak that will let me do this?

  • 2
    AFAIK columns are handled like different pages and so \nopagebreak should do what you want. – Martin Scharrer May 20 '11 at 9:21
  • @Martin I couldn't get \nopagebreak to work, but maybe I just didn't insist on it enough. – Viktor Dahl May 20 '11 at 9:38
  • You could place the paragraphs into a {minipage}{\columnwidth} environment to prevent page or column breaking between or inside them. – Martin Scharrer May 20 '11 at 9:42
  • @Martin Thanks! But shouldn't you last comment be an answer? – Viktor Dahl May 20 '11 at 11:04
6

AFAIK columns are handled like different pages and so \nopagebreak should do what you want.

However, could simply wrap the paragraphs into \begin{minipage}{\columnwidth} ... \end{minipage} to prevent page or column breaking between or inside them. This should work fine as long you don't have footnotes in the paragraphs which would be placed at the bottom of the minipage.

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.