1

In a previous question I asked about removing the \alert overlay from handout version of a beamer presentation. It turns out, that using \begin{itemize}[<+(1)-| alert@+(1)>] or from previous experiences <x | alert y> type of alert will not show in handout (meaning it will be shown, but without the colour of alert, so in default case, it will be shown in black instead of red), while using \alert<.>{text} outside of itemize will leave the "red alert" on the handout slide as well, and you have to add \alert<.|handout:0>{text} explicitly, to remove the red from the handout version. Can anybody tell me of the internals, why this is happening? For me, this behaviour means I will be writing |handout:0 into all my alerts outside itemize, which is not that big a bother, but still, I'd think it is usually an unwanted behaviour.

An mwe to check differences:

\documentclass[handout]{beamer}

\begin{document}

\begin{frame}
\frametitle{Sample side}
\framesubtitle{with a subtitle}

Start
\begin{itemize}[<+(1)-| alert@+(1)>]
\item  first item 
\vspace{1cm}
\item second item 
\vspace{1cm}
\item  third item
\end{itemize}
\pause
\alert<.(1)|handout:0>{alert}

\pause
\alert<.(1)>{alert2}
\end{frame}

\end{document}
2
  • Apart from knowing the answer for general interest... could someone propose a modified version of the \alert command that behaves like the itemize version (to avoid writing |handout:0 repeatedly)
    – Simon
    Feb 3, 2017 at 9:11
  • sorry, I somehow missed this
    – fbence
    Jul 21, 2017 at 21:33

1 Answer 1

3

Instead of trying to remove the alert, simply hide it by changing its colour in handout mode.

\documentclass[handout]{beamer}

\mode<handout>{
    \setbeamercolor{alerted text}{fg=black}
}

\begin{document}
\begin{frame}
\frametitle{Sample side}
\framesubtitle{with a subtitle}

Start
\begin{itemize}[<+(1)-| alert@+(1)>]
\item  first item 
\vspace{1cm}
\item second item 
\vspace{1cm}
\item  third item
\end{itemize}
\pause
\alert<.(1)|handout:0>{alert}

\pause
\alert<.(1)>{alert2}
\end{frame}

\end{document}

enter image description here

You must log in to answer this question.

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