32

I am looking to move a text paragraph of a few lines (like a disclaimer) at the bottom of a 2 page document. Each time I do that, I need to adjust that specific paragraph with the \vspace function.

Is there a function to put a paragraph directly at the bottom?

  • 7
    Did you try vfill? Can you post a minimal? – Yiannis Lazarides Oct 11 '11 at 3:04
  • 1
    @YiannisLazarides: You mean \vfill. – Werner Oct 11 '11 at 3:08
31

If you want a more 'automated' approach, you could build an environment- it still uses \vspace{\fill} though.

\documentclass{article}

\usepackage{lipsum}
\newenvironment{bottompar}{\par\vspace*{\fill}}{\clearpage}

\begin{document}

\lipsum[1]

\begin{bottompar}
\lipsum[2]
\end{bottompar}

\end{document}
  • Unless you wanted the paragraph at the bottom of every page, like a footer? – cmhughes Oct 11 '11 at 3:06
  • 3
    This might not go at the bottom, if a page break occurs at the \vspace; probably it's better \par\vspace*{\fill} – egreg Oct 11 '11 at 23:28
  • Shouldn't you add a \clearpage instruction at the end of the bottompage environment -- just in case there's more text still to come, later on in the document? – Mico Oct 12 '11 at 2:06
16

The TeX command \vfill may be what you're looking for, as used in the following MWE:

\documentclass{article}
\begin{document}
abcdef
\vfill
ghijkl
\clearpage %force a page break
\end{document}
  • 3
    Note that \vfill must have something before it on the page. If you want to have nothing at the top of the page, you can use \null. – reynoldsnlp Dec 1 '15 at 14:17
  • @bebop - Your point is well taken. I thought that it was clear from the context of the OP's question that there would be something nontrivial on the page before \vfill. I suppose that's why I didn't point out this need explicitly. Nevertheless, it's worth stating it for the record. :-) – Mico Dec 1 '15 at 22:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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