1

To uncover all itemize environments in a presentation created with Beamer stepwise, I thought of redefining the itemize environment in the following way:

\documentclass{beamer}
\renewenvironment{itemize}{\begin{itemize}[<+->]}{\end{itemize}}
\begin{document}
\begin{frame}{Test}
  \begin{itemize}
    \item A
    \item B
  \end{itemize}
\end{frame}
\end{document}

This gives me the error message TeX capacity exceeded, sorry, which leaves me a bit clueless about how I might fix the problem.

Any other solution for uncovering itemize environments stepwise by default would be equally fine for me.

2
  • 1
    if you do \renewcommand\abc{\abc something} then any use of \abc will recurse infinitely until tex stops with a memory overflow error Jul 4, 2023 at 10:25
  • Thanks for pointing out the root of the problem and making me learn something new about TeX. Jul 4, 2023 at 11:02

1 Answer 1

2

enter image description here

You can set the default overlay specification like this:

\documentclass{beamer}

\beamerdefaultoverlayspecification{<+->}

\begin{document}
\begin{frame}{Test}
  \begin{itemize}
    \item A
    \item B
  \end{itemize}
\end{frame}
\end{document}

enter image description here

3

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .