Beamer center vertical alignment of two columns
It seems itemize
inserts some spacing above the environment, just as center
does. A fix for the example you've provided is to put the figure in a center
environment.
\documentclass{beamer}
\begin{document}
\begin{frame}
\frametitle{Some title}
\setlength{\leftmargini}{0.5em}
\begin{columns}[c, onlytextwidth]%EVEN SPECIFYING THE c OPTION
\begin{column}{.5\textwidth}%
\setlength{\partopsep}{0pt}%AND EVEN REMOVING EXTRA itemize SPACE
\begin{itemize}
\itemsep 1.5em
\item First item bla bla bla bla some more text
\item second item bla bla bla bla some more text bla bla
\item third item bla bla bla bla some more text bla bla bla bla bla bla
\end{itemize}
\end{column}%
\begin{column}{.45\textwidth}
\begin{center}
\includegraphics[width=\textwidth, height=5.5cm]{example-image}
\end{center}
\end{column}%
\end{columns}
\end{frame}
\end{document}
Here is the workflow:
- Insert
\hrule
at the places you want to investigate.
- Extra spaces gone! Great! Now replace
\hrule
by\hrule height0pt
.
- Problem solved.
Explanation
\hrule
is one of the simplest objects in TeX and it does not produce extra spaces. By inserting \hrule
, it is easier to see the spaces. (For example, setting \partopsep
to zero seems to make no change. But with \hrule
s you will see the difference.)
Sometimes \hrule
absorbs unwanted spaces. In this case, just keep those \hrule
s and turn your attention to something more important.