6

I have a table within a frame in a presentation using the beamer package, and it's centered in the frame right now:

\subsection{Results}
\begin{frame}{Results}
\begin{table} 
\begin{tabular}{l|l|l|l|l|l}
six & things & to & fill & the & space \\
\end{tabular}
\caption{Table Caption}
\end{table}
\end{frame}

I'm looking to shift it to the left of the frame and put two graph figures on the right stacked on top of one another. How would I set this up as a frame?

Thanks!

1 Answer 1

6

This is how I use to have two columns on a beamer slide. This is just a workaround to your problem. You may want to adapt the distances in the column environment as well as the c for centering.

\subsection{Results}
\begin{frame}{Results}
\begin{columns}[c]
    \begin{column}{5cm}
         \begin{table} 
         \begin{tabular}{l|l|l|l|l|l}
             six & things & to & fill & the & space \\
         \end{tabular}
         \caption{Table Caption}
         \end{table}
    \end{column}
    \hfill
    \begin{column}{5cm}
        \includegraphics[width=5cm]{}
        \includegraphics[width=5cm]{}
    \end{column}
\end{columns}
\end{frame}

EDIT If you only have a table and you want it left-aligned you can use the following trick. Maybe a better solution exists but this one seems to work, so...

\documentclass{beamer}

\begin{document}

\begin{frame}{Results}
\begin{columns}[c]
    \begin{column}{5cm}
         \begin{table} 
         \begin{tabular}{l|l|l|l|l|l}
             six & things & to & fill & the & space \\
         \end{tabular}
         \caption{Table Caption}
         \end{table}
    \end{column}
    \hspace{5cm}
\end{columns}
\end{frame}

\end{document}
4
  • This solves my specific problem perfectly. One followup question: what if I had nothing else in my slide (i.e. no figures), and just wanted to left-align the table? Would you use two columns and just blank them? Or is there another command?
    – putins
    Sep 23, 2013 at 10:24
  • 1
    @putins See my edit
    – Ludovic C.
    Sep 23, 2013 at 10:53
  • 2
    This solution is painful complicated. Feb 19, 2018 at 23:03
  • This answer saved my! Thank you. May 5, 2022 at 11:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .