我正在使用 \AtBeginSection 进行幻灯片自动前进(transduration),问题是它在下一个本地目录中停止,我希望它停止在当前幻灯片的末尾,而不是在本地目录中停止。
\documentclass{beamer}
\usepackage{tikz}
\AtBeginSection[]
{
\begin{frame}<beamer>
\frametitle{contents}%to allow TOC break
\tableofcontents
\end{frame}
}
\begin{document}
\begin{frame}{Contents}
\tableofcontents
\end{frame}
\section{section one}
\begin{frame}
Frame1
\end{frame}
\section{section two}
\begin{frame}
Frame2
\end{frame}
\begin{frame}
\begin{tikzpicture}\transfade<-+>
\transduration{1}%i want this to stop at the end of the slide
\node<1-> (img1) {\includegraphics[clip, trim=.0cm .0cm .0cm .0cm, height=\textheight,width=\textwidth, keepaspectratio]{example-image}};
\node<2-> (img2) {\includegraphics[clip, trim=.0cm .0cm .0cm .0cm, height=\textheight,width=\textwidth, keepaspectratio]{example-image-a}};
\node<3-> (img3) {\includegraphics[clip, trim=.0cm .0cm .0cm .0cm, height=\textheight,width=\textwidth, keepaspectratio]{example-image-b}};
\end{tikzpicture}
\end{frame}
\section{section three}
\begin{frame}
Frame3
\end{frame}
\end{document}