
これは私の質問の続きですここ。
すべてのスライドにフレーム番号と合計フレームを追加しましたが、タイトル ページとセクション ページでフレーム番号と合計フレーム番号の両方をスキップして削除したいと思います。どうすれば実現できますか?
よろしくお願いします。
これはMWEです
\documentclass{beamer}
\usetheme{Berkeley}
\AtBeginSection[]{
{
\hoffset=-.5\beamersidebarwidth
\begin{frame}[plain]
\vfill
\centering
\begin{beamercolorbox}
[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}\thesection. \insertsectionhead\par%
\end{beamercolorbox}
\vfill
\end{frame}
}
}
\setbeamertemplate{page number in head/foot}[totalframenumber]
\setbeamertemplate{navigation symbols}{\footnotesize\usebeamertemplate{page number in head/foot}}
\title{Title Title Title Title Title Title Title Title Title }
\author{Author Author}
\begin{document}
{
\hoffset=-.5\beamersidebarwidth
\begin{frame}[plain]
\maketitle
\end{frame}
}
\section{Section 1 Section 1 Section 1 Section 1 }
\begin{frame}{Frame 1}
Frame 1
\end{frame}
\section{Section 2}
\begin{frame}{Frame 2}
Frame 2
\end{frame}
\subsection{Section 3 Section 3 Section 3 Section 3}
\begin{frame}{Frame 3}
Frame 3
\end{frame}
\end{document}
答え1
noframenumbering
番号付け中に特定のフレームをスキップするには、フレームオプションを使用します。\setbeamertemplate{navigation symbols}{}
プレーンフレーム上のナビゲーションシンボル(または特定のケースではフレーム番号)を削除するには、次のようにします。すべてのプレーンフレームに対して自動ソリューションを希望する場合は、https://topanswers.xyz/tex?q=2047#a2293
\documentclass{beamer}
\usetheme{Berkeley}
\AtBeginSection[]{
{
\hoffset=-.5\beamersidebarwidth
\setbeamertemplate{navigation symbols}{}
\begin{frame}[plain,noframenumbering]
\vfill
\centering
\begin{beamercolorbox}
[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}\thesection. \insertsectionhead\par%
\end{beamercolorbox}
\vfill
\end{frame}
}
}
\setbeamertemplate{page number in head/foot}[totalframenumber]
\setbeamertemplate{navigation symbols}{\footnotesize\usebeamertemplate{page number in head/foot}}
\title{Title Title Title Title Title Title Title Title Title }
\author{Author Author}
\begin{document}
{
\hoffset=-.5\beamersidebarwidth
\setbeamertemplate{navigation symbols}{}
\begin{frame}[plain,noframenumbering]
\maketitle
\end{frame}
}
\section{Section 1 Section 1 Section 1 Section 1 }
\begin{frame}{Frame 1}
Frame 1
\end{frame}
\section{Section 2}
\begin{frame}{Frame 2}
Frame 2
\end{frame}
\subsection{Section 3 Section 3 Section 3 Section 3}
\begin{frame}{Frame 3}
Frame 3
\end{frame}
\end{document}