
シンガポールテーマのヘッダーに表示される箇条書きに問題があります。以前は、アウトラインページに箇条書きが追加されませんでした。
\AtBeginSection[]{
\begin{frame}{Outline}
\small \tableofcontents[currentsection, hideothersubsections]
\end{frame}
}
セクションを変更するたびに余分な箇条書きが追加されます...この問題を解決する方法を誰か知っていますか?
答え1
に基づくhttps://tex.stackexchange.com/a/45038/36296次のようにすることができます:
\documentclass[compress]{beamer}
\usetheme{Singapore}
\AtBeginSection[]{
\miniframesoff%
\begin{frame}
\frametitle{Outline}
\small \tableofcontents[currentsection, hideothersubsections]
\end{frame}
\miniframeson%
}
\makeatletter
\let\beamer@writeslidentry@miniframeson=\beamer@writeslidentry%
\def\beamer@writeslidentry@miniframesoff{%
\expandafter\beamer@ifempty\expandafter{\beamer@framestartpage}{}% does not happen normally
{%else
% removed \addtocontents commands
\clearpage\beamer@notesactions%
}
}
\newcommand*{\miniframeson}{\let\beamer@writeslidentry=\beamer@writeslidentry@miniframeson}
\newcommand*{\miniframesoff}{\let\beamer@writeslidentry=\beamer@writeslidentry@miniframesoff}
\makeatother
\begin{document}
\section{sd}
\begin{frame}
abc
\end{frame}
\end{document}