答案1
要删除部分名称和编号,最干净的解决方案是重新定义部分页面模板:
\documentclass{beamer}
\usetheme{Madrid}
\AtBeginSection{
\frame{\sectionpage}
}
\makeatletter
\setbeamertemplate{section page}
{
\begingroup
\centering
% {\usebeamerfont{section name}\usebeamercolor[fg]{section name}\sectionname~\insertsectionnumber}
\vskip1em\par
\begin{beamercolorbox}[sep=12pt,center,colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow]{section title}
\usebeamerfont{section title}\insertsection\par
\end{beamercolorbox}
\endgroup
}
\makeatother
\begin{document}
\section{title}
\begin{frame}
\frametitle{fr}
abc
\end{frame}
\end{document}
隐藏部分名称和编号的快速方法是简单地将其编号更改为与背景相同的颜色:
\documentclass{beamer}
\usetheme{Madrid}
\setbeamercolor{section name}{fg=white}
\AtBeginSection{
\frame{\sectionpage}
}
\begin{document}
\section{title}
\begin{frame}
\frametitle{fr}
abc
\end{frame}
\end{document}