Beamer フレーム内のキャプション付きの 3 枚または 4 枚の画像

Beamer フレーム内のキャプション付きの 3 枚または 4 枚の画像

私はよく、Beamer フレームで 2 つの列と 2 つの画像を並べて使用しています。しかし、1 つの Beamer フレームで 1 つの大きな列と 2 番目の列に 2 つの小さな画像、またはキャプション付きの 4 つの画像を表示できませんでした。誰か助けてくれませんか。

\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}

ここに画像の説明を入力してください

関連情報