Novato: Cómo colocar 3 imágenes en 1 diapositiva con 2 arriba y una debajo

Novato: Cómo colocar 3 imágenes en 1 diapositiva con 2 arriba y una debajo

Tengo este pequeño ejemplo,

\documentclass{beamer}

\mode<presentation>
{
  \usetheme{Boadilla}     
  \usecolortheme{wolverine}
  \usefonttheme{structurebold}  
  \setbeamertemplate{navigation symbols}{}
  \setbeamertemplate{caption}[numbered]
\setbeamertemplate{itemize items}[ball]
} 

\usepackage{array,amsmath,booktabs}
\usepackage{amsmath}
\usepackage[version=4]{mhchem}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{subcaption}

\begin{document}

\begin{frame}
\begin{figure}[H]
  \centering
  \begin{subfigure}[b]{0.28\linewidth}
    \includegraphics[clip, trim=1 1.75 3 1, width=50mm,scale=0.35]{Image1}
     \caption{Substrate-Enzyme association}
  \end{subfigure}
  \begin{subfigure}[b]{0.28\linewidth}
    \includegraphics[clip, trim=1 1.75 3 1, width=50mm,scale=0.35]{Image2}
    \caption{Complex dissociation}
  \end{subfigure} \\
  \begin{subfigure}[b]{0.3\linewidth}
    \includegraphics[clip, trim=1 1.75 3 1, width=50mm,scale=0.35]{Image3}
    \caption{Product formation}
  \end{subfigure}
  \caption{Prior and posterior after 100, 200 and 300 reactions for reaction in Micahelis-Menten model}
  \label{fig:boat2}
\end{figure}
\begin{itemize}
\item as more reactions take place, posterior becomes narrower 
\end{itemize}
\end{frame}

 \end{document}

Y estoy tratando de alinear estas imágenes para tener 2 imágenes en mi fila superior, luego la tercera imagen y la siguiente línea y centradas entre las 2 imágenes superiores.

Pero cada vez que intento formatear, empeora cada vez más.

Respuesta1

Puedes hacer uso de columnas:

\documentclass{beamer}

\mode<presentation>
{
  \usetheme{Boadilla}     
  \usecolortheme{wolverine}
  \usefonttheme{structurebold}  
  \setbeamertemplate{navigation symbols}{}
  \setbeamertemplate{caption}[numbered]
\setbeamertemplate{itemize items}[ball]
} 

\usepackage{array,amsmath,booktabs}
\usepackage{amsmath}
\usepackage[version=4]{mhchem}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{subcaption}

\begin{document}

\begin{frame}\centering
  \begin{columns}
    \begin{column}{0.5\textwidth}
  \begin{figure}
    \includegraphics[clip, trim=1 1.75 3 1, width=30mm,scale=0.3]{Image1}
     \caption*{Substrate-Enzyme association}
  \end{figure}
    \end{column}
    \begin{column}{0.5\textwidth}
  \begin{figure}[b]
    \includegraphics[clip, trim=1 1.75 3 1, width=30mm,scale=0.3]{Image2}
    \caption*{Complex dissociation}
  \end{figure} 
    \end{column}
  \end{columns}
\vspace{-10px}  
  \begin{columns}
    \begin{column}{0.5\textwidth}
    \begin{figure}[b]
      \includegraphics[clip, trim=1 1.75 3 1, width=30mm,scale=0.3]{Image3}
      \caption*{Product formation}
  \end{figure}
    \end{column}
  \end{columns}
\vspace{-20px}  
\begin{columns}
  \begin{column}{\textwidth}
\begin{figure}[H]
  \caption{\centering{}Prior and posterior after 100, 200 and 300 reactions for reaction in Micahelis-Menten model}
  \label{fig:boat2}
\end{figure}
\vspace{-25px}
\begin{itemize}
\item as more reactions take place, posterior becomes narrower 
\end{itemize}
  \end{column}
\end{columns}
\end{frame}

 \end{document}

gramo

Respuesta2

Algunos comentarios y observaciones:

  • En un beamerdocumento, figurelos tableentornos no flotan.
  • De hecho, en un beamerdocumento, tiene poco sentido emplear entornos figurey table, aparte de, digamos, contenedores para entornos subfigurey subtable, supongo. Ah, y simplemente coloque el material del título en el argumento de \frametitle.
  • Si realmente quieres ajustar los tres gráficosyel itemizeentorno en un solo cuadro, es casi seguro que tendrás que colocar los tres gráficos uno al lado del otro, en lugar de dos en la primera fila y el tercero en la segunda fila.
  • En el código que proporcionó, las opciones de ancho y escala de las \includegraphicsdirectivas entran en conflicto entre sí. Utilice sólo la opción, pero no ambas.

ingrese la descripción de la imagen aquí

\documentclass[demo]{beamer} % omit 'demo' option in real document
%% I've taken the liberty of streamling and de-duplicating the preamble.
\mode<presentation>%
{ \usetheme{Boadilla}     
  \usecolortheme{wolverine}
  \usefonttheme{structurebold}  
  \setbeamertemplate{navigation symbols}{}
  \setbeamertemplate{caption}[numbered]
\setbeamertemplate{itemize items}[ball] } 
\usepackage{array,mathtools,booktabs}
\usepackage[version=4]{mhchem}
\usepackage{subcaption}
\begin{document}

\begin{frame}
\frametitle{Prior and posterior after 100, 200 and 300 reactions for reaction in Micahelis-Menten model}
\begin{figure}
\begin{subfigure}[t]{0.3\linewidth}
     \includegraphics[clip, trim=1 1.75 3 1, width=\textwidth]{Image1}
     \caption{Substrate-Enzyme association}
\end{subfigure}\hfill
\begin{subfigure}[t]{0.3\linewidth}
    \includegraphics[clip, trim=1 1.75 3 1, width=\textwidth]{Image2}
    \caption{Complex dissociation}
\end{subfigure}\hfill
\begin{subfigure}[t]{0.3\linewidth}
    \includegraphics[clip, trim=1 1.75 3 1, width=\textwidth]{Image3}
    \caption{Product formation}
\end{subfigure}
\end{figure}

\begin{itemize}
\item As more reactions take place, posterior becomes narrower.
\end{itemize}
\end{frame}
\end{document}

información relacionada