I am creating my resume in Latex. I am having some space left at the bottom of my page after section 1 ends and when I start section 2 after it, it starts from new page rather than utilizing the space at the bottom. As we know, resume has to be as compact as possible and I need to fill up all the space that have on the page. How do I do that?
So far what I tried:
\begin{samepage}
section 1
section 2
\begin{samepage}
This would ensure that section 1 and section 2 are on same page. Assuming sections 1 and section 2 are small enough to fit in one page, latex will try to squeeze them in one page.
This is sort of a workaround. But as my resume starts to grow big, I want to automate this process. I can't manually make an estimate, where to put these \samepage blocks.
btw, I also tried
\nopagebreak
It doesn't work for me.
Any constructive suggestions are welcome. Thanks.