Beamer 框架中的三幅和四幅带标题的图片

Beamer 框架中的三幅和四幅带标题的图片

我经常在 Beamer 框架中使用两列并排两张图片。但我无法在一个 Beamer 框架中得到三个一张大图,第二列包含两个小图或四张带标题的图片。有人能帮忙吗?

\documentclass[slidestop,compress,11pt,xcolor=dvipsnames]{beamer}

\definecolor{LHCblue}{RGB}{4, 114, 255}
\usecolortheme[named=LHCblue]{structure}
\usepackage[bars]{beamerthemetree} % Beamer theme v 2.2
\usepackage{multicol}
\usepackage{lmodern}

\usepackage{marvosym}

\begin{document}

\begin{frame}
\begin{columns}[t]
\column{.5\textwidth}
\centering
\includegraphics[width=5cm,height=3.5cm]{example-image-golden}\\
\includegraphics[width=5cm,height=4cm]{example-image-golden}
\column{.5\textwidth}
\centering
\includegraphics[width=5cm,height=4cm]{example-image-golden}\\
\includegraphics[width=5cm,height=4cm]{example-image-golden}
\end{columns}
\end{frame}
\end{document}

答案1

使用width=\columnwidth和加载包caption

\begin{frame}
    \begin{columns}[t]
        \column{.5\textwidth}
        \includegraphics[width=\columnwidth,height=3cm]{example-image-golden}
        \captionof{figure}{foo}
        \includegraphics[width=\columnwidth,height=3cm]{example-image-golden}
        \captionof{figure}{bar}
        \column{.5\textwidth}
        \includegraphics[width=\columnwidth,height=3cm]{example-image-golden}
        \captionof{figure}{foo}
        \includegraphics[width=\columnwidth,height=3cm]{example-image-golden}
        \captionof{figure}{bar}
    \end{columns}
\end{frame}

在此处输入图片描述

相关内容