Beamer Lists – Animate Subitemize in Beamer

beameritemizelists

I know there is a way to 'animate' the enumerate in beamer using the following:

\begin{enumerate}
    \item<1-> Item 1;
    \item<2-> Item 2;
    \item<3-> Item 3;
    \item<4-> Item 4.
\end{enumerate}

However I wanted to 'animate' a subitem and display it's number, e.g., 1.x – 1.2. Is this possible? I want something like this:

\begin{enumerate}
    \item<1-> Item 1;
    \begin{enumerate}
        \item<1.1-> Item 1.1;
        \item<1.2-> Item 1.2.
    \end{enumerate}
    \item<2-> Item 2;
    \item<3-> Item 3;
    \item<4-> Item 4.
\end{enumerate}

Best Answer

If you just want to sequentially list all items in the list (including subitems), you don't have to manually specify each item. You can use the default overlay specification for the environment:

\begin{enumerate}[<default overlay specification>]
  %...
\end{enumerate}

Here is an example:

\documentclass{beamer}% http://ctan.org/pkg/beamer
\begin{document}
\begin{frame}
\begin{enumerate}[<+->]
    \item Item 1;
    \begin{enumerate}
        \item Item 1.1;
        \item Item 1.2.
    \end{enumerate}
    \item Item 2;
    \item Item 3;
    \item Item 4.
\end{enumerate}
\end{frame}
\end{document}

The <default overlay specification> is inherited by subenvironments. See the beamer documentation (section 12.1 Itemizations, Enumerations, and Description, p 111).

Related Question