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?




alertchanges the text color, but I want too highlight it like a marker does. I have edited the question to show what exactly I want – ShJ Nov 19 '18 at 14:47soul's\hldoes not work in your case, most of those answers will also not work, for they rely onsoul. – gusbrs Nov 19 '18 at 15:10