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}
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...\medskip
manually?