[texhax] two minipages side-by-side in beamer

Steve Schwartz s.schwartz at imperial.ac.uk
Wed Nov 2 00:06:41 CET 2005


Chris,

Use beamer's columns to do this (RTFM):

\frame
{
\frametitle{Interview}

\begin{columns}
  \begin{column}{0.5\textwidth}
    \begin{itemize}
        \item current symptoms
        \item past medical history
        \item family history
        \item social history
        \item review of systems
    \end{itemize}
  \end{column}

  \begin{column}{0.5\textwidth}
     \begin{itemize}
        \item detect hypertension
        \item recognize emergency
        \item recognize reversible causes
        \item find chronic target organ damage
        \item discover co-morbid conditions
        \item plan therapy
     \end{itemize}
  \end{column}
\end{columns}
}

You can have as many columns, of whatever widths, as you like. Note that
within a column, \textwidth will correspond to the column width, not the
width of the beamer slide, so it works pretty much like minipage.
Material within columns is vertically centred, and you can have part of
the slide in normal (single column) format, and other parts in more than
one column.

Cheers,
Steve


On Tue, 2005-11-01 at 17:06 -0500, Christopher W. Ryan wrote:
> I am using beamer on Win98 with MikTex.  I want to make two itemized 
> lists, side-by-side, on a single slide.
> 
> Here is my preamble:
> 
> \documentclass{beamer}
> \usetheme{PaloAlto}
> \usepackage{graphicx}
> 
> \begin{document}
> 
> 
> 
> I tried using \begin{minipage} like this:
> 
> \frame
> {
> \frametitle{Interview}
> 
> \begin{minipage}{\textwidth}
>   \begin{itemize}
> 	\item current symptoms
> 	\item past medical history
> 	\item family history
> 	\item social history
> 	\item review of systems
> \end{itemize}
> \end{minipage}
> 
> \begin{minipage}{\textwidth}
> \begin{itemize}
> 	\item detect hypertension
> 	\item recognize emergency
> 	\item recognize reversible causes
> 	\item find chronic target organ damage
> 	\item discover co-morbid conditions
> 	\item plan therapy
> \end{itemize}
> \end{minipage}
> }
> 
> But I just got one 11-item bulleted list.
> 
> So I put in \twocolumn just below \frametitle{...}, but that didn't make 
> any difference.
> 
> Anyone know how to do this?  Should I \usepackage{multicols} (I think 
> there is something like that)?
> 
> Thanks.
> 
> --Chris
-- 
+-------------------------------------------------------------------+
Professor Steven J Schwartz      Phone: +44-(0)20-7594-7660
Space and Atmospheric Physics    Fax:   +44-(0)20-7594-7772
The Blackett Laboratory          E-mail: s.schwartz at imperial.ac.uk
Imperial College London          Office: Huxley 6M70 
London SW7 2BW, U.K.             Web: http://www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+




More information about the texhax mailing list