비머에서는 목록의 모든 항목에 대해 새 슬라이드를 만듭니다.

비머에서는 목록의 모든 항목에 대해 새 슬라이드를 만듭니다.

비머 클래스 문서에서 모든 항목이 프레임 상단의 자체 프레임에 표시되도록 열거 환경의 정의를 변경하고 싶습니다. 즉, 다음 코드를 원합니다

\documentclass{beamer}
% Code changing the definition of enumerate
\begin{document}

\begin{enumerate}
  \item First point
  \item Second point
\end{enumerate}

\end{document}

와 동일한 결과를 생성하려면

\documentclass{beamer}
\begin{document}

\begin{frame}
1) First point
\vspace*{\textheight} % moves the item at the top of the slide
\end{frame}

\begin{frame}
2) Second point
\vspace*{\textheight}
\end{frame}

\end{document}

1) First point두 번째 슬라이드에는 이 표시되는 것을 원하지 않습니다 .

enumerate가능하다면(케이크 위의 체리!) 이 재정의가 특정 환경(예: ) 내에서 사용될 때만 적용되기를 바랍니다 myenv.

답변1

<only@1>프레임의 첫 번째 슬라이드에만 특정 항목을 표시하는 데 사용할 수 있습니다 . 대신에 \vspace*{\textheight}. [t]프레임의 내용을 위쪽으로 정렬하려면 다음을 사용하세요 .

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

\documentclass{beamer}
\begin{document}

\begin{frame}[t]
\begin{enumerate}
 \item<only@1> First point
 \item<only@2> Second point
\end{enumerate}
\end{frame}

\end{document}

관련 정보