列环境中的 Beamer 中的标题图像

列环境中的 Beamer 中的标题图像

我如何为这些图像添加标题?

\begin{frame}{Einführung 2}
    \begin{columns}
    \column{0.5\textwidth}
        \centering
        \includegraphics[height=2.5cm]{FiguresAndPictures/AlleAktien-Netflix-Logo.png}\vspace{0.5cm}
        \includegraphics[height=4cm]{FiguresAndPictures/Amazon-Logo.jpg}
    \column{0.5\textwidth}
        \centering
        \includegraphics[height=4cm]{FiguresAndPictures/facebook.png}
    \end{columns}
\end{frame}

答案1

使用capt-of包:

\documentclass[demo]{beamer} % in real document remove option "demo"
\setbeamertemplate{caption}[numbered]
\setlength\abovecaptionskip{0ex}
\setlength\belowcaptionskip{1.5ex}
\usepackage{capt-of}

\begin{document}
\begin{frame}{Einführung 2}
    \begin{columns}
    \column{0.5\textwidth}
        \centering
        \includegraphics[height=2.5cm]{FiguresAndPictures/AlleAktien-Netflix-Logo.png}
        \captionof{figure}{A}

        \includegraphics[height=4cm]{FiguresAndPictures/Amazon-Logo.jpg}
        \captionof{figure}{B}
    \column{0.5\textwidth}
        \centering
        \includegraphics[height=4cm]{FiguresAndPictures/facebook.png}
        \captionof{figure}{C}
    \end{columns}
\end{frame}
\end{document}

在此处输入图片描述

答案2

\documentclass{beamer}
\begin{document}
\begin{frame}[t]
\frametitle{Captions}
\begin{columns}[T]
\begin{column}{0.49\textwidth}
\centering
\begin{figure}
\centering
\includegraphics[width=0.6\linewidth]{example-image-a}
\caption{Figure a.}
\end{figure}
\begin{figure}
\centering
\includegraphics[width=0.6\linewidth]{example-image-b}
\caption{Figure b.}
\end{figure}
\end{column}
\begin{column}{0.49\textwidth}
\centering
\begin{figure}
\centering
\includegraphics[width=0.6\linewidth]{example-image-c}
\caption{Figure c.}
\end{figure}
\end{column}
\end{columns}
\end{frame}
\end{document}

在此处输入图片描述

相关内容