I am using the overpic package to edit a pre-created pdf by writing notes in between the lines using \put(){$$} for each line.
Im having difficulty however using the soul package and \hl to highlight the existing writing of pdf as it highlights it in the foreground.
Is there a way to highlight the existing writing on the pdf in the background and maintain the original writing thus highlighting it?
\documentclass[11pt,a4paper]{article}
\usepackage{overpic}
\usepackage{eso-pic}
\usepackage{soul}
\begin{document}
\begin{figure}
\vspace*{-28ex}
\hspace*{-30ex}
\begin{overpic}[width=9in,page=14]{file.pdf/jpg %%}
\put(20,29){}%using the number 10,20 puts writing over the highlight below%%i need the number to be the same so where would I incorporate my vspace and hspace and textwidth for the sHIPOUT%
\AddToShipoutPictureBG*{
\put(30,115){\hl{\qquad\qquad\qquad% using \qquad to make a space for what is supposed to be highlighted%}}}
\end{overpic}
\end{figure}
\clearpage
\begin{figure}
\vspace*{-28ex}
\hspace*{-30ex}
\begin{overpic}[width=9in,page=15]{file.pdf/jpg %%}
\end{overspace}
\end{figure}
\end{document}
mY question is how do I get the Background to line up the same as any other \put within the overpic? Ive tried vspace and hspace separately on the shipout but doesnt seem to work, also how do i get it to go on just one page?
$are not needed. You're reversing the order of the\endcommands. – egreg Sep 8 '11 at 17:38\end{overpic}\end{figure}, not the other way around. – egreg Sep 8 '11 at 17:49