我有 3 个图形和 3 个项目。显示完每个项目后,我想以 Beamer 类幻灯片上可容纳的最大尺寸显示一个图形。
\documentclass[
aspectratio=169
]{beamer}
\usetheme{Darmstadt}
\begin{document}
\section{Outline}
\subsection{Outline}
\begin{frame}
\frametitle{Outline}
\begin{itemize}\addtolength{\itemsep}{1.5\baselineskip}
\item First Item
\begin{minipage}[b]{0.45\linewidth}
\centering
\includegraphics[width=3cm,height=3cm]{First Figure}
\end{minipage}
\item Second Item
\begin{minipage}[b]{0.45\linewidth}
\centering
\includegraphics[width=3cm,height=3cm]{Second Figure}
\end{minipage}
\item Third Item
\begin{minipage}[b]{0.45\linewidth}
\centering
\includegraphics[width=3cm,height=3cm]{Third Figure}
\end{minipage}
\end{itemize}
\end{frame}
\end{document}
答案1
我希望正确理解你的问题。如果你点击图片,它会带你到一张幻灯片,你可以把它放在演示文稿的最后。如果你点击那里的图片,你会跳回。其他选项包括\framezoom
。
\documentclass[
aspectratio=169
]{beamer}
\usetheme{Darmstadt}
\begin{document}
\section{Outline}
\subsection{Outline}
\begin{frame}
\frametitle{Outline}
\label{frm:Outline}
\begin{itemize}\addtolength{\itemsep}{1.5\baselineskip}
\item First Item
\begin{minipage}[b]{0.45\linewidth}
\centering
\hyperlink{frm:first_image}{\includegraphics[width=3cm,height=3cm]{example-image-a}}
\end{minipage}
\item Second Item
\begin{minipage}[b]{0.45\linewidth}
\centering
\hyperlink{frm:second_image}{\includegraphics[width=3cm,height=3cm]{example-image-b}}
\end{minipage}
\item Third Item
\begin{minipage}[b]{0.45\linewidth}
\centering
\hyperlink{frm:third_image}{\includegraphics[width=3cm,height=3cm]{example-image}}
\end{minipage}
\end{itemize}
\end{frame}
\begin{frame}[plain]
\label{frm:first_image}
\centering
\hyperlink{frm:Outline}{%
\includegraphics[width=\textwidth,height=\textheight]{example-image-a}
}
\end{frame}
\begin{frame}[plain]
\label{frm:second_image}
\centering
\hyperlink{frm:Outline}{%
\includegraphics[width=\textwidth,height=\textheight]{example-image-b}
}
\end{frame}
\begin{frame}[plain]
\label{frm:third_image}
\centering
\hyperlink{frm:Outline}{%
\includegraphics[width=\textwidth,height=\textheight]{example-image}
}
\end{frame}
\end{document}
或者您可以使用\pause
和\only
。
\documentclass[
aspectratio=169
]{beamer}
\usetheme{Darmstadt}
\begin{document}
\section{Outline}
\subsection{Outline}
\begin{frame}
\frametitle{Outline}
\label{frm:Outline}
\begin{itemize}\addtolength{\itemsep}{1.5\baselineskip}
\item First Item
\only<1>{\begin{minipage}[b]{0.45\linewidth}
\centering
\includegraphics[width=3cm,height=3cm]{example-image-a}
\end{minipage}
}
\pause
\item Second Item
\only<2>{\begin{minipage}[b]{0.45\linewidth}
\centering
\includegraphics[width=3cm,height=3cm]{example-image-b}
\end{minipage}
}
\pause
\item Third Item
\only<3>{ \begin{minipage}[b]{0.45\linewidth}
\centering
\includegraphics[width=3cm,height=3cm]{example-image-c}
\end{minipage}
}
\end{itemize}
\end{frame}
\end{document}
我可能会这样做。
\documentclass[
aspectratio=169
]{beamer}
\usetheme{Darmstadt}
\begin{document}
\section{Outline}
\subsection{Outline}
\begin{frame}
\frametitle{Outline}
\label{frm:Outline}
\begin{columns}
\begin{column}{4cm}
\begin{itemize}\addtolength{\itemsep}{1.5\baselineskip}
\item<1-> First Item
\item<2-> Second Item
\item<3-> Third Item
\end{itemize}
\end{column}
\begin{column}{8cm}
\centering
\only<1>{\includegraphics[width=8cm,height=7cm]{example-image-a}}
\pause
\only<2>{\includegraphics[width=8cm,height=7cm]{example-image-b}}
\pause
\only<3>{\includegraphics[width=8cm,height=7cm]{example-image-c}}
\end{column}
\end{columns}
\end{frame}
\end{document}