鉴于以下 MWE:
\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}
\includegraphics[width=\textwidth, height=5.5cm]{example-image}
\end{column}%
\end{columns}
\end{frame}
\end{document}
是我的原因还是两列没有正确对齐?似乎图像顶部(红色标记)的剩余空间比底部(黑色标记)的剩余空间大……还请注意,我添加了以下行,如下所示这里...
\setlength{\partopsep}{0pt}%
任何想法?
答案1
看起来就像itemize
在环境上方插入了一些间距一样center
。您提供的示例的一个修复方法是将图形放在环境中center
。
\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}