Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Latex Beamer for creating a presentation.

On one slide I have

  What is fdjsljklfdjs
  \item item one
  \item item one

  Why do we want to know it
  \item item one
  \item item one
  \item item three

I would like to have space between the first itemize block and the second question. However, if I try \\ or \newline, I get a pdflatex parsing error:

! LaTeX Error: There's no line here to end.

How can I get an emtpy line?

share|improve this question
up vote 9 down vote accepted

Use \vspace, e.g.


for a one inch vertical space. If you want it to be equal to the normal distance between two lines, use the length \baselineskip.

share|improve this answer
The \baselineskip does not work for me, but the \vspace{} command does! Thanks! – Peter Smit Oct 21 '09 at 12:15
Do you also know what the reason is that \\ and \newline don't work? – Peter Smit Oct 26 '09 at 6:28
I don't know more than what can be read from the error message. As I understand it (I've seen this message a few times myself), \\ and \newline just break an existing line, but there is no line to break before you put some content on it and a new line has just been created for you after the itemize block. I might be totally wrong in that interpretation, but that's my guess anyway. – Mikael Auno Oct 26 '09 at 21:46
@Peter: \baselineskip is a length. To use it with \vspace you have to write \vspace{\baselineskip}. – Mark Reid Aug 15 '11 at 4:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .