3

I want to split a page into 3 minipages (sections): 2 minipages in the left half of the page (by splitting the left half horizontally) and 1 minipage in the right half of the page. In each minipage, I want a figure and a footnote or text to be inserted. The MWE using the minipage environment is given below. This only shows the "Figure left top" and "Figure right." "Figure left bottom" does not appear. Also, "Figure right" is displayed on the left bottom section. I also would like to display these minipages one-by-one, by using pause which has been commented right now. Please suggest what's going wrong here, and if minipage is not the best way to achieve this. Is that because I haven't specified the positions correctly for each of the three minipages?

\begin{frame}{Title of frame}
    \begin{minipage}[t][0.45\textheight][t]{0.45\textwidth}
%       \begin{figure}
%           \includegraphics[width=\textwidth]{Figure_left_top.pdf}
%       \end{figure}
        \footnotetext{Figure left top}
    \end{minipage}
    %\pause
    \begin{minipage}[t][0.9\textheight][t]{0.45\textwidth}
%       \begin{figure}
%           \includegraphics[width=\textwidth]{Figure_right.pdf}
%       \end{figure}
        \footnotetext{Figure right}
    \end{minipage}
    %\pause
    \begin{minipage}[t][0.45\textheight][t]{0.45\textwidth}
%       \begin{figure}
%           \includegraphics[width=\textwidth]{Figure_left_bottom.pdf}
%       \end{figure}
        \footnotetext{Figure left bottom}
\end{frame}
1
  • The "problem" with your example is, that the second minipage has a height of 90% of the available space. In the next line, only 10% are still available, which is not enough to see your third image. Commented Dec 9, 2016 at 21:44

1 Answer 1

14

Are you looking for a layout like this?

\documentclass{beamer}

\begin{document}

\begin{frame}[t]{Title of frame}
    \begin{columns}[T,onlytextwidth]
        \begin{column}{.4\textwidth}
            \begin{minipage}{\textwidth}
                \begin{figure}
                    \includegraphics[width=\textwidth]{example-image}
                \end{figure}
                \footnotetext{Figure left top}
            \end{minipage}  
            \begin{onlyenv}<3>
                \begin{minipage}{\textwidth}
                    \begin{figure}
                        \includegraphics[width=\textwidth]{example-image}
                    \end{figure}
                \footnotetext{Figure left bottom}
                \end{minipage}
            \end{onlyenv}
        \end{column}
        \begin{column}{.4\textwidth}
            \begin{onlyenv}<2->
                \begin{minipage}{\textwidth}
                    \begin{figure}
                        \includegraphics[width=\textwidth, height=.77\textheight]{example-image}
                    \end{figure}
                    \footnotetext{Figure right}
                \end{minipage}
            \end{onlyenv}
        \end{column}
    \end{columns}
\end{frame}

\end{document}

enter image description here

5
  • This is exactly the layout that I want. However, I would also like to know if the same can be achieved with minipage only, without using columns. The second image was supposed to occupy the whole right side (90% of the height), which is why the second minipage was given '0.9\textheight.' Hope you got the idea. Commented Dec 10, 2016 at 5:37
  • By the way thank you very much for your help, @samcarter! Commented Dec 10, 2016 at 7:27
  • @VineetPayyappalli To give the right hand image the possibility to occupy the whole height was the reason I used columns. With minipages alone this will be very difficult, see tex.stackexchange.com/questions/343270/… Commented Dec 10, 2016 at 15:39
  • thanks, I understand. But the link that you gave points to this same page, why so? Commented Dec 26, 2016 at 20:13
  • @VineetPayyappalli The link points to a specific comment on this site, in which I tried to explain, why minipages alone won't work for your problem. Commented Dec 26, 2016 at 20:15

You must log in to answer this question.

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