
싱가포르 테마 헤더에 나타나는 글머리 기호에 문제가 있습니다. 이전에는 사용할 때 개요 페이지에 글머리 기호를 추가하지 않았습니다.
\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}