# How to overlay a call-out box on text? [duplicate]

I wish to achieve following. There may be many variant of this.

## marked as duplicate by AlexG, Jesse, Claudio Fiandrino, Guido, user13907 Aug 28 '14 at 12:24

If PDF annotations are okay for you:

\documentclass{article}
\usepackage{pdfcomment}
\newcommand*\callout[2]%
{%
\pdfmarkupcomment[color={ 0.3 0.3 0.3 },opacity=0]{\textbf{#1}}{#2}%
}%
\begin{document}
\callout{If}{If shows the cause ...} it can be detected ...
\end{document}