비머: 각주 규칙을 나중에 표시하는 방법(일시 중지)

비머: 각주 규칙을 나중에 표시하는 방법(일시 중지)

beamer기능 과 함께 각주를 사용하고 있습니다 pause. 기본적으로 각주는 슬라이드가 생성되는 즉시 나타납니다. 이 <m-n>기능을 사용하면 정확한 시간(즉, 각주가 표시된 문장이 나타날 때)에 표시되도록 할 수 있습니다.

그러나, 그각주 규칙슬라이드가 생성되자마자 계속 나타납니다. 나는 첫 번째 각주가 나타날 때 정확히 나타나는 것을 선호합니다.

여기 MWE가 있습니다. 각주 규칙이 첫 번째 슬라이드에 어떻게 표시되는지 확인하고 슬라이드 3에는 표시하고 싶습니다. 자동 솔루션이 이상적이지만 필요한 경우 수동으로 수행할 수 있습니다.

\documentclass{beamer}

\begin{document}

\begin{frame}
    \begin{itemize}
        \pause\item This sentence has no footnote
        \pause\item This sentence has the first footnote.\footnote<3->{hi there} The footnote rule should appear now.
        \pause\item Here's another footnote\footnote<4->{This is a footnote}
    \end{itemize}
\end{frame}

\end{document}

답변1

\footnoterule지정한 슬라이드에만 선이 표시되도록 재정의할 수 있습니다 . 아래 예에서는 다른 슬라이드 의 정의에 영향을 주지 않도록 이 부분을 \bgroup- 쌍 안에 넣었습니다.\egroup\footnoterule

\documentclass{beamer}

\begin{document}

\bgroup
\let\oldfootnoterule\footnoterule
\def\footnoterule{\only<3->\oldfootnoterule}
\begin{frame}
    \begin{itemize}
        \pause\item This sentence has no footnote
        \pause\item This sentence has the first footnote.\footnote<3->{hi there} The footnote rule should appear now.
        \pause\item Here's another footnote\footnote<4->{This is a footnote}
    \end{itemize}
\end{frame}
\egroup

\end{document}

여기에 이미지 설명을 입력하세요

관련 정보