3

I want to position 3 figures in beamer, with the first two justified at the left, the second being below the first, and the third at the right. However, I need the third image to be vertically centered, and not below the first two.

In the following code, I would like the image3 to be at the right of images 1 and 2

\begin{frame}
\frametitle{My title}
    \begin{flushleft}
        \frame{\includegraphics[scale=0.05]{image1.png}}\\
        \frame{\includegraphics[scale=0.05]{image2.png}}
    \end{flushleft}
    \frame{\includegraphics[scale=0.25]{image3.png}} 
\end{frame}

However, with this the third image is below the second. I would like it to be vertically centered on the frame, justified at the right.

6
  • Please post a single frame and three images code.
    – percusse
    Jun 7, 2015 at 18:21
  • like I said, I don't have any code that is working
    – hal
    Jun 7, 2015 at 18:26
  • Or maybe a layout of what you want
    – Very23
    Jun 7, 2015 at 18:29
  • It doesn't have to work. We only need something to understand how you try to do it.
    – percusse
    Jun 7, 2015 at 19:07
  • @percusse I added what I tried
    – hal
    Jun 7, 2015 at 19:15

1 Answer 1

4

For aligning the different parts of the frame environment, beamer offers the columns environment. Here you can stack two images in one and the other in another column in a pretty straightforward fashion.

The other kind of placement options can be included as if you are operating in a regular frame inside a column.

\documentclass{beamer}
\usepackage{mwe} % <-- for dummy images
\begin{document}
\begin{frame}{image frame}
    \begin{columns}
        \begin{column}{0.5\textwidth}
            %\centering %Uncomment this line for horizontal centering 
            \includegraphics[height=0.25\textheight]{example-image-a}%

            \includegraphics[height=0.25\textheight]{example-image-b}%
        \end{column}
        \begin{column}{0.5\textwidth}
        \includegraphics[width=\columnwidth]{example-image-c}%
        \end{column}
    \end{columns}
\end{frame}
\end{document}

enter image description here

0

You must log in to answer this question.

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