## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ questions about slide structure in beamer

Information and discussion about graphics, figures & tables in LaTeX documents.
yotama9
Posts: 61
Joined: Thu Sep 24, 2009 2:59 pm

### questions about slide structure in beamer

Hi guys.

I'm writing my Ms.C. defense presentation on beamer and I have a couple of questions.

I want to create a slide where is divided to three parts. On the top, there are two columns (left and right). On the left there is some text and on the right there is a figure. At the bottom, I wand to have a wide table which spreads over the whole page. I have added the code of the slide at the end of the message. I have also tried to use the columns environment with the same results

I have two problems.

1. I want the figure to be in the middle (regarding the y scale) but the figure sticks to the top. I think it's because of the overlayarea environment.
2. The table doesn't show on the page.

Thank you.

Yotam

\begin{frame}   \frametitle{KIE}       \begin{minipage}{0.45\textwidth}       \begin{itemize}        \item <1-> The proton transfer or deuterium from APMS and APBS was measured in different temperatures in \ce{H2O} or \ce{D2O}.        \item <2-> The kinetic isotope effect doesn't seem to change greatly between the moelcules.        \end{itemize}     \end{minipage}     \begin{minipage}{0.45\textwidth}       \begin{center}       \begin{overlayarea}{\textwidth}{\textheight}	 \only<2>{ \includegraphics[width=\textwidth]{images/end_exp/KIE_all.pdf}}       \end{overlayarea}       \end{center}     \end{minipage} \newline\begin{minipage}{\textwidth}\begin{tabular}{ccccc}Molecule & pK$_\text{a}*$	&$\tau_{\text dis}*$   &  $k_{\ce{H}} / k_{\ce{D}}$  & E$_{\text a}*$ (\ce{H2O})/ E$_{\text a}*$ (\ce{D2O})\\  1-AP 	 &  -1.6		&   1.9 $ns$		& 4.0			     & 4.3/5.3 $kcal/mol$ \\   APMS	 &   -6.1		&   0.41 $ns$		& 4.2			     & 3.4/4.1 $kcal/mol$ \\   APBS	 &   -6.9		&   0.06 $ns$		& 5.0			     & 1.8/3.1 $kcal/mol$ \\   APTS	 &   -8.0		&   0.027 $ns$		& 5.7 			     & 1.2/2.2 $kcal/mol$ \end{tabular}\end{minipage}\end{frame}

Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am
Hello Yotam,

usually it is quite common to post these kinds of requests according to the board rules, especially section 2 called "when posting".

But I go ahead and say that you should start every minipage-environment like
\begin{minipage}[t]{0.45\textwidth}
. You should check out this page for more information. I checked the translation myself and it's actually flawless, if I'm not mistaken.

Or you could make a tabular which includes 3 columns and features a minipage in each column, but from my own experience I can tell you that you should definitely and all the possible syllabifications via
\-
.

A sidenote as an advice, but not really important, you should write
$\tau_{\text dis}*$
and other terms alike as
$\tau_{\text{dis}}^{*}$
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1

yotama9
Posts: 61
Joined: Thu Sep 24, 2009 2:59 pm
Hi.

I'm not sure what I did wrong in my previus post but I assume you want a mwe. Also, I wasn't sure if this is the right thread for this issue.

Anyhow, here is a simpler code:

\documentclass{beamer}\usepackage[latin1]{inputenc}\usepackage{graphicx} \usetheme{Madrid} \AtBeginSubsection[]{   \begin{frame}<beamer>     \frametitle{Layout}     \tableofcontents[currentsection,currentsubsection]   \end{frame}} \begin{document} \begin{frame}   \frametitle{KIE}         \begin{minipage}{0.45\textwidth}	\begin{itemize}	  \item <1-> some text	  \item <2-> even more text	\end{itemize}       \end{minipage}       \begin{minipage}{0.45\textwidth}	\includegraphics[width=\textwidth]{p.pdf}       \end{minipage}\begin{minipage}{\textwidth}\centering\begin{tabular}[t]{ccccc}a & a & a & a & a \\a & a & a & a & a \\a & a & a & a & a \\a & a & a & a & a  \end{tabular}\end{minipage}\end{frame} I only see the top line of the table. Also, I didn't manage, no matter what I tried, to lower down the figure.  As for the tau tip. I know it should be done this way, I'm just not used to it.  Thanks. \end{document}

edit:

I think that the problem is that the table is too low, how can I confirm this?

yotama9
Posts: 61
Joined: Thu Sep 24, 2009 2:59 pm
bump.

Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am
I ran your code and since you didn't upload the file "p.pdf", I got a totally different result. Maybe if you upload the file, someone could help you.
My result was that I could everything. The table was in the middle on the bottom, the graphic in the upper right corner...
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1

yotama9
Posts: 61
Joined: Thu Sep 24, 2009 2:59 pm

\documentclass{beamer}\usepackage[latin1]{inputenc}\usepackage{graphicx} \usetheme{Madrid} \AtBeginSubsection[]{   \begin{frame}<beamer>     \frametitle{Layout}     \tableofcontents[currentsection,currentsubsection]   \end{frame}} \begin{document} \begin{frame}   \frametitle{KIE}         \begin{minipage}{0.45\textwidth}    \begin{itemize}      \item <1-> some text      \item <2-> even more text    \end{itemize}       \end{minipage}       \begin{minipage}{0.45\textwidth}          \begin{overlatarea}{\textwidth}{\textheight}             \includegraphics[width=\textwidth]{p.pdf}          \end{overlayarea}       \end{minipage}\begin{minipage}{\textwidth}\centering\begin{tabular}[t]{ccccc}a & a & a & a & a \\a & a & a & a & a \\a & a & a & a & a \\a & a & a & a & a  \end{tabular}\end{minipage}\end{frame}

Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am
This example gives me 49 errors.
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1