我在 Beamer Slide 中有多张图片。我想在图片的最右侧放置一个文本框(我有 3 列,第 4 列我想用作文本)。我该怎么做?或者可以在最右侧放一个表格,在表格中我可以在每行中写小文本?
\documentclass{beamer}
\usepackage{tabularx}
\usepackage{colortbl}
\usepackage{tcolorbox}
\usepackage{changepage}
\begin{document}
\begin{frame}
\begin{figure}
\centering
\includegraphics[scale=0.3]{A.PNG}
\quad
\includegraphics[scale=0.3]{A.PNG}
\quad
\includegraphics[scale=0.3]{A.PNG}
\end{figure}
\begin{figure}
\centering
\includegraphics[scale=0.3]{A.PNG}
\quad
\includegraphics[scale=0.3]{A.PNG}
\quad
\includegraphics[scale=0.3]{A.PNG}
\end{figure}
\begin{figure}
\centering
\includegraphics[scale=0.3]{A.PNG}
\quad
\includegraphics[scale=0.3]{A.PNG}
\quad
\includegraphics[scale=0.3]{A.PNG}
\end{figure}
\begin{figure}
\centering
\includegraphics[scale=0.3]{A.PNG}
\quad
\includegraphics[scale=0.3]{A.PNG}
\quad
\includegraphics[scale=0.3]{A.PNG}
\caption{I want to add a column to the right hand side or a text box so that I could explain the images of each row. }
\end{figure}
\end{frame}
\end{document}
答案1
为什么不简单地
\documentclass{beamer}
\usepackage{tabularx}
\usepackage{colortbl}
\usepackage{tcolorbox}
\usepackage{changepage}
\begin{document}
\begin{frame}
\begin{tabular}{cccp{4cm}} % say
\includegraphics[scale=0.3]{A.PNG}&
\includegraphics[scale=0.3]{A.PNG}&
\includegraphics[scale=0.3]{A.PNG}&
your text \\
\includegraphics[scale=0.3]{A.PNG}&
\includegraphics[scale=0.3]{A.PNG}&
\includegraphics[scale=0.3]{A.PNG}&
your text \\
\includegraphics[scale=0.3]{A.PNG}&
\includegraphics[scale=0.3]{A.PNG}&
\includegraphics[scale=0.3]{A.PNG}&
your text \\
\includegraphics[scale=0.3]{A.PNG}&
\includegraphics[scale=0.3]{A.PNG}&
\includegraphics[scale=0.3]{A.PNG}&
your text
\end{tabular}
\end{frame}
\end{document}