
No código a seguir, uso \uncover<2->{\footnotetext[2]{footnote 2}}
para descobrir footnote 2
no segundo slide, junto com text 2
.
Porém, footnote 2
aparece no 1º slide (também no 2º slide).
Como corrigi-lo? (BWT, quero manter a \uncover
semântica; \only<2->{\footnotetext[2]{footnote 2}}
não é o que eu quero.)
\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}
Responder1
Editar: uma solução muito mais simples é não se preocupar e deixar o beamer fazer o trabalho:
\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}
Resposta original: Um pouco hacky, mas funciona:
\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}