简体   繁体   English

Latex Beamer - 使每个项目自动出现在新幻灯片上

[英]Latex Beamer - make each item appear on new slide automatically

I am looking for a way to produce a new slide for each \item in \itemize without having to use \pause or specifications in each \item for what slides to appear on.我正在寻找一种方法来为 \itemize 中的每个 \item 生成一张新幻灯片,而不必在每个 \item 中使用 \pause 或规范来显示幻灯片。 I think I came across some command once that I could place in the preamble to do exactly this but I don't remember.我想我曾经遇到过一些命令,我可以把它放在序言中来做到这一点,但我不记得了。 Does anyone have an idea?有人有想法吗?

\documentclass{beamer}

\beamerdefaultoverlayspecification{<+->}

\begin{document}

\begin{frame}
  \begin{itemize}
    \item test
    \item test
  \end{itemize}
\end{frame}
    
\end{document}

A minor addition to the accepted answer, you can toggle this behavior for each itemize environment.作为已接受答案的一个小补充,您可以为每个逐项环境切换此行为。

\documentclass{beamer}

\begin{document}

\begin{frame}
  \begin{itemize}[<+->]
    \item test
    \item test
  \end{itemize}
\end{frame}
    
\end{document}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM