我不喜欢显示导航栏,所以我添加了\beamertemplatenavigationsymbolsempty
删除它的功能,但它也删除了页码。这就是我将页码添加到导航栏的方法。
\addtobeamertemplate{navigation symbols}{}{%
\usebeamerfont{footline}%
\usebeamercolor[fg]{footline}%
\hspace{1em}%
\insertframenumber/\inserttotalframenumber
}
\setbeamercolor{footline}{fg=black}
\setbeamerfont{footline}{series=\bfseries}
有没有办法删除导航栏但保留框架编号?
谢谢
答案1
\documentclass{beamer}
\setbeamertemplate{navigation symbols}{%
\usebeamerfont{footline}%
\usebeamercolor[fg]{footline}%
\hspace{1em}%
\insertframenumber/\inserttotalframenumber
}
\setbeamercolor{footline}{fg=black}
\setbeamerfont{footline}{series=\bfseries}
\begin{document}
\begin{frame}
abc
\end{frame}
\end{document}