2

I want to piecewise highlight the items of an itemsize and gray out previous items. For this task, i use the following code:

\documentclass{beamer}

\setbeamercovered{invisible}
\setbeamercovered{again covered={\opaqueness<1->{30}}}

\usepackage[english]{babel}

\begin{document}

\begin{frame}

\begin{itemize}[<+>]
\item A
\item B
\item C
\begin{itemize}
\item CA
\item CB
\end{itemize}
\end{itemize}

\end{frame}

\end{document}

Now the problem is that CA and CB are not properly grayed out. I want to them to gray out as if they were items of the parent itemize.

  • 1
    Welcome to TeX.se and thanks for posting a nice minimal example with your question! – Alan Munn Feb 20 '18 at 14:21
1

First Possibility:

\documentclass{beamer}

\setbeamercovered{invisible}
\setbeamercovered{again covered={\opaqueness<1->{30}}}

\usepackage[english]{babel}

\begin{document}

\begin{frame}

\begin{itemize}[<+>]
\item A
\item B
\item<.-> C
\begin{itemize}
\item CA
\item CB
\end{itemize}
\end{itemize}

\end{frame}

\end{document}

enter image description here


Second possibility:

\documentclass{beamer}

\setbeamercovered{invisible}
\setbeamercovered{again covered={\opaqueness<1->{30}}}

\begin{document}

\begin{frame}

\begin{itemize}[<+>]
\item A
\item B
\item C
\item<.->[]
\begin{itemize}
\item CA
\item CB
\end{itemize}
\end{itemize}

\end{frame}

\end{document}

enter image description here

  • Is it also possible to gray out C while CA and CB are displayed? – K. Sama Feb 20 '18 at 14:23
  • @K.Sama Please see my updated answer. – user36296 Feb 20 '18 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.