カバーされていない脚注が、Beamer プレゼンテーションで早すぎるタイミングで表示される

カバーされていない脚注が、Beamer プレゼンテーションで早すぎるタイミングで表示される

次のコードでは、とともに 2 番目のスライドで\uncover<2->{\footnotetext[2]{footnote 2}}発見するために を使用します。footnote 2text 2

ただし、footnote 21 枚目のスライド(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

編集: もっと簡単な解決策は、心配せずに Beamer に仕事を任せることです。

\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}

ここに画像の説明を入力してください

関連情報