Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is there an equivalent of \hfill for vertical spacing?

share|improve this question
add comment

2 Answers 2

up vote 9 down vote accepted

Did you try \vfill?

Sometimes you need to put in "invisible" objects to get it to work if there is only one thing on the page:

\documentclass{minimal}

\begin{document}

% An invisible object that \vfill can push to the top of the page
\hbox{}\vfill

% Your content
blah blah blah

% Another object that \vfill can push to the bottom of the page
\vfill\hbox{}

\end{document}
share|improve this answer
add comment
\documentclass{minimal}

\begin{document}
\vspace*{\fill}% the star version for the beginning of a page

Without a star the command is ignored

\vfill% an abbreviation for \vspace{\fill}
bar

\newpage
baz
\end{document}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.