我有以下beamer
介绍:
\documentclass{beamer}
\setbeamertemplate{navigation symbols}{}
\begin{document}
\section{First}
\begin{frame}[label=A]
\noindent\includegraphics[width=\framewidth]{example-image-a.jpg}
\end{frame}
\section{Second}
\begin{frame}[label=B]
\noindent\includegraphics[width=\framewidth]{example-image-b.jpg}
\end{frame}
\section{Third}
\begin{frame}[label=C]
\noindent\includegraphics[width=\framewidth]{example-image-c.jpg}
\end{frame}
\section{Fourth}
\begin{frame}[label=D]
\noindent\includegraphics[width=\framewidth]{example-image}
\end{frame}
\begin{frame}
\frametitle{Graphical abstract}
I would like here to have a reduced view of
frames A, B, C and D on one frame.
\end{frame}
\end{document}
最后一帧应该是演示的一种图形抽象,即我希望它在一帧中包含帧 A、B、C 和 D 的缩小视图。
我该如何实现这个目标?
根据下面 Sam Carter 的评论,我尝试了以下简单但不合理的解决方案:
\documentclass{beamer}
\setbeamertemplate{navigation symbols}{}
\begin{document}
\section{First}
\begin{frame}[label=A]
\noindent\includegraphics[width=\framewidth]{example-image-a.jpg}
\end{frame}
\section{Second}
\begin{frame}[label=B]
\noindent\includegraphics[width=\framewidth]{example-image-b.jpg}
\end{frame}
\section{Third}
\begin{frame}[label=C]
\noindent\includegraphics[width=\framewidth]{example-image-c.jpg}
\end{frame}
\section{Fourth}
\begin{frame}[label=D]
\noindent\includegraphics[width=\framewidth]{example-image}
\end{frame}
\begin{frame}
\frametitle{Graphical abstract}
I would like here to have a reduced view of frames A,
B, C and D one one frame.
\end{frame}
\begin{frame}
\scalebox{0.2}{\againframe{A}}\scalebox{0.2}{\againframe{B}}
\end{frame}
\end{document}
这几乎满足了我的要求,只是 Beamer 在我的缩放帧之间添加了很多垃圾。
有任何类似的想法吗,或者我是否太无赖了beamer
。
答案1
此代码将前四个框架放入 minipage 中,每个框架使用\againframe
。其宽度由 minipage 的宽度控制。请注意,汇编代码为外部一個框塊。
\documentclass{beamer}
\setbeamertemplate{navigation symbols}{}
\begin{document}
\section{First}
\begin{frame}[label=A]
\noindent\includegraphics[width=\framewidth]{example-image-a.jpg}
\end{frame}
\section{Second}
\begin{frame}[label=B]
\noindent\includegraphics[width=\framewidth]{example-image-b.jpg}
\end{frame}
\section{Third}
\begin{frame}[label=C]
\noindent\includegraphics[width=\framewidth]{example-image-c.jpg}
\end{frame}
\section{Fourth}
\begin{frame}[label=D]
\noindent\includegraphics[width=\framewidth]{example-image}
\end{frame}
\begin{frame}
\frametitle{Graphical abstract}
I would like here to have a reduced view of frames A,
B, C and D one one frame.
\end{frame}
% ********** added <<<<<<<<<<<<<<<<<<<<<<<<<<<
\vspace*{-1cm}
\begin{minipage}{0.2\framewidth}
\againframe{A}
\end{minipage}\hfill
\begin{minipage}{0.2\framewidth}
\againframe{B}
\end{minipage}\hfill
\begin{minipage}{0.2\framewidth}
\againframe{C}
\end{minipage}\hfill
\begin{minipage}{0.2\framewidth}
\againframe{D}
\end{minipage}
\end{document}