I'm making a presentation and want to insert a comment, like a pop up comment, which contains some equations in math style. For example:
\documentclass{beamer}
\usepackage{pdfcomment}
\begin{document}
go back to the last equation. \pdfcomment{$x^{2}+2x-1=0$ }
\end{document}
My problem is that the equation above doesn't appear in the math style $ x^{2}+2x-1=0.$
Is there another way to do this?