[texhax] Positioning figures in Latex/Beamer

Martin Heller mr_heller at yahoo.dk
Mon Jun 30 15:45:00 CEST 2008


Susana Conde skrev:
> Dear Professor Steven,
> 
> I would like to know how to get the distance between the columns 
> narrower in Beamer (using \begin{columns},  \end{columns}), if that is 
> possible.
> 
> I saw your e-mail address in a page from the help of Beamer ( 
> http://tug.org/mail-archives/texhax/2006-April/005809.html ). 

TeXhax is the user forum of the TeX user group (TUG).

> In my 
> example, I have two columns with one graphic in each column (the graphs 
> are too big for being in one column). Do you know if it is possible to 
> do this? I have tried to use colsep in this way:
> 
> \begin{columns}[colsep=1pt][c]
> 
> but it does not work.
> 
> I look forward to hearing from you.

You just have to specify the width of each column in the columns 
environment.

\begin{frame}
   \frametitle{Columns}
   \begin{columns}[totalwidth=\textwidth]
     \begin{column}{0.4\textwidth}
       \centering
       \texttt{0.4\string\textwidth}
       \rule{\linewidth}{2cm}%
     \end{column}%
     \begin{column}{0.5\textwidth}
       \centering
       \texttt{0.5\string\textwidth}
       \rule{\linewidth}{2cm}%
     \end{column}%
   \end{columns}
   \begin{center}
   \texttt{\string\textwidth}
   \rule{\linewidth}{1cm}%
   \end{center}
\end{frame}



More information about the texhax mailing list