删除子部分幻灯片上的编号
我正在准备论文防御幻灯片,无法从幻灯片中删除显示小节名称的幻灯片(幻灯片5和7)。 我试图修改我正在使用的大都市模板,但没有成功。 有没有人知道该怎么做?
非常感谢您的帮助!
\documentclass{beamer}
\usetheme[progressbar=frametitle, sectionpage=progressbar, subsectionpage=progressbar, block=fill]{metropolis}
\setbeamertemplate{footline}{}
\setbeamertemplate{navigation symbols}{%
\ifnum\insertframenumber>0
\normalsize\insertframenumber%
\fi%
}
\title{Title}
\subtitle{Sub-title}
\date{\today}
\author{author}
\institute{institute}
\AtBeginSection[]
{
\setbeamertemplate{navigation symbols}{}
\frame[plain,c,noframenumbering]{
\sectionpage
\tableofcontents[currentsection,subsectionstyle=hide]}
\setbeamertemplate{navigation symbols}{\normalsize\insertframenumber}
}
\makeatletter
\setbeamertemplate{section in toc}[sections numbered]
\setbeamertemplate{subsection in toc}[subsections numbered]
\makeatother
\begin{document}
\maketitle
\section{First section}
\begin{frame}
Content
\end{frame}
\section{Second section}
\subsection{First sub section}
\begin{frame}
Content
\end{frame}
\subsection{Second sub section}
\begin{frame}
Content
\end{frame}
\section{Third section}
\end{document}
I am preparing my thesis defense slides and I can't remove the numbering from the slide that displays the name of the sub-section (slide 5 and 7).
I have tried to modify the metropolis template I am using, but without success.
Is there anyone who knows how to do this?
Thank you very much for your help!
\documentclass{beamer}
\usetheme[progressbar=frametitle, sectionpage=progressbar, subsectionpage=progressbar, block=fill]{metropolis}
\setbeamertemplate{footline}{}
\setbeamertemplate{navigation symbols}{%
\ifnum\insertframenumber>0
\normalsize\insertframenumber%
\fi%
}
\title{Title}
\subtitle{Sub-title}
\date{\today}
\author{author}
\institute{institute}
\AtBeginSection[]
{
\setbeamertemplate{navigation symbols}{}
\frame[plain,c,noframenumbering]{
\sectionpage
\tableofcontents[currentsection,subsectionstyle=hide]}
\setbeamertemplate{navigation symbols}{\normalsize\insertframenumber}
}
\makeatletter
\setbeamertemplate{section in toc}[sections numbered]
\setbeamertemplate{subsection in toc}[subsections numbered]
\makeatother
\begin{document}
\maketitle
\section{First section}
\begin{frame}
Content
\end{frame}
\section{Second section}
\subsection{First sub section}
\begin{frame}
Content
\end{frame}
\subsection{Second sub section}
\begin{frame}
Content
\end{frame}
\section{Third section}
\end{document}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有趣的巧合,我几个小时前在 htttps:htttps:htttps:htttps:// topanswers。 xyz/tex?q = 2047#A2293
Funny coincidence, I just answered basically the same problem a couple of hours ago at https://topanswers.xyz/tex?q=2047#a2293