我要用 做一个演示beamer
。我想在框架中插入一个图像作为 中的对象itemize
,因此在第一步中只能看到文字,而在第二步中会出现图像。这是我的代码:
\documentclass{beamer}
\usepackage[italian,english]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{ragged2e}
\usepackage{media9}
\begin{document}
\begin{frame}
\frametitle{Key Variables in the \textit{Bubble} Phenomena}
\begin{itemize}
\setbeamercovered{transparent}
\item[]<1-> The mean value $\bar{\beta}_{i,t}$ of the intensity parameter is crucial for the development of the synchronization phase, hence it also affects the production volume:
%\vspace{0.1cm}
\begin{center}
\item[]<2-> {\includegraphics[width=.45\textwidth]{gdp_betaC}}
\end{center}
\end{itemize}
\vspace{2cm}
\end{frame}
我不知道为什么,但是如果我使用itemize
不同的写作作为步骤,代码就可以工作,但是如果我在第二步中包含图像,则后者会与第一步一起出现。
答案1
您可以使用覆盖规范来\includegraphics
:
\documentclass{beamer}
\usepackage[italian,english]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{ragged2e}
\usepackage{media9}
\begin{document}
\begin{frame}
\frametitle{Key Variables in the \textit{Bubble} Phenomena}
\begin{itemize}
\setbeamercovered{transparent}
\item[] The mean value $\bar{\beta}_{i,t}$ of the intensity parameter is crucial for the development of the synchronization phase, hence it also affects the production volume:
\begin{center}
\item[] \includegraphics<2->[width=.45\textwidth]{example-image-a}
\end{center}
\end{itemize}
\end{frame}
\end{document}
如果您不想让文本在幻灯片之间“跳转”,请使用overlayarea
:
\documentclass{beamer}
\usepackage[italian,english]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{ragged2e}
\usepackage{media9}
\begin{document}
\begin{frame}
\frametitle{Key Variables in the \textit{Bubble} Phenomena}
\begin{overlayarea}{\textwidth}{\textheight}
\begin{itemize}
\setbeamercovered{transparent}
\item[] The mean value $\bar{\beta}_{i,t}$ of the intensity parameter is crucial for the development of the synchronization phase, hence it also affects the production volume:
\begin{center}
\item[] \includegraphics<2->[width=.45\textwidth]{example-image-a}
\end{center}
\end{itemize}
\end{overlayarea}
\end{frame}
\end{document}
我不清楚为什么要用 来消除 itemize 标签\item[]
。