![Beamer:仅显示页脚中的页码,而不显示框架页码(华沙主题)](https://linux22.com/image/456904/Beamer%EF%BC%9A%E4%BB%85%E6%98%BE%E7%A4%BA%E9%A1%B5%E8%84%9A%E4%B8%AD%E7%9A%84%E9%A1%B5%E7%A0%81%EF%BC%8C%E8%80%8C%E4%B8%8D%E6%98%BE%E7%A4%BA%E6%A1%86%E6%9E%B6%E9%A1%B5%E7%A0%81%EF%BC%88%E5%8D%8E%E6%B2%99%E4%B8%BB%E9%A2%98%EF%BC%89.png)
默认情况下,Beamer 中的 Warsaw 主题在页脚中显示作者姓名、演示文稿标题和页码。我怎样才能仅在页脚的右下角显示页码?
我当前的 LaTeX 代码如下所示:
\documentclass[compress]{beamer}
\usetheme{Warsaw}
\usepackage{mfirstuc}
\usepackage{setspace}
\usepackage[hang,footnotesize]{caption}
\usepackage[subrefformat=parens]{subcaption}
\captionsetup{compatibility=false}
\setbeamercolor{page number in head/foot}{fg=white}
\setbeamerfont{page number in head/foot}{size=\tiny}
\setbeamertemplate{page number in head/foot}[totalframenumber]
\title{Beamer title}
\author{Author name}
\begin{document}
\begin{frame}{Frame Title}
\end{frame}
\end{document}
我的当前输出如下所示:
但我想禁用“作者姓名”和“Beamer 标题”。
答案1
\documentclass{beamer}
\usetheme{Warsaw}
%\setbeamertemplate{page number in head/foot}[totalframenumber] % Removed
\setbeamertemplate{page number in head/foot}[framenumber] % Added
% https://tex.stackexchange.com/questions/58219
\title[]{Beamer title} % Modified (added empty optional argument [])
\author[]{Author name} % Modified (added empty optional argument [])
\begin{document}
\begin{frame}{Frame Title}
Test
\end{frame}
\end{document}
在此处找到Beamer 课堂上的幻灯片编号(华沙主题)beamer change page number Warsaw
在 Google 中搜索后。