7

Possible Duplicate:
Unbreakable block

I'm writing my resumee in LaTeX and I would like to avoid page breaking in small chunks of text (namely, I detail the different tasks I performed in each project, utilized languages and platforms, and I would like those blocks to stay on the same page), I'm looking for something like

\begin{nopagebreak}
stuff
stuff
stuff
stuff
\end{nopagebreak}
1

1 Answer 1

8

The environment is called samepage.

\begin{samepage}
  ...
\end{samepage}
1
  • 3
    Note: Do NOT use this to keep two section headings together. If you put a label into a section whose heading is in the samepage environment, without including the label itself in the samepage environment, references to the label will bear the number of the previous section! Jun 29, 2014 at 18:31

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