这可能是一个微不足道的问题,但我是 LaTeX 新手。
我希望文本首先出现,然后依次显示三个图形。为此,我在文本后使用 \pause。但是,不知何故,第一个图形从未出现,而是从第二个图形开始。
我在下面提供了我的代码。你能告诉我我做错了什么吗?你需要三个数字才能顺利运行代码。我想在这里添加它们,但不知道怎么做。
\documentclass{beamer}
\usetheme{Montpellier}
\usecolortheme{beaver}
\setbeamertemplate{itemize item}[triangle]
\setbeamertemplate{itemize subsubitem}[triangle]
\setbeamerfont{itemize/enumerate body}{size=\large}
\setbeamertemplate{enumerate items}[triangle]
\begin{document}
\begin{frame}[t]{Paper in a Nutshell }
\begin{itemize}
\item Focus on the Netherlands
\item 252 manufacturing industries over the period 1995-2010 \pause
\end{itemize}
\vspace{0.5cm}
\begin{center}
\includegraphics<1>[width=0.9\linewidth]{nutshellwagesCROPPED}
\includegraphics<2>[width=0.9\linewidth]{nutshellwagescompetitionCROPPED}
\includegraphics<3>[width=0.9\linewidth]{nutshellCROPPED}
\end{center}
\end{frame}
\end{document}
答案1
怎么样
\documentclass{beamer}
\usetheme{Montpellier}
\usecolortheme{beaver}
\setbeamertemplate{itemize item}[triangle]
\setbeamertemplate{itemize subsubitem}[triangle]
\setbeamerfont{itemize/enumerate body}{size=\large}
\setbeamertemplate{enumerate items}[triangle]
\begin{document}
\begin{frame}[t]{Paper in a Nutshell }
\begin{itemize}
\item Focus on the Netherlands
\item 252 manufacturing industries over the period 1995-2010
\end{itemize}
\pause
\vspace{0.5cm}
\begin{center}
\includegraphics<+>[width=0.6\linewidth]{example-image-a}%
\includegraphics<+>[width=0.6\linewidth]{example-image-b}%
\includegraphics<+>[width=0.6\linewidth]{example-image-c}%
\end{center}
\end{frame}
\end{document}