[Tex/LaTex] Highlight parts of a text piecewise in beamer

beamerhighlighting

I'm about to write a presentation with beamer and want to show a complete sentence first. After that I'd like to highlight one or more words in that sentence to explain them.

My current approach is to use \onslide*. However this is quite some manual work and I'd like to know if there is some better solution for this. Could I reveal or highlight those words in another/better way?

\documentclass{beamer}
\begin{document}
\begin{frame}
  \frametitle{Title}
  \onslide*<1>{This is an example sentence.}
  \onslide*<2>{This is an \textcolor{red}{example} sentence.}
\end{frame}
\end{document}

Best Answer

As an alternative to the \textcolor from campas comment, you could also use \alert to highlight things.

\documentclass{beamer}
\begin{document}
\begin{frame}
  \frametitle{Title}
  This is an \alert<+(1)>{example} sentence.
\end{frame}
\end{document}