3

How can I mark any desired item/statement in red circle/ oval mark as shown in this slide. Can it be animated too?

enter image description here

Vaibhav
  • 6,625
  • 15
  • 49
  • 76
  • 1
    Please, take a look at http://tex.stackexchange.com/questions/84513/highlighting-in-beamer-using-tikz-nodes?rq=1 –  Aug 08 '13 at 19:44
  • appears to be to complicated for a small job (overkill?). Is there a simpler way? – Vaibhav Aug 08 '13 at 19:53

1 Answers1

6

One simple possibility is to use the tcolorbox package:

\documentclass{beamer}
\usetheme{CambridgeUS}
\useoutertheme{sidebar}
\usepackage[most]{tcolorbox}

\tcbset{
mytext/.style={
  top=0pt,bottom=0pt,left=0pt,right=0pt,colback=gray!10,colframe=structure}
}
\newcommand<>\HLtext[2][]{%
  \hspace*{-4pt}\tcbhighmath[mytext,#1]{\text{#2}}}

\begin{document}

\begin{frame}
\frametitle{Consensus to define FD symptoms}
\begin{itemize}[<+->]
\item Epigastric discomfort or pain.
\item \HLtext{Postprandial heaviness.}
\item Early satiety.
\end{itemize}
\end{frame}

\end{document}

enter image description here

\HLtext is overlay aware.

Gonzalo Medina
  • 505,128