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.
\vfill
Text first line
\vspace{1cm}
Text second line
\cleardoublepage

The \vspace is unfortunately ignored by LaTeX: The resulting document has no vertical space added between the two lines. Why is that?

share|improve this question
add comment

1 Answer

up vote 9 down vote accepted

You need to add a) something (e.g., an empty box) before \vfill (assuming \vfill is at the top of the page) b) a paragraph between the first and second line.

\documentclass{article}
\begin{document}
\null\vfill
Text first line

\vspace{1cm}
Text second line
\end{document}
share|improve this answer
6  
this is what to do, the "why" is that the vspace is not ignored but if you use vspace mid-paragraph it does not force a linebreak, the paragraph breaks as usual and the extra vertical space is added after the current line, in the MWE that would be at the end of the document. –  David Carlisle Nov 12 '12 at 14:37
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.