I am writing a short quiz for my students in LaTeX, however I am having trouble with the spacing. The two equations I have are:

 $\int sin^3(x)cos^{\frac{3}{2}}(x)dx$

 $\int \frac{3x^2+2x+4}{(x-1)^2(x+1)} dx$

I use \vspace{20pc} to give a gap between both equations to give room for the students to solve it by hand. However, I want to have an equal amount of room on an entire page for both problems. I used \vfill thinking that would work but it simply puts both equations to the top of the page. Is there a way that LaTeX will automatically generate an equal spacing for both problems on a page?

  • 2
    Welcome to TeX.sx!
    – Corentin
    Commented Mar 12, 2013 at 3:36
  • Take a look at mathexam package
    – leo
    Commented Mar 12, 2013 at 4:20
  • @Corentin, thank you for the beginners tutorial Commented Mar 12, 2013 at 4:34
  • @leo, that's a great package, however I am using a different one that does something similar. Commented Mar 12, 2013 at 4:35
  • @Werner, That's exactly what I am after. Thank you for your help! Commented Mar 12, 2013 at 4:36

1 Answer 1


Inserting a vertical fill between each item would leave an equivalent gap between the questions and to the end of the page boundary:

  \item $\displaystyle \int \sin^3(x)\cos^{\frac{3}{2}}(x)\,\mathrm{d}x$


  \item $\displaystyle \int \frac{3x^2+2x+4}{(x-1)^2(x+1)}\,\mathrm{d}x$


You must log in to answer this question.

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