2

How can you create vertical space before a new section on a new page begins? Using vspace or bigskip does not work.

Example:

\vspace{5mm}
\section{Section 1}
Some text
\subsection{Section 1.1}
  • Have you tried using \vspace*{5mm}? – Thomas Apr 12 '16 at 10:36
  • Thank you. It works with vspace*. What is the problem with vspace without *? – b4154 Apr 12 '16 at 10:55
  • See the link in my answer below. – Thomas Apr 12 '16 at 11:28
  • 2
    Is this a one time thing or do you want this applied to every \section? If the latter it would be better to adapt the \section command accordingly. (The best way to do this depends on the class you're using.) – clemens Apr 12 '16 at 11:47
  • 1
    @b4154 then you should state this in your question and also tell your class so people can give you proper advice. Manually adding \vspace* is error prone and surely the wrong way to proceed. – clemens Apr 12 '16 at 13:31
2

As I stated in a comment, you can use the starred version of \vspace{...}, that is:

\vspace*{5mm}
\section{Section 1}
Some text
\subsection{Section 1.1}

A similar question (and thus answer) is asked here: difference between \vspace and \vspace* for negative arguments

This also answers your follow up question.

0

Using \vspace*{5mm} instead of \vspace{5mm} solves the problem. The star is essential.

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.