
我嘗試了不同的方法但沒有任何效果:
\animategraphics
- 我收到一長串奇怪的錯誤,是的,我有 png 格式的圖像\multiinclude
- 它將每個圖像放在不同的頁面上,而不是從圖像中製作 GIF。- 我嘗試轉換為視頻,但還是不行
代碼:
\documentclass{beamer}
\usepackage{multimedia}
\begin{document}
\begin{frame}
\movie[loop]{\includegraphics[width=\columnwidth]{imagine-0}}{gif3.gif}
\end{frame}
\end{document}
我也嘗試過:
\documentclass{beamer}
\usepackage{animate}
\begin{document}
\begin{frame}
\animategraphics[loop,width=12cm]{10}{gif3-}{0}{12}
\end{frame}
\end{document}
它不起作用。
答案1
一個相當強大的解決方案是將 gif 轉換為影像序列。當您正確書寫時,每個圖像都會單獨放置在頁面上 - 但請注意幀編號不會改變。頁面之間的切換也可以自動完成,例如使用animategraphics
套件中的命令animate
。