
다음 코드에서는 두 번째 슬라이드 \uncover<2->{\footnotetext[2]{footnote 2}}
에서 .footnote 2
text 2
그러나 footnote 2
첫 번째 슬라이드에는 나타납니다(두 번째 슬라이드에도 나타남).
어떻게 고치나요? (BWT, 나는 의미론을 유지하고 싶습니다 \uncover
. \only<2->{\footnotetext[2]{footnote 2}}
내가 원하는 것은 아닙니다.)
\documentclass[beamer]{standalone}
\begin{document}
\begin{frame}{Footnote Overlay Tested}
text 1~\footnotemark[1]
\uncover<2->{text 2~\footnotemark[2]}
\footnotetext[1]{footnote 1}
\uncover<2->{\footnotetext[2]{footnote 2}}
\end{frame}
\end{document}
답변1
편집: 훨씬 간단한 해결책은 걱정하지 말고 비머가 작업을 수행하도록 하는 것입니다.
\documentclass[beamer]{standalone}
\begin{document}
\begin{frame}{Footnote Overlay Tested}
text 1\footnote{footnote 1}
\uncover<2->{text 2~\footnote<2->{footnote 2}}
\end{frame}
\end{document}
원래 답변: 약간 해킹적이지만 작업을 수행합니다.
\documentclass{beamer}
\begin{document}
\begin{frame}{Footnote Overlay Tested}
text 1~\footnotemark[1]
\uncover<2->{text 2~\footnotemark[2]}
\footnotetext[1]{footnote 1}
\alt<1>{\let\thefootnote\relax\footnotetext{~}}{\footnotetext[2]{footnote 2}}
\end{frame}
\end{document}