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

2
  • 1
    Please, take a look at tex.stackexchange.com/questions/84513/…
    – user13907
    Commented Aug 8, 2013 at 19:44
  • appears to be to complicated for a small job (overkill?). Is there a simpler way?
    – Vaibhav
    Commented Aug 8, 2013 at 19:53

1 Answer 1

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.

2
  • What exactly do you mean when you say 'overlay aware'? (Sorry if I'm not up-to-date on my beamer lingo.) Commented Aug 9, 2013 at 13:39
  • 1
    @SeanAllred that it admits overlay specifications, as in \Hltext<3->{text}. Commented Aug 9, 2013 at 13:49

You must log in to answer this question.

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