![动画的幻灯片编号](https://linux22.com/image/309532/%E5%8A%A8%E7%94%BB%E7%9A%84%E5%B9%BB%E7%81%AF%E7%89%87%E7%BC%96%E5%8F%B7.png)
以下代码产生以下输出
\documentclass [compress]{beamer}
\newcommand\Fontvi{\fontsize{6}{7.2}\selectfont}
\usepackage{remreset}
\usepackage{textpos}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage[export]{adjustbox}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{animate}
\usetheme{Warsaw}
\definecolor{ForestGreen}{RGB}{60, 140, 60}
\setbeamercolor{palette primary}{fg=white,bg=ForestGreen}
\beamersetuncovermixins{\opaqueness<1>{35}}{\opaqueness<2->{50}}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{headline}{%
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=1.125ex]{palette primary}%
\insertsectionnavigationhorizontal{\paperwidth}{}{\hskip0pt plus1filll}
\end{beamercolorbox}%
}
}
\setbeamertemplate{footline}[page number]
\setbeamercovered{invisible}
\setbeamertemplate{navigation symbols}{}
\useoutertheme[footline=empty,subsection=false]{miniframes}
\begin{document}
\title{Multisource data analysis}
\author{Author name}
\institute{Biochemistry}
\date{\today}
\begin{frame}[plain]
\titlepage
\end{frame}
\section{Motivation}
\begin{frame} \frametitle {Production}
\begin{itemize}
\item<1-> Dynamic structures
\item<2-> Minor components
\item<3-> Proteins
\end{itemize}
\end{frame}
\end{document}
我已在第二帧中为子弹设置动画,但我获得了新的帧编号。我想取消该设置,并为所有动画项目设置帧编号 2。可以吗?
答案1
以下是根据以下内容创建的 MWE:使用暂停而不增加页码通过将框架编号放入页脚,就可以解决页码增加的问题。
\documentclass{beamer}
\usetheme{Warsaw}
\setbeamertemplate{navigation symbols}{}
\author{Authorname}
\date{\today}
\title{Biochemistry}
\setbeamertemplate{footline}[frame number]{}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\section{Motivation}
\begin{frame} \frametitle {Production}
\begin{itemize}
\item<1-> Dynamic structures
\item<2-> Minor components
\item<3-> Proteins
\end{itemize}
\end{frame}
\end{document}
我没有使用与 MWE 中所示相同的布局,但解决方案确实做了它应该做的事情: