# Add space between paragraphs in Beamer

Customizing spacing between paragraphs in Beamer plagues me constantly. To split two paragraphs by one empty line I usually put \medskip tag between paragraphs, but this is very ugly solution.

Now I try with \parskip, which works fine, but fails inside various environments (e.g., also affecting spacing between items in itemize environment). Minimum example is pasted below.

Any help is much appreciated.

\documentclass{beamer}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{parskip}
\setlength{\parskip}{\smallskipamount}

\begin{document}
\begin{frame}{Test frame}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum quis erat dolor. Aenean tincidunt sem non quam feugiat tempus.

Sed semper justo vitae sem ultrices semper. Mauris urna leo, dictum eget vulputate vitae, venenatis ut leo.
\end{frame}
\end{document}

-
@Andrej: Welcome to tex.sx! Note that it is unusual around here to sign your questions (as there is already a box with your name below it) or to have any greeting. –  Hendrik Vogt Feb 21 '11 at 11:19
It would be helpful to know what effect you want to achieve... –  Seamus Feb 21 '11 at 12:12
A crude solution would be to define a wrapper for itemize etc that setlength to what it needed, and then set it back again after the environment. But I think the explicit spacing is probably the easiest in general. It's not often you'll have more than a couple of paragraphs on a slide, surely... –  Seamus Feb 21 '11 at 13:09
@Seamus To split two paragraphs by one empty line. –  Andrej Feb 21 '11 at 15:05
@Andrej and you want this to be done automatically? Without having to add \medskip manually? –  Seamus Feb 21 '11 at 15:23
show 1 more comment

I had the same problem: blank lines in latex articles produces a clearly separated paragraph, but in Beamer, with the limited space and no indentation, the default new paragraph is does not strikingly separate the paragraphs.

My hack solution was to append the following latex code to the end of the paragraph that should have the space.

\\~\\


For example, try inserting this into a Beamer latex file:

\frame{
This is text that should have a blank line after it. \\~\\
Here is text following a blank line.
}

-
Works nice. Thanks for your solution. –  Andrej Jul 11 '11 at 19:56

I'm not sure exactly what you want, but perhaps you'll find the tex command \vfill to be useful. I often put that between chunks of text so they get spaced out over the slide, which makes the slide easier for the viewer.

My other hint, as a long-time lecturer and audience member, is to use as few words as possible. Use slides for diagrams (in technical talks) or pretty pictures that evoke changing themes (in non-technical talks). Avoid paragraphs, and even sentences. Don't force audience members to decide whether to listen to you or read your material.

-
This solution has the problem that it's just as "manual" and "ugly" as the OP's \medskip solution –  Seamus Feb 21 '11 at 13:05
\vfill makes "horrid" spaces between paragraphs. Spaces are also not consistent across frames. @dan I accept your suggestion to use as few words as possible, but sometimes it's necessary. –  Andrej Feb 21 '11 at 14:58
@Andrej: Yes, \vfill inserts "as much space as possible," which can be be more or less on different frames. –  Matthew Leingang Feb 21 '11 at 16:02
• convert each of the paragraphs you want to split to a block-like environment such as theorem, question, answer, etc. That way (in my theme, at least) they get boxed and visually separated.
• if the two paragraphs are supporting material to the same point, use an itemize enviroment and make each its own \item. Then you get some vertical separation and a visual cue (bullet, triangle, or anything else you want) indicating that these are separate ideas.