I make an FAQ document, for this I redefined environments like
\newenvironment{question} % no indenting, bold and new paragraph
{\setlength\parindent{0pt}\bfseries}
{\par}
\newenvironment{answer} % v spacing at the end
{}
{\vspace*{10pt}}
(This is likely to change in the near future.)
In the document, I have brief questions and answers:
\begin{question}
Why?
\end{question}
\begin{answer}
I don't know!
\end{answer}
How can I "group" question and answer in order to not have a pagebreak between question and answer?
\par\nobreakas the closing part of thequestionenvironment. this won't prevent breaks within either the question or answer though, so to encourage a break before a question, start that environment with\par\penalty-1000. (\goodbreakis defined as\par\penalty-500, so you probably want something stronger than that.) you'll probably still need to use\newpagesometimes. – barbara beeton Dec 12 '13 at 17:42