当我试图在beamer中使用\ only和overlayarea这样的交替图像:
\begin{frame}
\frametitle{Tasks}
\begin{overlayarea}{\textwidth}{\textheight}
\begin{figure}
\centering
\only<1>
{
\includegraphics[width=0.3\textwidth]{img/noise_detail_2.png}
}
\only<2>
{
\includegraphics[width=0.3\textwidth]{img/noise_detail_2.png}
}
\only<3>
{
\includegraphics[width=0.3\textwidth]{img/noise_detail_2.png}
}
\only<4>
{
\includegraphics[width=0.3\textwidth]{img/noise_detail_2.png}
}
\end{figure}
\end{overlayarea}
\end{frame}
Run Code Online (Sandbox Code Playgroud)
每张幻灯片上的图像越来越向右移动.假设1.滑块位于x位置,第二个滑块位于x + 5位置,第三个滑块位于x + 10.
为什么?我该如何解决?