![使用 AtBeginSection 自动幻灯片前进](https://linux22.com/image/435097/%E4%BD%BF%E7%94%A8%20AtBeginSection%20%E8%87%AA%E5%8A%A8%E5%B9%BB%E7%81%AF%E7%89%87%E5%89%8D%E8%BF%9B.png)
我正在使用 \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}