2

The LaTeX Beamer class offers a transparent overlay (\setbeamercovered{transparent}) which makes the following items a bit transparent. The items that were already shown stay at full opacity. In order to focus the listener's attention on the current item, I would prefer to have both the following and the already discussed items made transparent and only the current point displayed with full opacity.


Slide 1

- Foo
- Bar (opacity: 0.5)
- Ham (opacity: 0.5)
- Eggs (opacity: 0.5)

Slide 2

- Foo (opacity: 0.5)
- Bar
- Ham (opacity: 0.5)
- Eggs (opacity: 0.5)

Slide 3

- Foo (opacity: 0.5)
- Bar (opacity: 0.5)
- Ham
- Eggs (opacity: 0.5)

Slide 4

- Foo (opacity: 0.5)
- Bar (opacity: 0.5)
- Ham (opacity: 0.5)
- Eggs

How could I achieve this?

2

You can highlight the current item only with [<+>]:

\documentclass{beamer}

\setbeamercovered{transparent}

\begin{document}

\begin{frame}
\begin{itemize}[<+>]
\item Duck
\item Marmot
\item Sloth
\item Bear
\end{itemize}
\end{frame}


\end{document}

enter image description here


And a little experiment just for fun:

\documentclass{beamer}

\setbeamercovered{transparent}
\usepackage{tikzducks,tikzlings}

\begin{document}

\begin{frame}
\begin{itemize}[<+>]
\item \alt<.>{\tikz[scale=0.2]{\duck}}{Duck}
\item \alt<.>{\tikz[scale=0.2]{\marmot}}{Marmot}
\item \alt<.>{\tikz[scale=0.2]{\sloth}}{Sloth}
\item \alt<.>{\tikz[scale=0.2]{\bear}}{Bear}
\end{itemize}
\end{frame}


\end{document}

enter image description here

  • Ha Ha the Dr. Zeus eggs and ham changed before my eyes into ducks and marmots – user170109 Mar 19 '19 at 12:11
  • 1
    :) shall I replace the marmot with the tikzpig, so that eggs and ham transform to duck and pig? – samcarter is at topanswers.xyz Mar 19 '19 at 12:20
  • :-) I was intrigued if you can over write a word with an include \tikzling at the time of itemize ? – user170109 Mar 19 '19 at 12:22
  • something like you did here tex.stackexchange.com/questions/424011/… – user170109 Mar 19 '19 at 12:40
  • @KJO That's just proof of concept, I'm sure this can be further automated :) – samcarter is at topanswers.xyz Mar 19 '19 at 12:42

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.