I am using beamer in Latex to make a presentation. I use a block for definition like:
\begin{block}{P1}
\justifying
Some text here
\end{block}
Let us say I wish to highlight a word "Some". By highlight, I mean something like which is performed by \hl{text}
. However, hl
does not work in a block in latex. So what should I do, if I want to highlight text in block in beamer.
I don't want to change the color of text but I want to highlight it as shown in attached image. alert
changes the text color. hl
does not work in a block. So how should I do it?
alert
changes the text color, but I want too highlight it like a marker does. I have edited the question to show what exactly I wantsoul
's\hl
does not work in your case, most of those answers will also not work, for they rely onsoul
.