기사+빔기사에는 피할 수 있는 몇 가지 조정이 필요합니다.

기사+빔기사에는 피할 수 있는 몇 가지 조정이 필요합니다.

beamer의 문서에는 다음과 같이 규정되어 있습니다 .

프리젠테이션의 기사 모드는 패키지 대신 article또는 book다른 클래스를 문서 클래스로 지정하고 로드하여 생성됩니다 .beamerbeamerarticle

패키지는 beamerarticle해당 모드에 적합한 방식으로 사실상 모든 비머 명령을 정의합니다 article.

따라서 .NET article파일 대신 .beamer\documentclass{article}\usepackage{beamerarticle}\documentclass{beamer}

그러나 불행히도 다음 예에서 알 수 있듯이 그렇지 않습니다.

% \documentclass{beamer}
\documentclass{article}\usepackage{beamerarticle}
%
\beamerdefaultoverlayspecification{<+->}
%
\begin{document}
\begin{frame}
  \begin{itemize}
  \item Foo
  \item Bar
  \end{itemize}
\end{frame}
\end{document}

정의되지 않았다고 불평합니다 \beamerdefaultoverlayspecification.

좋습니다. 이 명령은 모드에서만 사용할 수 있습니다 presentation.

\mode<presentation>{%
  \beamerdefaultoverlayspecification{<+->}%
}

\relax그런데 왜 그러한 명령이 by 로 재정의되지 않습니까 beamerarticle?

답변1

  • beamerarticle패키지가 필요합니다beamerbasearticle
  • beamerbasearticle패키지가 필요합니다beamerbaserequires
  • beamerbaserequires패키지가 필요합니다beamerbaseoverlay
  • 안에 beamerbaseoverlay:
    • \mode<presentation>온라인 259 로 변경됩니다.
    • \beamerdefaultoverlayspecification503행에 정의되어 있습니다.
    • \mode<all>843번 라인 으로 다시 변경됩니다.

그래서 내 추측으로는 \beamerdefaultoverlayspecification기사 모드에서 의도적으로 정의되지 않은 상태로 남아 있다는 것입니다.

답변2

현재 beamer관리자로서 저는 과거 설계 방식에 대해 추측하고 귀하에게 다음과 같이 질문할 수 있습니다.문제를 기록하다구체적인 변경을 요청합니다.

내 제안은 단일 '실제' 소스 파일에는 두 가지가 모두 포함되지 않는다는 생각에서 시작해야 한다는 것입니다.

\documentclass{beamer}

그리고

\usepackage{beamerarticle}

대신에 두 개의 스텁 파일을 예상할 수 있습니다. 하나는 다음과 같은 형식입니다.

\documentclass{beamer}
% Rest of preamble
\begin{document}
\input{document-body}
\end{document}

그리고 잠깐

\documentclass{article}
\usepackage{beamerarticle}
% Rest of preamble
\begin{document}
\input{document-body}
\end{document}

그 이유는 다음과 같습니다.콘텐츠똑같을 수도 있고,설정두 경우는 다소 다릅니다.

의 특정 경우에는 \beamerdefaultoverlayspecification이 명령이 기사(오버레이 없음)에서는 실제로 의미가 없고 프레젠테이션에서만 의미가 있습니다. 따라서 an에 대한 '실제' 서문에서 명령이 나올 것으로 예상되지 않으므로 article이를 정의할 필요가 없습니다.

beamer기사에 적용되지 않는 다른 여러 개념에 대해서도 동일한 내용을 찾을 수 있습니다 .

관련 정보