[OS X TeX] Beamer, columns within itemize
Berend Hasselman
bhh at xs4all.nl
Fri Aug 28 09:35:35 EDT 2009
It looks like beamer is not taking into account the labelwidth and
label separation.
I tried to get what you want by preceding the first \begin{column}
with an indent.
See this hack (horrible but it works)
\documentclass{beamer}
\newcommand{\ColIndent}{\hspace{\labelwidth}\hspace{\labelsep}}
\begin{document}
\begin{frame}
\frametitle{Title}
\begin{itemize}
\item Fruit
%\rule{\linewidth}{.4pt}
\begin{columns}[totalwidth=\linewidth,t]
\ColIndent
\begin{column}{.48\linewidth}%with .5 column sep is
very small.
Enter text into the left column
\end{column}
\begin{column}{.48\linewidth}
Enter text into the right column
\end{column}
\end{columns}
\item Vegetable
\end{itemize}
\end{frame}
\end{document}
Warning: if you replace the \ColIndent before the \begin{column} don't
forget to put a % after the last \hspace{..}.
If you don't then extra whitespace is inserted before the first column
(and it won't line up properly).
best
Berend
More information about the MacOSX-TeX
mailing list