2

I am using MikTex 2.9. I would like my text to be highlighted and I would like a comment to it. But my MWE below doesnot work.PLease help

\documentclass{report}
\usepackage{graphicx}
\usepackage[a3paper,landscape]{geometry}
\usepackage{lastpage}
\usepackage{hyperref,bookmark}
\usepackage[author={Max Schlepzig}]{pdfcomment}
\usepackage[rgb]{xcolor}

\begin{document}

\pdfmarkupcomment[markup=Highlight,color=yellow]{This highlighted Text Has Tool Tip With Hyperlink.}{Highlight}

\end{document}

Output of above code is just plain text enter image description here

4

Load lastpage after pdfcomment.

\documentclass{report}
\usepackage{graphicx}
\usepackage[a3paper,landscape]{geometry}
\usepackage[author={Max Schlezpig}]{pdfcomment}
\usepackage[rgb]{xcolor}
\usepackage{lastpage}% 
\usepackage{hyperref,bookmark}

\begin{document}

\pdfmarkupcomment[markup=Highlight,color=yellow]{This highlighted Text Has Tool Tip With Hyperlink.}{Highlight}

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.