# Leaving space for solutions under questions

I want to prepare a booklet for students in which they have questions and right amount of space under them.

I am using article class, and my questions are like this:

\begin{question}
question comes here
\end{question}


Is it possible to make something like

\begin{question}[3]
question comes here
\end{question}


So that there is a 1/3 page space under the question.

I think the important point here is that

\begin{question}[2]
if this question is at the top of the page
\end{question}

\begin{question}[3]
this question comes below it
\end{question}

\begin{question}[2]
and this one should be on a new page
\end{question}


Edit: In fact, I can just add something like \vspace{5cm} below questions, but there is a possibility that the question appears on the bottom of the page and its space is on the next page. I don't want that.

• Are you constrained to use the article class? The exam class by Philip Hirschhorn makes it easy to generate consistent spacing between questions. – Paul M. Aug 20 '16 at 15:06
• What does [2] represent if [3] is 1/3? 1/2? – Werner Aug 20 '16 at 15:52
• @Werner yes, exactly – ThePortakal Aug 20 '16 at 16:02
• @ThePortakal: What should be the default space below a question? Is there a possibility for you to add the definition of the question environment to your post? – Werner Aug 20 '16 at 16:07
• Note that with the current requirement, you will not have two \begin{question}[2] on the same page, nor three \begin{question}[3] => waste of space. Speaking of \begin{question}, the exsheets package has an interesting option for the vertical space \examspace*<dim>-- if the empty space is a bit longer than the space available, it can trim what would normally go on the next page (which is the default setting) -- this would give a flexibile (shrinkable) 1/2, 1/3 page. – alwaysask Aug 20 '16 at 16:32