我希望以下信息只出现在一张幻灯片上,但我得到了同一张幻灯片的两份副本。
\documentclass{beamer}
\subsection{Compression}
\begin{frame}{Merge Example}
\frametitle{Compression}
Consider N to be the number of images in the database.
\begin{itemize}[<+->]
\item Without pre-processing
\begin{itemize}[<.->]
\item The database needs $\mathit{N\times m\times n}$ pixels for storage
\end{itemize}
\item With NMF with sparseness constraint
\begin{itemize}[<.->]
\item If A is the dictionary atom.
\item Then database needs $\mathit{(A\times m\times n)+A \times N}$ pixels for storage
\end{itemize}
\end{itemize}
To achieve compression, $\mathit{A}$ is chosen such that
\begin{equation}
\frac{\mathit{A (N+m\times n)}}{\mathit{N\times m\times n}}< 1
\label{eqn4}
\end{equation}
Necessary (but not sufficient) condition for compression using this algorithm are \textemdash
\begin{enumerate}
\item $\mathit{A}< \mathit{N}$
\item $\mathit{A}< \mathit{(m\times n)}$
\end{enumerate}
\end{frame}
答案1
你用
\begin{itemize}[<+->]
\item ...
\item ...
\end{itemize}
这意味着第一张幻灯片只显示第一项。因此插入第二张幻灯片也显示第二项。
如果您只想要一张幻灯片从头开始显示所有内容,只需删除[<+->]
。